]>
Commit | Line | Data |
---|---|---|
c5f0f3c1 | 1 | #ifndef ALIITSVERTEXER_H |
2 | #define ALIITSVERTEXER_H | |
3 | ||
2257f27e | 4 | #include<AliVertexer.h> |
c5f0f3c1 | 5 | |
6 | /////////////////////////////////////////////////////////////////// | |
7 | // // | |
2257f27e | 8 | // Base class for primary vertex reconstruction for ITS // |
c5f0f3c1 | 9 | // // |
10 | /////////////////////////////////////////////////////////////////// | |
11 | ||
41b19549 | 12 | class TString; |
c5f0f3c1 | 13 | |
2257f27e | 14 | class AliITSVertexer : public AliVertexer { |
c5f0f3c1 | 15 | |
16 | public: | |
17 | // default constructor | |
18 | AliITSVertexer(); | |
27167524 | 19 | virtual ~AliITSVertexer(); |
308c2f7c | 20 | virtual AliESDVertex *FindVertexForCurrentEvent(TTree *itsClusterTree)=0; |
21 | virtual void PrintStatus() const = 0; | |
22 | ||
23 | void FindMultiplicity(TTree *itsClusterTree); | |
24 | void SetFirstEvent(Int_t ev){fFirstEvent = ev;} | |
25 | void SetLastEvent(Int_t ev){fLastEvent = ev;} | |
27167524 | 26 | const Float_t GetPipeRadius()const {return fgkPipeRadius;} |
308c2f7c | 27 | void SetLaddersOnLayer2(Int_t ladwid=4); |
28 | ||
29 | // Methods containing run-loaders, should be moved to some other class | |
30 | void Init(TString filename); | |
31 | void WriteCurrentVertex(); | |
32 | void FindVertices(); | |
c5f0f3c1 | 33 | |
c5f0f3c1 | 34 | protected: |
308c2f7c | 35 | static const Float_t fgkPipeRadius; // beam pipe radius (cm) |
36 | UShort_t *fLadders; // array with layer1-layer2 ladders correspondances | |
37 | Int_t fLadOnLay2; // (2*fLadOnLay2+1)=number of layer2 ladders | |
38 | // associated to a layer1 ladder | |
39 | ||
40 | private: | |
41b19549 | 41 | // copy constructor (NO copy allowed: the constructor is protected |
42 | // to avoid misuse) | |
43 | AliITSVertexer(const AliITSVertexer& vtxr); | |
44 | // assignment operator (NO assignment allowed) | |
45 | AliITSVertexer& operator=(const AliITSVertexer& /* vtxr */); | |
46 | ||
308c2f7c | 47 | Int_t fFirstEvent; // First event to be processed by FindVertices |
48 | Int_t fLastEvent; // Last event to be processed by FindVertices | |
27167524 | 49 | |
308c2f7c | 50 | ClassDef(AliITSVertexer,5); |
c5f0f3c1 | 51 | }; |
52 | ||
53 | #endif |