]>
Commit | Line | Data |
---|---|---|
c5f0f3c1 | 1 | #ifndef ALIITSVERTEXER_H |
2 | #define ALIITSVERTEXER_H | |
3 | ||
41b19549 | 4 | #include<TObject.h> |
c5f0f3c1 | 5 | |
6 | /////////////////////////////////////////////////////////////////// | |
7 | // // | |
8 | // Base class for primary vertex reconstruction // | |
9 | // // | |
10 | /////////////////////////////////////////////////////////////////// | |
11 | ||
41b19549 | 12 | class TFile; |
13 | class TString; | |
14 | class TTRee; | |
15 | class AliITSVertex; | |
c5f0f3c1 | 16 | |
17 | ||
18 | class AliITSVertexer : public TObject { | |
19 | ||
20 | public: | |
21 | // default constructor | |
22 | AliITSVertexer(); | |
23 | // standard constructor | |
88cb7938 | 24 | AliITSVertexer(TString filename); |
c5f0f3c1 | 25 | // destructor |
26 | virtual ~AliITSVertexer(); | |
27 | // computes the vertex for the current event | |
28 | virtual AliITSVertex* FindVertexForCurrentEvent(Int_t evnumb)=0; | |
88cb7938 | 29 | // computes the vetex for each event and stores it on file |
c5f0f3c1 | 30 | virtual void FindVertices()= 0; |
31 | virtual void PrintStatus() const = 0; | |
32 | virtual void SetDebug(Int_t debug = 0){fDebug = debug;} | |
33 | virtual void SetFirstEvent(Int_t ev){fFirstEvent = ev;} | |
34 | virtual void SetLastEvent(Int_t ev){fLastEvent = ev;} | |
c5f0f3c1 | 35 | virtual void WriteCurrentVertex(); |
36 | ||
37 | ||
38 | protected: | |
41b19549 | 39 | // copy constructor (NO copy allowed: the constructor is protected |
40 | // to avoid misuse) | |
41 | AliITSVertexer(const AliITSVertexer& vtxr); | |
42 | // assignment operator (NO assignment allowed) | |
43 | AliITSVertexer& operator=(const AliITSVertexer& /* vtxr */); | |
44 | ||
c5f0f3c1 | 45 | AliITSVertex *fCurrentVertex; //! pointer to the vertex of the current |
46 | // event | |
c5f0f3c1 | 47 | Int_t fFirstEvent; // First event to be processed by FindVertices |
48 | Int_t fLastEvent; // Last event to be processed by FindVertices | |
49 | Int_t fDebug; //! debug flag - verbose printing if >0 | |
50 | ||
51 | ClassDef(AliITSVertexer,1); | |
52 | }; | |
53 | ||
54 | #endif |