X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSReconstructioner.h;h=32e7178155c526ef40d3bc94758a60409800075f;hb=b57faa636cf538ed388cb4329f6f1150c5e86764;hp=e04e485974fbcdc03c61b8cab11da52b3041b39f;hpb=9a6ec61a7be44e6c6fb74cf7ebd0f3199c7b42de;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSReconstructioner.h b/PHOS/AliPHOSReconstructioner.h index e04e485974f..32e7178155c 100644 --- a/PHOS/AliPHOSReconstructioner.h +++ b/PHOS/AliPHOSReconstructioner.h @@ -11,6 +11,8 @@ //*-- Author: Gines Martinez & Yves Schutz (SUBATECH) //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute) +#include + // --- ROOT system --- #include "TTask.h" @@ -29,35 +31,35 @@ class AliPHOSReconstructioner : public TTask { public: AliPHOSReconstructioner() ; //ctor - AliPHOSReconstructioner(const char * headreFile) ; + AliPHOSReconstructioner(const char * headreFile, const char * branchName = "Default",Bool_t toSplit = kFALSE) ; AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) { // cpy ctor: // requested by the Coding Convention - abort() ; + Fatal("cpy ctor", "not implemented") ; } virtual ~AliPHOSReconstructioner() ; virtual void Exec(Option_t * option) ; - AliPHOSDigitizer * GetDigitizer() { return fDigitizer ; } - AliPHOSClusterizer * GetClusterizer(){ return fClusterizer ; } - AliPHOSPID * GetPID() { return fPID; } - AliPHOSTrackSegmentMaker * GetTSMaker() { return fTSMaker ; } - AliPHOSSDigitizer * GetSDigitizer() { return fSDigitizer ; } + 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 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 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 - abort() ; + Fatal("operator =", "not implementeyd") ; return *this ; } @@ -67,21 +69,22 @@ private: private: + Bool_t fToSplit ; 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 + TString fSDigitsBranch ; // Title of SDigits branch - AliPHOSDigitizer * fDigitizer ; - AliPHOSClusterizer * fClusterizer ; - AliPHOSPID * fPID ; - AliPHOSTrackSegmentMaker * fTSMaker ; - AliPHOSSDigitizer * fSDigitizer ; + 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 ; + Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class)