Modification of the trigger fields in the event tag (Panos)
[u/mrichter/AliRoot.git] / STEER / AliEventTag.h
CommitLineData
f3a97c86 1#ifndef ALIEVENTTAG_H
2#define ALIEVENTTAG_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9//-------------------------------------------------------------------------
10// Class AliEventTag
11// This is the class to deal with the tags for the event level
12//
13// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
14//-------------------------------------------------------------------------
15
16#include "TObject.h"
f3a97c86 17
18//______________________________________________________________________________
19class AliEventTag : public TObject
20{
f3a97c86 21 public:
22 AliEventTag();
cb1645b7 23 AliEventTag(const AliEventTag & t);
f3a97c86 24 virtual ~AliEventTag();
cb1645b7 25
26 AliEventTag &operator=(const AliEventTag &rhs);
27
f3a97c86 28
29 void SetEventId(Int_t Pid) {fAliceEventId = Pid;}
b45e5084 30 void SetGUID(const char *Pid) {fGUID = Pid;}
f3a97c86 31
e16601cf 32 void SetMD5(const char *Pid) {fmd5 = Pid;}
33 void SetTURL(const char *Pid) {fturl = Pid;}
34 void SetSize(Long64_t i) {fsize = i;}
35
f3a97c86 36 void SetNumOfParticipants(Int_t P) {fNumberOfParticipants = P;}
37 void SetImpactParameter(Float_t Pimpact) {fImpactParameter = Pimpact;}
38
39 void SetVertexX(Float_t Pvx) {fPrimaryVertexX = Pvx;}
40 void SetVertexY(Float_t Pvy) {fPrimaryVertexY = Pvy;}
41 void SetVertexZ(Float_t Pvz) {fPrimaryVertexZ = Pvz;}
42
b45e5084 43 void SetVertexFlag(Int_t i) {fPrimaryVertexFlag = i;}
44 void SetVertexZError(Float_t f) { fPrimaryVertexZError = f;}
f3a97c86 45
8bd8ac26 46 void SetTriggerMask(ULong64_t Ptr) {fTriggerMask = Ptr;}
47 void SetTriggerCluster(UChar_t n) {fTriggerCluster = n;}
f3a97c86 48
32a5cab4 49 void SetZDCNeutron1Energy(Float_t Pen) {fZDCNeutron1Energy = Pen;}
50 void SetZDCProton1Energy(Float_t Pen) {fZDCProton1Energy = Pen;}
51 void SetZDCNeutron2Energy(Float_t Pen) {fZDCNeutron2Energy = Pen;}
52 void SetZDCProton2Energy(Float_t Pen) {fZDCProton2Energy = Pen;}
f3a97c86 53 void SetZDCEMEnergy(Float_t Pen) {fZDCEMEnergy = Pen;}
54
55 void SetT0VertexZ(Float_t Pvz) {fT0VertexZ = Pvz;}
56
57 void SetNumOfTracks(Int_t Ptr) {fNumberOfTracks = Ptr;}
58 void SetNumOfPosTracks(Int_t Ptr) {fNumberOfPositiveTracks = Ptr;}
59 void SetNumOfNegTracks(Int_t Ptr) {fNumberOfNegativeTracks = Ptr;}
60 void SetNumOfNeutrTracks(Int_t Ptr) {fNumberOfNeutralTracks = Ptr;}
61
62 void SetNumOfV0s(Int_t Ptr) {fNumberOfV0s = Ptr;}
63 void SetNumOfCascades(Int_t Ptr) {fNumberOfCascades = Ptr;}
64 void SetNumOfKinks(Int_t Ptr) {fNumberOfKinks = Ptr;}
65
66 void SetNumOfPMDTracks(Int_t Ptr) {fNumberOfPMDTracks = Ptr;}
f3a97c86 67 void SetNumOfFMDTracks(Int_t Ptr) {fNumberOfFMDTracks = Ptr;}
85c60a8e 68 void SetNumOfPHOSClusters(Int_t Ptr) {fNumberOfPHOSClusters = Ptr;}
69 void SetNumOfEMCALClusters(Int_t Ptr) {fNumberOfEMCALClusters = Ptr;}
f3a97c86 70
71 void SetNumOfJetCandidates(Int_t Ptr) {fNumberOfJetCandidates = Ptr;}
72 void SetNumOfHardPhotonsCandidates(Int_t Ptr) {fNumberOfHardPhotonsCandidates = Ptr;}
73
f3a97c86 74 void SetMaxJetEnergy(Float_t f) {fMaxJetEnergy = f;}
75 void SetMaxNeutralEnergy(Float_t f) {fMaxNeutralEnergy = f;}
4302e20f 76
77 void SetNumOfChargedAbove1GeV(Int_t i) {fNumberOfChargedAbove1GeV = i;}
78 void SetNumOfChargedAbove3GeV(Int_t i) {fNumberOfChargedAbove3GeV = i;}
79 void SetNumOfChargedAbove10GeV(Int_t i) {fNumberOfChargedAbove10GeV = i;}
80 void SetNumOfMuonsAbove1GeV(Int_t i) {fNumberOfMuonsAbove1GeV = i;}
81 void SetNumOfMuonsAbove3GeV(Int_t i) {fNumberOfMuonsAbove3GeV = i;}
82 void SetNumOfMuonsAbove10GeV(Int_t i) {fNumberOfMuonsAbove10GeV = i;}
83 void SetNumOfElectronsAbove1GeV(Int_t i) {fNumberOfElectronsAbove1GeV = i;}
84 void SetNumOfElectronsAbove3GeV(Int_t i) {fNumberOfElectronsAbove3GeV = i;}
85 void SetNumOfElectronsAbove10GeV(Int_t i) {fNumberOfElectronsAbove10GeV = i;}
f3a97c86 86
87 void SetNumOfElectrons(Int_t Ptr) {fNumberOfElectrons = Ptr;}
88 void SetNumOfMuons(Int_t Ptr) {fNumberOfMuons = Ptr;}
89 void SetNumOfPions(Int_t Ptr) {fNumberOfPions = Ptr;}
90 void SetNumOfKaons(Int_t Ptr) {fNumberOfKaons = Ptr;}
91 void SetNumOfProtons(Int_t Ptr) {fNumberOfProtons = Ptr;}
92 void SetNumOfLambdas(Int_t Ptr) {fNumberOfLambdas = Ptr;}
93
94
95 void SetNumOfPhotons(Int_t Ptr) {fNumberOfPhotons = Ptr;}
96 void SetNumOfPi0s(Int_t Ptr) {fNumberOfPi0s = Ptr;}
97 void SetNumOfNeutrons(Int_t Ptr) {fNumberOfNeutrons = Ptr;}
98 void SetNumOfKaon0s(Int_t Ptr) {fNumberOfKaon0s = Ptr;}
99
100 void SetTotalMomentum(Float_t P) {fTotalP = P;}
101 void SetMeanPt(Float_t Pt) {fMeanPt = Pt;}
102 void SetMaxPt(Float_t Pt) {fMaxPt = Pt;}
103
b45e5084 104 void SetNeutralTotalMomentum(Float_t f) {fTotalNeutralP = f;}
105 void SetNeutralMeanPt(Float_t f) {fMeanNeutralPt = f;}
106 void SetNeutralMaxPt(Float_t f) {fMaxNeutralPt = f;}
f3a97c86 107
b45e5084 108 void SetEventPlaneAngle(Float_t f) {fEventPlaneAngle = f;}
109 void SetHBTRadii(Float_t f) {fHBTRadii = f;}
f3a97c86 110
111
112
cb1645b7 113 Int_t GetEventId() const {return fAliceEventId;}
114 const char *GetGUID() const {return fGUID;}
e16601cf 115
116 const char *GetMD5() const {return fmd5;}
117 const char *GetTURL() const {return fturl;}
118 Long64_t GetSize() const {return fsize;}
f3a97c86 119
cb1645b7 120 Int_t GetNumOfParticipants() const {return fNumberOfParticipants;}
121 Float_t GetImpactParameter() const {return fImpactParameter;}
f3a97c86 122
cb1645b7 123 Float_t GetVertexX() const {return fPrimaryVertexX;}
124 Float_t GetVertexY() const {return fPrimaryVertexY;}
125 Float_t GetVertexZ() const {return fPrimaryVertexZ;}
f3a97c86 126
cb1645b7 127 Int_t GetVertexFlag() const {return fPrimaryVertexFlag;}
128 Float_t GetVertexZError() const {return fPrimaryVertexZError;}
f3a97c86 129
8bd8ac26 130 ULong64_t GetTriggerMask() const {return fTriggerMask;}
131 UChar_t GetTriggerCluster() const {return fTriggerCluster;}
f3a97c86 132
32a5cab4 133 Float_t GetZDCNeutron1Energy() const {return fZDCNeutron1Energy;}
134 Float_t GetZDCProton1Energy() const {return fZDCProton1Energy;}
135 Float_t GetZDCNeutron2Energy() const {return fZDCNeutron2Energy;}
136 Float_t GetZDCProton2Energy() const {return fZDCProton2Energy;}
cb1645b7 137 Float_t GetZDCEMEnergy() const {return fZDCEMEnergy;}
f3a97c86 138
cb1645b7 139 Float_t GetT0VertexZ() const {return fT0VertexZ;}
f3a97c86 140
cb1645b7 141 Int_t GetNumOfTracks() const {return fNumberOfTracks;}
142 Int_t GetNumOfPosTracks() const {return fNumberOfPositiveTracks;}
143 Int_t GetNumOfNegTracks() const {return fNumberOfNegativeTracks;}
144 Int_t GetNumOfNeutrTracks() const {return fNumberOfNeutralTracks;}
f3a97c86 145
cb1645b7 146 Int_t GetNumOfV0s() const {return fNumberOfV0s;}
147 Int_t GetNumOfCascades() const {return fNumberOfCascades;}
148 Int_t GetNumOfKinks() const {return fNumberOfKinks;}
f3a97c86 149
cb1645b7 150 Int_t GetNumOfPMDTracks() const {return fNumberOfPMDTracks;}
cb1645b7 151 Int_t GetNumOfFMDTracks() const {return fNumberOfFMDTracks;}
85c60a8e 152 Int_t GetNumOfPHOSClusters() const {return fNumberOfPHOSClusters;}
153 Int_t GetNumOfEMCALClusters() const {return fNumberOfEMCALClusters;}
f3a97c86 154
cb1645b7 155 Int_t GetNumOfJetCandidates() const {return fNumberOfJetCandidates;}
156 Int_t GetNumOfHardPhotonsCandidates() const {return fNumberOfHardPhotonsCandidates;}
f3a97c86 157
cb1645b7 158 Float_t GetMaxJetEnergy() const {return fMaxJetEnergy;}
159 Float_t GetMaxNeutralEnergy() const {return fMaxNeutralEnergy;}
160
161 Int_t GetNumOfChargedAbove1GeV() const {return fNumberOfChargedAbove1GeV;}
162 Int_t GetNumOfChargedAbove3GeV() const {return fNumberOfChargedAbove3GeV;}
163 Int_t GetNumOfChargedAbove10GeV() const {return fNumberOfChargedAbove10GeV;}
164 Int_t GetNumOfMuonsAbove1GeV() const {return fNumberOfMuonsAbove1GeV;}
165 Int_t GetNumOfMuonsAbove3GeV() const {return fNumberOfMuonsAbove3GeV;}
166 Int_t GetNumOfMuonsAbove10GeV() const {return fNumberOfMuonsAbove10GeV;}
167 Int_t GetNumOfElectronsAbove1GeV() const {return fNumberOfElectronsAbove1GeV;}
168 Int_t GetNumOfElectronsAbove3GeV() const {return fNumberOfElectronsAbove3GeV;}
169 Int_t GetNumOfElectronsAbove10GeV() const {return fNumberOfElectronsAbove10GeV;}
170
171 Int_t GetNumOfElectrons() const {return fNumberOfElectrons;}
172 Int_t GetNumOfMuons() const {return fNumberOfMuons;}
173 Int_t GetNumOfPions() const {return fNumberOfPions;}
174 Int_t GetNumOfKaons() const {return fNumberOfKaons;}
175 Int_t GetNumOfProtons() const {return fNumberOfProtons;}
176 Int_t GetNumOfLambdas() const {return fNumberOfLambdas;}
f3a97c86 177
cb1645b7 178 Int_t GetNumOfPhotons() const {return fNumberOfPhotons;}
179 Int_t GetNumOfPi0s() const {return fNumberOfPi0s;}
180 Int_t GetNumOfNeutrons() const {return fNumberOfNeutrons;}
181 Int_t GetNumOfKaon0s() const {return fNumberOfKaon0s;}
f3a97c86 182
cb1645b7 183
184 Float_t GetTotalMomentum() const {return fTotalP;}
185 Float_t GetMeanPt() const {return fMeanPt;}
186 Float_t GetMaxPt() const {return fMaxPt;}
187
188 Float_t GetNeutralTotalMomentum() const {return fTotalNeutralP;}
189 Float_t GetNeutralMeanPt() const {return fMeanNeutralPt;}
190 Float_t GetNeutralMaxPt() const {return fMaxNeutralPt;}
191
192 Float_t GetEventPlaneAngle() const {return fEventPlaneAngle;}
193 Float_t GetHBTRadii() const {return fHBTRadii;}
194
195 private:
196 Int_t fAliceEventId; //The event id
197 const char *fGUID; //The unique identifier of the file
e16601cf 198
199 Long64_t fsize; //the size of the file
200 const char* fmd5; //another file identifier
201 const char* fturl; //the file's url
202
cb1645b7 203 Int_t fNumberOfParticipants; //Number of participants
204 Float_t fImpactParameter; //The impact parameter
4302e20f 205
cb1645b7 206 Int_t fPrimaryVertexFlag; //Primary vertex flag: 0->not found, 1->found
207
208 Float_t fPrimaryVertexX; //Primary vertex - X coordinate
209 Float_t fPrimaryVertexY; //Primary vertex - Y coordinate
210 Float_t fPrimaryVertexZ; //Primary vertex - Z coordinate
211
212 Float_t fPrimaryVertexZError; //Primary vertex - Z coordinate - error
213
8bd8ac26 214 ULong64_t fTriggerMask; //Information from trigger (trigger mask)
215 UChar_t fTriggerCluster; // Trigger cluster (mask)
32a5cab4 216 Float_t fZDCNeutron1Energy; //ZDC info - neutron
217 Float_t fZDCProton1Energy; //ZDC info - proton
218 Float_t fZDCNeutron2Energy; //ZDC info - neutron
219 Float_t fZDCProton2Energy; //ZDC info - proton
cb1645b7 220 Float_t fZDCEMEnergy; //ZDC info - em
221 Float_t fT0VertexZ; //T0 info
222 Int_t fNumberOfTracks; //Multiplicity
223 Int_t fNumberOfPositiveTracks; //Multiplicity of positive tracks
224 Int_t fNumberOfNegativeTracks; //Multiplicity of negative tracks
225 Int_t fNumberOfNeutralTracks; //Multiplicity of neutral tracks
226 Int_t fNumberOfV0s; //Number of V0s
227 Int_t fNumberOfCascades; //Number of cascades
228 Int_t fNumberOfKinks; //Number of kinks
229 Int_t fNumberOfPMDTracks; //PMD tracks
cb1645b7 230 Int_t fNumberOfFMDTracks; //FMD tracks
85c60a8e 231 Int_t fNumberOfPHOSClusters; //PHOS clusters
232 Int_t fNumberOfEMCALClusters; //EMCAL clusters
cb1645b7 233 Int_t fNumberOfJetCandidates; //Jet candidates
234
235 Float_t fMaxJetEnergy; //jet energy info
f3a97c86 236
cb1645b7 237 Int_t fNumberOfHardPhotonsCandidates; //Hard photons candidates
f3a97c86 238
cb1645b7 239 Float_t fMaxNeutralEnergy; //neutral energy info
240
f3a97c86 241
cb1645b7 242 Int_t fNumberOfChargedAbove1GeV; //Number of charged above 1 GeV/c
243 Int_t fNumberOfChargedAbove3GeV; //Number of charged above 3 GeV/c
244 Int_t fNumberOfChargedAbove10GeV; //Number of charged above 10 GeV/c
245 Int_t fNumberOfMuonsAbove1GeV; //Number of muons above 1 GeV/c
246 Int_t fNumberOfMuonsAbove3GeV; //Number of muons above 3 GeV/c
247 Int_t fNumberOfMuonsAbove10GeV; //Number of muons above 10 GeV/c
248 Int_t fNumberOfElectronsAbove1GeV; //Number of electrons above 1 GeV/c
249 Int_t fNumberOfElectronsAbove3GeV; //Number of electrons above 3 GeV/c
250 Int_t fNumberOfElectronsAbove10GeV; //Number of electrons above 10 GeV/c
f3a97c86 251
f3a97c86 252
f3a97c86 253
cb1645b7 254 Int_t fNumberOfElectrons; //Number of electrons
255 Int_t fNumberOfMuons; //Number of muons
256 Int_t fNumberOfPions; //Number of pions
257 Int_t fNumberOfKaons; //Number of kaons
258 Int_t fNumberOfProtons; //Number of protons
259 Int_t fNumberOfLambdas; //Number of lambdas
260
261 Int_t fNumberOfPhotons; //Number of photons
262 Int_t fNumberOfPi0s; //Number of pi0
263 Int_t fNumberOfNeutrons; //Number of neutrons
264 Int_t fNumberOfKaon0s; //Number of Ks
265
266
267
268 Float_t fTotalP; //Sum of the momentum per event
269 Float_t fMeanPt; //Mean Pt per event
270 Float_t fMaxPt; //Max Pt for each event
271
272 Float_t fTotalNeutralP; //Sum of the momentum per event for neutral
273 Float_t fMeanNeutralPt; //Mean Pt per event for neutral
274 Float_t fMaxNeutralPt; //Max Pt for each event for neutral
275
276 Float_t fEventPlaneAngle; //event plane info
277 Float_t fHBTRadii; //HBT info
f3a97c86 278
8bd8ac26 279 ClassDef(AliEventTag,7) //(ClassName, ClassVersion)
f3a97c86 280 };
281//______________________________________________________________________________
282
283
284#endif