]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSReconstructioner.h
Added information in Info
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructioner.h
index e04e485974fbcdc03c61b8cab11da52b3041b39f..17bf961cea4673470d497a2c229949ae621e527d 100644 (file)
@@ -19,6 +19,7 @@ class AliPHOSClusterizer ;
 class AliPHOSTrackSegmentMaker ;
 class AliPHOSPID ;
 class AliPHOSSDigitizer ;
+class AliESD ;
 
 // --- Standard library ---
 
@@ -29,35 +30,28 @@ class AliPHOSReconstructioner : public TTask {
 public:
 
   AliPHOSReconstructioner() ; //ctor            
-  AliPHOSReconstructioner(const char * headreFile) ;
-  AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) {
+  AliPHOSReconstructioner(const char * headerFile, const char * branchName = "Default");
+  AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) : TTask(rec) {
     // cpy ctor: 
     // requested by the Coding Convention
-    abort() ; 
+    Fatal("cpy ctor", "not implemented") ;
   }
    
   virtual ~AliPHOSReconstructioner() ;
 
-  virtual void Exec(Option_t * option) ;
+  virtual void Exec(Option_t *) ;
+  void Clusters2Tracks(Int_t ievent, AliESD *event);
 
-  AliPHOSDigitizer         * GetDigitizer()  { return fDigitizer   ; }
-  AliPHOSClusterizer       * GetClusterizer(){ return fClusterizer ; }
-  AliPHOSPID               * GetPID()        { return fPID;          }
-  AliPHOSTrackSegmentMaker * GetTSMaker()    { return fTSMaker ;     }
-  AliPHOSSDigitizer        * GetSDigitizer() { return fSDigitizer  ; }
+  AliPHOSClusterizer       * GetClusterizer()const { return fClusterizer ; }
+  AliPHOSPID               * GetPID()        const { return fPID;          }
+  AliPHOSTrackSegmentMaker * GetTSMaker()    const { return fTSMaker ;     }
+  void SetEventRange(Int_t first=0, Int_t last=-1) ; 
 
-  void Print(Option_t * option)const ;
-  
-  void SetBranchTitle(const char* branch,const char * title) ;
-            // Sets the branch titles to separate different reconstruction flows 
-
-  void StartFrom(char * module = "SDigitizer",char * title = 0) ;
-            // From wich step reconstruction begins, 
-            // title to be set to all reconstructed branches
+  void Print()const ;
 
-  AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & rvalue)  {
+  AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & /*rvalue*/)  {
     // assignement operator requested by coding convention but not needed
-    abort() ;
+    Fatal("operator =", "not implemented") ;
     return *this ; 
   }
   
@@ -67,21 +61,17 @@ private:
 
 private:
   
-  TString  fHeaderFileName ;    // File with headers and gAlice
-  TString  fDigitsBranch ;      // Title of digits branch
-  TString  fRecPointBranch ;    // -"-      RecPoints     -"-
-  TString  fTSBranch  ;         // -"-      TrackSegments -"-
-  TString  fRecPartBranch ;     // -"-      RecParticles  -"-
-  TString  fSDigitsBranch ;     // -"-      SDigits       -"-
-
+  TString  fRecPointBranch ;    // Title of RecPoints branch   
+  TString  fTSBranch  ;         // Title of TrackSegments branch
+  TString  fRecPartBranch ;     // Title of RecParticles branch 
 
-  AliPHOSDigitizer         * fDigitizer ;
-  AliPHOSClusterizer       * fClusterizer ;
-  AliPHOSPID               * fPID ;
-  AliPHOSTrackSegmentMaker * fTSMaker ;
-  AliPHOSSDigitizer        * fSDigitizer ;
 
-  Bool_t   fIsInitialized ;
+  AliPHOSClusterizer       * fClusterizer ; //! Pointer to AliPHOSClusterizer
+  AliPHOSPID               * fPID ;         //! Pointer to AliPHOSPID
+  AliPHOSTrackSegmentMaker * fTSMaker ;     //! Pointer to AliPHOSTrackSegmentMaker
+  Bool_t  fIsInitialized ; // kTRUE if reconstructioner is initialized
+  Int_t   fFirstEvent;        // first event to process
+  Int_t   fLastEvent;         // last  event to process
  
   ClassDef(AliPHOSReconstructioner,1)  // Reconstruction algorithm class (Base Class)