Line data Source code
1 : #ifndef ALIMEANVERTEX_H
2 : #define ALIMEANVERTEX_H
3 : /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id$ */
7 : /*****************************************************************************
8 : * *
9 : * This class contains the coordinates of the mean primary vertex position *
10 : * computed by AliITSMeanVertex *
11 : * *
12 : *****************************************************************************/
13 : #include "AliESDVertex.h"
14 :
15 0 : class AliMeanVertex : public AliESDVertex {
16 : public:
17 : AliMeanVertex();
18 : AliMeanVertex(Double_t pos[3],Double_t err[3],Double_t cov[6],Int_t nevents, Float_t notracklets, Float_t avertracklets, Float_t signotrackl);
19 0 : virtual ~AliMeanVertex() {}
20 :
21 0 : Int_t GetNumberOfContributingEvents() const { return GetNContributors(); }
22 : void GetErrorsOnPosition(Double_t err[3]) const;
23 0 : Float_t GetTotalNumbOfTracklets() const { return fTotTracklets; }
24 0 : Float_t GetAverageNumbOfTracklets() const { return fAverTracklets; }
25 0 : Float_t GetSigmaOnAvNumbOfTracks() const { return fSigmaOnAverTrack; }
26 :
27 : protected:
28 : Double32_t fErrW[3]; // errors on vertex coordinates (weighted average)
29 : Float_t fTotTracklets; // total number of tracklets used for M.V.
30 : Float_t fAverTracklets; // average number of tracklets per event
31 : Float_t fSigmaOnAverTrack; // sigma on fAverTracklets
32 :
33 172 : ClassDef(AliMeanVertex,1) // Class for mean Vertex
34 : };
35 :
36 : #endif
|