]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSReconstructor.h
Data member initialization is added for copy constructor
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructor.h
index 28cec7dd9452ce78cb62b41352d89cb6faa6244e..b239d83bdda896e77ad01575481dc47d022c8ff5 100644 (file)
@@ -51,6 +51,7 @@
 #include "AliPHOSRecoParamCpv.h"
 class AliPHOSDigitizer ;
 class AliPHOSClusterizer ;
+class AliPHOSClusterizerv1 ;
 class AliPHOSTrackSegmentMaker ;
 class AliPHOSPID ;
 class AliPHOSSDigitizer ;
@@ -70,7 +71,10 @@ public:
   AliPHOSReconstructor() ; //ctor            
   AliPHOSReconstructor(const AliPHOSReconstructor & rec) :
     AliReconstructor(rec),
-    fGeom(rec.fGeom)
+    fGeom(rec.fGeom),
+    fClusterizer(rec.fClusterizer),
+    fTSM(rec.fTSM),
+    fPID(rec.fPID)
     {
     // cpy ctor: 
     // requested by the Coding Convention
@@ -97,8 +101,8 @@ public:
     return *this ; 
   }
   
-  void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;}
-  void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;}
+  static void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;}
+  static void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;}
 
   static const AliPHOSRecoParam* GetRecoParamEmc(){ 
     if (!fgkRecoParamEmc) {
@@ -118,11 +122,16 @@ public:
 private:
   
   static Bool_t fgDebug ; //! verbosity controller
-  static AliPHOSRecoParam *fgkRecoParamEmc; // reconstruction parameters for EMC
-  static AliPHOSRecoParam *fgkRecoParamCpv; // reconstruction parameters for EMC
-  AliPHOSGeometry         *fGeom;           // pointer to the PHOS geometry
-
-  ClassDef(AliPHOSReconstructor,4)  // PHOS Reconstruction class
+  static AliPHOSRecoParam  *fgkRecoParamEmc; // reconstruction parameters for EMC
+  static AliPHOSRecoParam  *fgkRecoParamCpv; // reconstruction parameters for EMC
+  AliPHOSGeometry          *fGeom;           // pointer to the PHOS geometry
+  AliPHOSClusterizerv1     *fClusterizer;    //! PHOS clusterizer
+  AliPHOSTrackSegmentMaker *fTSM;            //! PHOS TrackSegmentMaker
+  AliPHOSPID               *fPID;            //! PHOS PID maker
+  static TClonesArray      *fgDigitsArray;   //! Array of PHOS digits
+  static TObjArray         *fgEMCRecPoints;  //! Array of EMC rec.points
+
+  ClassDef(AliPHOSReconstructor,7)  // PHOS Reconstruction class
 
 };