class AliPHOSTrackSegmentMaker ;
class AliPHOSPID ;
class AliPHOSSDigitizer ;
+class AliESD ;
// --- Standard library ---
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 ;
}
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)