Moving the classes that belong to the following libraries: STEERBase, ESD, CDB, AOD...
[u/mrichter/AliRoot.git] / STEER / AOD / AliAODVZERO.h
CommitLineData
aa2494a4 1#ifndef ALIAODVZERO_H
2#define ALIAODVZERO_H
3
4//-------------------------------------------------------------------------
5// Container class for AOD VZERO data
6// Author: Cvetan Cheshkov
7// cvetan.cheshkov@cern.ch 2/02/2011
8//-------------------------------------------------------------------------
9
10#include "AliVVZERO.h"
11
12class AliAODVZERO : public AliVVZERO
13{
14public:
15 AliAODVZERO();
16 AliAODVZERO(const AliAODVZERO& source);
17 AliAODVZERO(const AliVVZERO& source);
18 AliAODVZERO &operator=(const AliAODVZERO& source);
ae2bccf1 19 AliAODVZERO &operator=(const AliVVZERO& source);
aa2494a4 20
21 virtual ~AliAODVZERO() {};
22
23 void SetMultiplicity(Float_t Multiplicity[64])
24 {for(Int_t i=0;i<64;i++) fMultiplicity[i]=Multiplicity[i];}
25
26 // Getters
27 virtual Short_t GetNbPMV0A() const;
28 virtual Short_t GetNbPMV0C() const;
29 virtual Float_t GetMTotV0A() const;
30 virtual Float_t GetMTotV0C() const;
31 virtual Float_t GetMRingV0A(Int_t ring) const;
32 virtual Float_t GetMRingV0C(Int_t ring) const;
33
34 virtual Float_t GetMultiplicity(Int_t i) const;
35 virtual Float_t GetMultiplicityV0A(Int_t i) const;
36 virtual Float_t GetMultiplicityV0C(Int_t i) const;
37
38 virtual Bool_t BBTriggerV0A(Int_t i) const;
39 virtual Bool_t BGTriggerV0A(Int_t i) const;
40 virtual Bool_t BBTriggerV0C(Int_t i) const;
41 virtual Bool_t BGTriggerV0C(Int_t i) const;
42 virtual Bool_t GetBBFlag(Int_t i) const;
43 virtual Bool_t GetBGFlag(Int_t i) const;
44
45 virtual Float_t GetV0ATime() const { return fV0ATime; }
46 virtual Float_t GetV0CTime() const { return fV0CTime; }
47
48 virtual Decision GetV0ADecision() const { return fV0ADecision; }
49 virtual Decision GetV0CDecision() const { return fV0CDecision; }
50
51protected:
52
53 UInt_t fBBtriggerV0A; // bit mask for Beam-Beam trigger in V0A
54 UInt_t fBGtriggerV0A; // bit mask for Beam-Gas trigger in V0A
55 UInt_t fBBtriggerV0C; // bit mask for Beam-Beam trigger in V0C
56 UInt_t fBGtriggerV0C; // bit mask for Beam-Gas trigger in V0C
57
58 Float_t fMultiplicity[64]; // multiplicity for each channel
59
60 Bool_t fBBFlag[64]; // BB Flags from Online V0 Electronics
61 Bool_t fBGFlag[64]; // BG Flags from Online V0 Electronics
62
63 Float_t fV0ATime; // Average time in V0A
64 Float_t fV0CTime; // Average time in V0C
65
66 Decision fV0ADecision; // V0A final decision based on average time of channels
67 Decision fV0CDecision; // V0C final decision based on average time of channels
68
69 ClassDef(AliAODVZERO,1)
70};
71
72#endif