1 #ifndef ALIPHOSTRACKSEGMENTMAKER_H
2 #define ALIPHOSTRACKSEGMENTMAKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Algorithm Base class to construct PHOS track segments
10 // Associates EMC and PPSD clusters
11 // Unfolds the EMC cluster
13 //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH)
15 // --- ROOT system ---
19 // --- Standard library ---
21 // --- AliRoot header files ---
24 class AliPHOSClusterizer ;
25 class AliPHOSGeometry ;
27 class AliPHOSTrackSegmentMaker : public TTask {
31 AliPHOSTrackSegmentMaker() ;
32 AliPHOSTrackSegmentMaker(const char* headerFile, const char* name, const Bool_t toSplit) ;
33 AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & ts) ;
36 virtual ~ AliPHOSTrackSegmentMaker() ;
38 virtual void Exec(Option_t * option){Warning("Exec", "Not Defined" ) ; }
39 // virtual char* GetRecPointsBranch ()const{Warning("GetRecPointsBranch", "Not Defined" ) ; return 0 ; }
40 // virtual char* GetTrackSegmentsBranch ()const{Warning(" GetTrackSegmentsBranch", "Not Defined" ) ; return 0 ; }
41 virtual const Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; }
43 virtual void Print(Option_t * option)const {Warning("Print", "Not Defined" ) ; }
44 // virtual void Set... // method to choose recPoints: along z only, along x ...???
45 // virtual void SetChoosingAlgirithm(){Warning("SetChoosingAlgirithm", "Not Defined" ) ; return 0 ; }
46 // virtual void SetMaxEmcCpvDistance(Float_t r) {Warning("SetMaxEmcCpvDistance", "Not Defined" ) ; return 0 ; }
47 // virtual void SetRecPointsBranch(const char * title){Warning("SetRecPointsBranch", "Not Defined" ) ; }
48 // virtual void SetTrackSegmentsBranch(const char * title){Warning("SetTrackSegmentsBranch", "Not Defined" ) ; }
49 // virtual void SetSplitFile(const TString splitFileName = "PHOS.RecData.root") const ;
50 virtual const char * Version() const {Warning("Version", "Not Defined" ) ; return 0 ; }
51 virtual void WriteTrackSegments(Int_t event){Warning("WriteTrackSegments", "Not Defined" ) ; }
52 AliPHOSTrackSegmentMaker & operator = (const AliPHOSTrackSegmentMaker &ts) {return *this ; }
56 TFile * fSplitFile ; //! file in which TrackSegments will eventually be stored
57 Bool_t fToSplit ; //! Do we work in the split mode
59 ClassDef( AliPHOSTrackSegmentMaker,1) // Algorithm class to make PHOS track segments (Base Class)
63 #endif // ALIPHOSTRACKSEGMENTMAKER_H