1 #ifndef ALIITSVERTEXER_H
2 #define ALIITSVERTEXER_H
4 #include<AliVertexer.h>
6 ///////////////////////////////////////////////////////////////////
8 // Base class for primary vertex reconstruction for ITS //
10 ///////////////////////////////////////////////////////////////////
14 class AliITSVertexer : public AliVertexer {
17 // default constructor
19 virtual ~AliITSVertexer();
20 virtual AliESDVertex *FindVertexForCurrentEvent(TTree *itsClusterTree)=0;
21 virtual void PrintStatus() const = 0;
23 void FindMultiplicity(TTree *itsClusterTree);
24 void SetFirstEvent(Int_t ev){fFirstEvent = ev;}
25 void SetLastEvent(Int_t ev){fLastEvent = ev;}
26 const Float_t GetPipeRadius()const {return fgkPipeRadius;}
27 void SetLaddersOnLayer2(Int_t ladwid=4);
29 // Methods containing run-loaders, should be moved to some other class
30 void Init(TString filename);
31 void WriteCurrentVertex();
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
41 // copy constructor (NO copy allowed: the constructor is protected
43 AliITSVertexer(const AliITSVertexer& vtxr);
44 // assignment operator (NO assignment allowed)
45 AliITSVertexer& operator=(const AliITSVertexer& /* vtxr */);
47 Int_t fFirstEvent; // First event to be processed by FindVertices
48 Int_t fLastEvent; // Last event to be processed by FindVertices
50 ClassDef(AliITSVertexer,5);