X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSTrackSegmentMaker.h;h=3a5aac85130e471e6a7ec382db5090236acc4233;hb=7ecf374b4668e302acacec1619e8670b8a68dc0f;hp=d0d6e27f8f967d9401f1180e274647e171fd375b;hpb=79bf6a2f8c43383c8842664ff2e771125720425a;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSTrackSegmentMaker.h b/PHOS/AliPHOSTrackSegmentMaker.h index d0d6e27f8f9..3a5aac85130 100644 --- a/PHOS/AliPHOSTrackSegmentMaker.h +++ b/PHOS/AliPHOSTrackSegmentMaker.h @@ -5,53 +5,58 @@ /* $Id$ */ +/* History of cvs commits: + * + * $Log$ + */ + //_________________________________________________________________________ // Algorithm Base class to construct PHOS track segments -// Associates EMC and PPSD clusters +// Associates EMC and CPV clusters // Unfolds the EMC cluster // //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH) // --- ROOT system --- #include "TTask.h" - +#include "AliConfig.h" +class TFile ; // --- Standard library --- -#include +//#include // --- AliRoot header files --- class AliPHOSClusterizer ; class AliPHOSGeometry ; +class AliESD ; class AliPHOSTrackSegmentMaker : public TTask { public: - AliPHOSTrackSegmentMaker() ; - AliPHOSTrackSegmentMaker(const char* headerFile, const char* name) ; - - virtual ~ AliPHOSTrackSegmentMaker(){ - // dtor - } - - virtual void Exec(Option_t * option){cout << "Not Defined" << endl ; } - virtual char* GetRecPointsBranch ()const{cout << "Not Defined" << endl ; return 0 ; } - virtual char* GetTrackSegmentsBranch ()const{cout << "Not Defined" << endl ; return 0 ; } - virtual const Int_t GetTrackSegmentsInRun() const {cout << "Not Defined" << endl ; return 0 ; } - - virtual void Print(Option_t * option)const {cout << "Not Defined" << endl ; } - // virtual void Set... // method to choose recPoints: along z only, along x ...??? - // virtual void SetChoosingAlgirithm(){cout << "Not Defined" << endl ; return 0 ; } - // virtual void SetMaxEmcCpvDistance(Float_t r) {cout << "Not Defined" << endl ; return 0 ; } - virtual void SetRecPointsBranch(const char * title){cout << "Not Defined" << endl ; } - virtual void SetTrackSegmentsBranch(const char * title){cout << "Not Defined" << endl ; } - virtual const char * Version() const {cout << "Not Defined" << endl ; return 0 ; } - virtual void WriteTrackSegments(Int_t event){cout << "Not Defined" << endl ; } + AliPHOSTrackSegmentMaker(); + AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; + AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; } + virtual ~ AliPHOSTrackSegmentMaker() ; + + virtual Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; } + + virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; } + void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } + void SetEventFolderName(TString name) { fEventFolderName = name ; } + void SetESD(AliESD *esd) { fESD = esd; } + + virtual void WriteTrackSegments() = 0; - ClassDef( AliPHOSTrackSegmentMaker,1) // Algorithm class to make PHOS track segments (Base Class) +protected: + TString fEventFolderName ; // event folder name + Int_t fFirstEvent; // first event to process + Int_t fLastEvent; // last event to process + AliESD * fESD; //! ESD object + ClassDef( AliPHOSTrackSegmentMaker,4) // Algorithm class to make PHOS track segments (Base Class) }; #endif // ALIPHOSTRACKSEGMENTMAKER_H