5 #include<AliMultiplicity.h>
7 ///////////////////////////////////////////////////////////////////
9 // Base class for primary vertex reconstruction //
11 ///////////////////////////////////////////////////////////////////
19 class AliVertexer : public TObject {
22 // default constructor
26 virtual ~AliVertexer();
27 // computes the vertex for the current event
28 virtual AliESDVertex* FindVertexForCurrentEvent(Int_t evnumb)=0;
29 // computes the vertex for each event and stores it on file
30 virtual void FindVertices()= 0;
31 virtual AliMultiplicity* GetMultiplicity() const {return fMult;}
32 virtual void PrintStatus() const = 0;
33 virtual void SetDebug(Int_t debug = 0);
34 virtual void SetFirstEvent(Int_t ev){fFirstEvent = ev;}
35 virtual void SetLastEvent(Int_t ev){fLastEvent = ev;}
36 virtual void WriteCurrentVertex() = 0;
40 // copy constructor (NO copy allowed: the constructor is protected
42 AliVertexer(const AliVertexer& vtxr);
43 // assignment operator (NO assignment allowed)
44 AliVertexer& operator=(const AliVertexer& /* vtxr */);
46 AliESDVertex *fCurrentVertex; //! pointer to the vertex of the current
48 Int_t fFirstEvent; // First event to be processed by FindVertices
49 Int_t fLastEvent; // Last event to be processed by FindVertices
50 Int_t fDebug; //! debug flag - verbose printing if >0
51 AliMultiplicity *fMult; //! Multiplicity object
53 ClassDef(AliVertexer,2);