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 */
7 /*****************************************************************************
9 * This class contains the coordinates of the mean primary vertex position *
10 * computed by AliITSMeanVertex *
12 *****************************************************************************/
13 #include "AliESDVertex.h"
15 class AliMeanVertex : public AliESDVertex {
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 virtual ~AliMeanVertex() {}
21 Int_t GetNumberOfContributingEvents() const { return GetNContributors(); }
22 void GetErrorsOnPosition(Double_t err[3]) const;
23 Float_t GetTotalNumbOfTracklets() const { return fTotTracklets; }
24 Float_t GetAverageNumbOfTracklets() const { return fAverTracklets; }
25 Float_t GetSigmaOnAvNumbOfTracks() const { return fSigmaOnAverTrack; }
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
33 ClassDef(AliMeanVertex,1) // Class for mean Vertex