X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PHOS%2FAliPHOSTrackSegmentMaker.h;h=02de07a62544197bd9d48e7b83cf95bd1bde024c;hp=03aab1792778ebd169e56ede543746d0f2209ce6;hb=e957fea89c462908a01dcfa4f611e99a98080071;hpb=8d0f3f77a8b6e2bae6e1f85ceb260ebcfdcd0587 diff --git a/PHOS/AliPHOSTrackSegmentMaker.h b/PHOS/AliPHOSTrackSegmentMaker.h index 03aab179277..02de07a6254 100644 --- a/PHOS/AliPHOSTrackSegmentMaker.h +++ b/PHOS/AliPHOSTrackSegmentMaker.h @@ -14,10 +14,11 @@ // --- ROOT system --- #include "TTask.h" +#include "AliConfig.h" class TFile ; // --- Standard library --- -#include +//#include // --- AliRoot header files --- @@ -29,32 +30,24 @@ class AliPHOSTrackSegmentMaker : public TTask { public: - AliPHOSTrackSegmentMaker() ; - AliPHOSTrackSegmentMaker(const char* headerFile, const char* name) ; - + AliPHOSTrackSegmentMaker(); + AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ; + AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; } virtual ~ AliPHOSTrackSegmentMaker() ; - 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 void SetSplitFile(const TString splitFileName = "PHOS.RecData.root") const ; - virtual const char * Version() const {cout << "Not Defined" << endl ; return 0 ; } - virtual void WriteTrackSegments(Int_t event){cout << "Not Defined" << endl ; } + virtual void Exec(Option_t *) = 0; + + virtual const Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; } + + virtual void Print()const {Warning("Print", "Not Defined" ) ; } + void SetEventFolderName(TString name) { fEventFolderName = name ; } + + virtual void WriteTrackSegments() = 0; protected: - - TFile * fSplitFile ; //! file in which TrackSegments will eventually be stored - - ClassDef( AliPHOSTrackSegmentMaker,1) // Algorithm class to make PHOS track segments (Base Class) + TString fEventFolderName ; // event folder name + ClassDef( AliPHOSTrackSegmentMaker,3) // Algorithm class to make PHOS track segments (Base Class) }; #endif // ALIPHOSTRACKSEGMENTMAKER_H