fTRDsignal is added to AliAODPid class (copied from AliESDtrack).
[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; }
18b2dabf 50
51 virtual UShort_t GetTriggerChargeA() const { return fTriggerChargeA; }
52 virtual UShort_t GetTriggerChargeC() const { return fTriggerChargeC; }
53 virtual UShort_t GetTriggerBits() const { return fTriggerBits; }
aa2494a4 54
55protected:
56
57 UInt_t fBBtriggerV0A; // bit mask for Beam-Beam trigger in V0A
58 UInt_t fBGtriggerV0A; // bit mask for Beam-Gas trigger in V0A
59 UInt_t fBBtriggerV0C; // bit mask for Beam-Beam trigger in V0C
60 UInt_t fBGtriggerV0C; // bit mask for Beam-Gas trigger in V0C
61
62 Float_t fMultiplicity[64]; // multiplicity for each channel
63
64 Bool_t fBBFlag[64]; // BB Flags from Online V0 Electronics
65 Bool_t fBGFlag[64]; // BG Flags from Online V0 Electronics
66
67 Float_t fV0ATime; // Average time in V0A
68 Float_t fV0CTime; // Average time in V0C
69
70 Decision fV0ADecision; // V0A final decision based on average time of channels
71 Decision fV0CDecision; // V0C final decision based on average time of channels
72
18b2dabf 73 UShort_t fTriggerChargeA; // Sum of the trigger (clock=10) charge on A side
74 UShort_t fTriggerChargeC; // Sum of the trigger (clock=10) charge on C side
75 UShort_t fTriggerBits; // V0 trigger bits as defined in the firmware
76
77 ClassDef(AliAODVZERO,2)
aa2494a4 78};
79
80#endif