]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSAnalyze.h
new naming of the AliPHOS versions
[u/mrichter/AliRoot.git] / PHOS / AliPHOSAnalyze.h
index 2d4e9cd29334fc9f35ef9d24aed01a15ceee2b9d..5f874b0d5262f1dd59df83265194663ef3fc8ab6 100644 (file)
@@ -6,7 +6,7 @@
 /* $Id$ */
 
 //_________________________________________________________________________
-//  Algorithm class to analyze PHOSv0 events    
+//  Algorithm class to analyze PHOSv1 events    
 //*-- Author : Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
@@ -19,7 +19,7 @@
 
 // --- AliRoot header files ---
 
-#include "AliPHOSv0.h"
+#include "AliPHOSv1.h"
 #include "AliPHOSGeometry.h"
 #include "AliPHOSPID.h"
 #include "AliPHOSIndexToObject.h"
@@ -30,11 +30,13 @@ public:
 
   AliPHOSAnalyze() ;              // ctor
   AliPHOSAnalyze(Text_t * name) ; // ctor
+  AliPHOSAnalyze(const AliPHOSAnalyze & ana) ; // cpy ctor                   
   virtual ~AliPHOSAnalyze() ;     // dtor
 
   void AnalyzeOneEvent(Int_t evt = -999) ;  // analyzes a single event ;
   void AnalyzeManyEvents(Int_t Nevtents = 100, Int_t Module=0) ;  // analyzes many events   ;
   void BookingHistograms() ;                // booking histograms for the ManyEvent analysis ;
+  void Copy(TObject & obj) ;                // copies an analysis into an other one   
   Bool_t Init(Int_t evt) ;                  // does various initialisations
   void DisplayKineEvent(Int_t evt = -999) ; // displays the Kine events in ALICE coordinate 
   void DisplayRecParticles() ;              // displays RecParticles in ALICE coordinate  
@@ -42,14 +44,21 @@ public:
   void DisplayTrackSegments() ;             // displays TrackSegments in module coordinate  
   Bool_t OpenRootFile(Text_t * name) ;      // opens the root file
   void SavingHistograms() ;                 // Save histograms in a root file
+
+  AliPHOSAnalyze & operator = (const AliPHOSAnalyze & rvalue)  {
+    // assignement operator requested by coding convention
+    // but not needed
+    assert(0==1) ;
+    return *this ; 
+  }
  
-private:
+ private:
   
   AliPHOSClusterizer * fClu ;         // a clusterizer 
   Int_t fEvt ;                        // the evt number being processed 
   AliPHOSGeometry * fGeom ;           // the PHOS Geometry object
   AliPHOSIndexToObject * fObjGetter ; // provides methods to retrieve objects from their index in a list
-  AliPHOSv0 * fPHOS ;                 // the PHOS object from the root file 
+  AliPHOSv1 * fPHOS ;                 // the PHOS object from the root file 
   AliPHOSPID * fPID ;                 // a particle identifier
   AliPHOSReconstructioner * fRec ;    // a reconstructioner  
   TFile * fRootFile ;                 // the root file that contains the data
@@ -81,7 +90,7 @@ private:
   TH1F * fhPhotonHadronPositionY ;  // Y distribution of detected Photon-Hadron
 
 
-ClassDef(AliPHOSAnalyze,1)  // PHOSv0 event analyzis algorithm
+ClassDef(AliPHOSAnalyze,1)  // PHOSv1 event analyzis algorithm
 
 };