]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSReconstructioner.h
updating
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructioner.h
index 11b6a7eb323ec3e070f60a1d5f3a9bf07a3aa56e..17bf961cea4673470d497a2c229949ae621e527d 100644 (file)
@@ -11,8 +11,6 @@
 //*-- Author: Gines Martinez & Yves Schutz (SUBATECH) 
 //*--         Dmitri Peressounko (SUBATECH & Kurchatov Institute)
 
-  //#include <stdlib.h>
-
 // --- ROOT system ---
 
 #include "TTask.h"
@@ -32,7 +30,7 @@ class AliPHOSReconstructioner : public TTask {
 public:
 
   AliPHOSReconstructioner() ; //ctor            
-  AliPHOSReconstructioner(const char * headreFile, const char * branchName = "Default");
+  AliPHOSReconstructioner(const char * headerFile, const char * branchName = "Default");
   AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) : TTask(rec) {
     // cpy ctor: 
     // requested by the Coding Convention
@@ -44,20 +42,12 @@ public:
   virtual void Exec(Option_t *) ;
   void Clusters2Tracks(Int_t ievent, AliESD *event);
 
-  AliPHOSDigitizer         * GetDigitizer()  const { return fDigitizer   ; }
   AliPHOSClusterizer       * GetClusterizer()const { return fClusterizer ; }
   AliPHOSPID               * GetPID()        const { return fPID;          }
   AliPHOSTrackSegmentMaker * GetTSMaker()    const { return fTSMaker ;     }
-  AliPHOSSDigitizer        * GetSDigitizer() const { return fSDigitizer  ; }
+  void SetEventRange(Int_t first=0, Int_t last=-1) ; 
 
   void Print()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 = "Default") ;
-  //            // From wich step reconstruction begins, 
-  //            // title to be set to all reconstructed branches
 
   AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & /*rvalue*/)  {
     // assignement operator requested by coding convention but not needed
@@ -71,20 +61,17 @@ private:
 
 private:
   
-  TString  fDigitsBranch ;      // Title of digits branch
   TString  fRecPointBranch ;    // Title of RecPoints branch   
   TString  fTSBranch  ;         // Title of TrackSegments branch
   TString  fRecPartBranch ;     // Title of RecParticles branch 
-  TString  fSDigitsBranch ;     // Title of SDigits branch      
 
 
-  AliPHOSDigitizer         * fDigitizer ;   //! Pointer to AliPHOSDigitizer
   AliPHOSClusterizer       * fClusterizer ; //! Pointer to AliPHOSClusterizer
   AliPHOSPID               * fPID ;         //! Pointer to AliPHOSPID
   AliPHOSTrackSegmentMaker * fTSMaker ;     //! Pointer to AliPHOSTrackSegmentMaker
-  AliPHOSSDigitizer        * fSDigitizer ;  //! Pointer to AliPHOSSDigitizer
-
-  Bool_t   fIsInitialized ; // kTRUE if reconstructioner is initialized
+  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)