4 //-------------------------------------------------------------------------
5 // Container class for AOD TZERO data
6 // Author: Filip Krizek
7 // filip.krizek@cern.ch 23/02/2012
8 //-------------------------------------------------------------------------
12 class AliAODTZERO : public TObject
16 AliAODTZERO(const AliAODTZERO& source);
17 AliAODTZERO &operator=(const AliAODTZERO& source);
19 virtual ~AliAODTZERO() {};
23 Double32_t GetT0TOF(Int_t i) const {return fT0TOF[i];}
24 const Double32_t * GetT0TOF() const {return fT0TOF;}
26 Double32_t GetT0TOFbest(Int_t i) const {return fT0TOFbest[i];}
27 const Double32_t * GetT0TOFbest() const {return fT0TOFbest;}
29 Bool_t GetBackgroundFlag() const {return fBackground;}
30 Bool_t GetPileupFlag() const {return fPileup;}
31 Bool_t GetSatellite() const {return fSattelite;}
33 Float_t GetT0VertexRaw() const {return fT0VertexRaw;}
34 Double32_t GetT0zVertex() const {return fT0zVertex;}
37 void SetT0TOF(Int_t icase, Double32_t time) { fT0TOF[icase] = time;}
38 void SetT0TOFbest(Int_t icase, Double32_t time) { fT0TOFbest[icase] = time;}
40 void SetBackgroundFlag(Bool_t back = false) {fBackground = back;}
41 void SetPileupFlag(Bool_t back = false) {fPileup = back;}
42 void SetSatelliteFlag(Bool_t sat = false) { fSattelite = sat;}
44 void SetT0VertexRaw(Float_t vtx) { fT0VertexRaw = vtx;}
45 void SetT0zVertex(Double32_t z) {fT0zVertex = z;}
49 Double32_t fT0TOF[3]; // interaction time in ps with 1st time( A&C, A, C)
50 Bool_t fPileup; // pile-up flag
51 Bool_t fSattelite; // sattelite flag
52 Bool_t fBackground; // sattelite flag
53 Double32_t fT0TOFbest[3];// interaction time in ps ( A&C, A, C) with best time
54 Float_t fT0VertexRaw; // raw T0 vertex without any cuts
55 Double32_t fT0zVertex; // reconstructed T0 vertex
57 ClassDef(AliAODTZERO,3)