]>
Commit | Line | Data |
---|---|---|
92862013 | 1 | #ifndef ALIPHOSTRACKSEGMENTMAKER_H |
2 | #define ALIPHOSTRACKSEGMENTMAKER_H | |
d15a28e7 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6ad0bfa0 | 6 | /* $Id$ */ |
7 | ||
b2a60966 | 8 | //_________________________________________________________________________ |
9 | // Algorithm Base class to construct PHOS track segments | |
10 | // Associates EMC and PPSD clusters | |
11 | // Unfolds the EMC cluster | |
12 | // | |
2731cd1e | 13 | //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH) |
d15a28e7 | 14 | |
15 | // --- ROOT system --- | |
2731cd1e | 16 | #include "TTask.h" |
88cb7938 | 17 | #include "AliConfig.h" |
18 | class TFile ; | |
d15a28e7 | 19 | |
20 | // --- Standard library --- | |
e957fea8 | 21 | //#include <iostream> |
d15a28e7 | 22 | |
23 | // --- AliRoot header files --- | |
24 | ||
d15a28e7 | 25 | |
2731cd1e | 26 | class AliPHOSClusterizer ; |
27 | class AliPHOSGeometry ; | |
28 | ||
29 | class AliPHOSTrackSegmentMaker : public TTask { | |
d15a28e7 | 30 | |
31 | public: | |
32 | ||
88cb7938 | 33 | AliPHOSTrackSegmentMaker(); |
34 | AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ; | |
a8c47ab6 | 35 | AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; } |
8d0f3f77 | 36 | virtual ~ AliPHOSTrackSegmentMaker() ; |
d15a28e7 | 37 | |
21cd0c07 | 38 | virtual const Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; } |
2731cd1e | 39 | |
88cb7938 | 40 | virtual void Print()const {Warning("Print", "Not Defined" ) ; } |
eabde521 | 41 | void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } |
42 | void SetEventFolderName(TString name) { fEventFolderName = name ; } | |
b9791748 | 43 | |
90cceaf6 | 44 | virtual void WriteTrackSegments() = 0; |
8d0f3f77 | 45 | |
88cb7938 | 46 | protected: |
47 | TString fEventFolderName ; // event folder name | |
eabde521 | 48 | Int_t fFirstEvent; // first event to process |
49 | Int_t fLastEvent; // last event to process | |
d15a28e7 | 50 | |
eabde521 | 51 | ClassDef( AliPHOSTrackSegmentMaker,4) // Algorithm class to make PHOS track segments (Base Class) |
d15a28e7 | 52 | }; |
53 | ||
92862013 | 54 | #endif // ALIPHOSTRACKSEGMENTMAKER_H |