]>
Commit | Line | Data |
---|---|---|
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 | //______________________________________________________________________________ | |
19 | class 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 | |
46 | void SetTrigger(Int_t Ptr) {fTriggerInfo = Ptr;} | |
47 | ||
48 | void SetZDCNeutronEnergy(Float_t Pen) {fZDCNeutronEnergy = Pen;} | |
49 | void SetZDCProtonEnergy(Float_t Pen) {fZDCProtonEnergy = Pen;} | |
50 | void SetZDCEMEnergy(Float_t Pen) {fZDCEMEnergy = Pen;} | |
51 | ||
52 | void SetT0VertexZ(Float_t Pvz) {fT0VertexZ = Pvz;} | |
53 | ||
54 | void SetNumOfTracks(Int_t Ptr) {fNumberOfTracks = Ptr;} | |
55 | void SetNumOfPosTracks(Int_t Ptr) {fNumberOfPositiveTracks = Ptr;} | |
56 | void SetNumOfNegTracks(Int_t Ptr) {fNumberOfNegativeTracks = Ptr;} | |
57 | void SetNumOfNeutrTracks(Int_t Ptr) {fNumberOfNeutralTracks = Ptr;} | |
58 | ||
59 | void SetNumOfV0s(Int_t Ptr) {fNumberOfV0s = Ptr;} | |
60 | void SetNumOfCascades(Int_t Ptr) {fNumberOfCascades = Ptr;} | |
61 | void SetNumOfKinks(Int_t Ptr) {fNumberOfKinks = Ptr;} | |
62 | ||
63 | void SetNumOfPMDTracks(Int_t Ptr) {fNumberOfPMDTracks = Ptr;} | |
64 | void SetNumOfPHOSTracks(Int_t Ptr) {fNumberOfPHOSTracks = Ptr;} | |
65 | void SetNumOfEMCALTracks(Int_t Ptr) {fNumberOfEMCALTracks = Ptr;} | |
66 | void SetNumOfFMDTracks(Int_t Ptr) {fNumberOfFMDTracks = Ptr;} | |
67 | ||
68 | void SetNumOfJetCandidates(Int_t Ptr) {fNumberOfJetCandidates = Ptr;} | |
69 | void SetNumOfHardPhotonsCandidates(Int_t Ptr) {fNumberOfHardPhotonsCandidates = Ptr;} | |
70 | ||
71 | ||
72 | void SetMaxJetEnergy(Float_t f) {fMaxJetEnergy = f;} | |
73 | void SetMaxNeutralEnergy(Float_t f) {fMaxNeutralEnergy = f;} | |
4302e20f | 74 | |
75 | void SetNumOfChargedAbove1GeV(Int_t i) {fNumberOfChargedAbove1GeV = i;} | |
76 | void SetNumOfChargedAbove3GeV(Int_t i) {fNumberOfChargedAbove3GeV = i;} | |
77 | void SetNumOfChargedAbove10GeV(Int_t i) {fNumberOfChargedAbove10GeV = i;} | |
78 | void SetNumOfMuonsAbove1GeV(Int_t i) {fNumberOfMuonsAbove1GeV = i;} | |
79 | void SetNumOfMuonsAbove3GeV(Int_t i) {fNumberOfMuonsAbove3GeV = i;} | |
80 | void SetNumOfMuonsAbove10GeV(Int_t i) {fNumberOfMuonsAbove10GeV = i;} | |
81 | void SetNumOfElectronsAbove1GeV(Int_t i) {fNumberOfElectronsAbove1GeV = i;} | |
82 | void SetNumOfElectronsAbove3GeV(Int_t i) {fNumberOfElectronsAbove3GeV = i;} | |
83 | void SetNumOfElectronsAbove10GeV(Int_t i) {fNumberOfElectronsAbove10GeV = i;} | |
f3a97c86 | 84 | |
85 | void SetNumOfElectrons(Int_t Ptr) {fNumberOfElectrons = Ptr;} | |
86 | void SetNumOfMuons(Int_t Ptr) {fNumberOfMuons = Ptr;} | |
87 | void SetNumOfPions(Int_t Ptr) {fNumberOfPions = Ptr;} | |
88 | void SetNumOfKaons(Int_t Ptr) {fNumberOfKaons = Ptr;} | |
89 | void SetNumOfProtons(Int_t Ptr) {fNumberOfProtons = Ptr;} | |
90 | void SetNumOfLambdas(Int_t Ptr) {fNumberOfLambdas = Ptr;} | |
91 | ||
92 | ||
93 | void SetNumOfPhotons(Int_t Ptr) {fNumberOfPhotons = Ptr;} | |
94 | void SetNumOfPi0s(Int_t Ptr) {fNumberOfPi0s = Ptr;} | |
95 | void SetNumOfNeutrons(Int_t Ptr) {fNumberOfNeutrons = Ptr;} | |
96 | void SetNumOfKaon0s(Int_t Ptr) {fNumberOfKaon0s = Ptr;} | |
97 | ||
98 | void SetTotalMomentum(Float_t P) {fTotalP = P;} | |
99 | void SetMeanPt(Float_t Pt) {fMeanPt = Pt;} | |
100 | void SetMaxPt(Float_t Pt) {fMaxPt = Pt;} | |
101 | ||
b45e5084 | 102 | void SetNeutralTotalMomentum(Float_t f) {fTotalNeutralP = f;} |
103 | void SetNeutralMeanPt(Float_t f) {fMeanNeutralPt = f;} | |
104 | void SetNeutralMaxPt(Float_t f) {fMaxNeutralPt = f;} | |
f3a97c86 | 105 | |
b45e5084 | 106 | void SetEventPlaneAngle(Float_t f) {fEventPlaneAngle = f;} |
107 | void SetHBTRadii(Float_t f) {fHBTRadii = f;} | |
f3a97c86 | 108 | |
109 | ||
110 | ||
cb1645b7 | 111 | Int_t GetEventId() const {return fAliceEventId;} |
112 | const char *GetGUID() const {return fGUID;} | |
e16601cf | 113 | |
114 | const char *GetMD5() const {return fmd5;} | |
115 | const char *GetTURL() const {return fturl;} | |
116 | Long64_t GetSize() const {return fsize;} | |
f3a97c86 | 117 | |
cb1645b7 | 118 | Int_t GetNumOfParticipants() const {return fNumberOfParticipants;} |
119 | Float_t GetImpactParameter() const {return fImpactParameter;} | |
f3a97c86 | 120 | |
cb1645b7 | 121 | Float_t GetVertexX() const {return fPrimaryVertexX;} |
122 | Float_t GetVertexY() const {return fPrimaryVertexY;} | |
123 | Float_t GetVertexZ() const {return fPrimaryVertexZ;} | |
f3a97c86 | 124 | |
cb1645b7 | 125 | Int_t GetVertexFlag() const {return fPrimaryVertexFlag;} |
126 | Float_t GetVertexZError() const {return fPrimaryVertexZError;} | |
f3a97c86 | 127 | |
cb1645b7 | 128 | Int_t GetTrigger() const {return fTriggerInfo;} |
f3a97c86 | 129 | |
cb1645b7 | 130 | Float_t GetZDCNeutronEnergy() const {return fZDCNeutronEnergy;} |
131 | Float_t GetZDCProtonEnergy() const {return fZDCProtonEnergy;} | |
132 | Float_t GetZDCEMEnergy() const {return fZDCEMEnergy;} | |
f3a97c86 | 133 | |
cb1645b7 | 134 | Float_t GetT0VertexZ() const {return fT0VertexZ;} |
f3a97c86 | 135 | |
cb1645b7 | 136 | Int_t GetNumOfTracks() const {return fNumberOfTracks;} |
137 | Int_t GetNumOfPosTracks() const {return fNumberOfPositiveTracks;} | |
138 | Int_t GetNumOfNegTracks() const {return fNumberOfNegativeTracks;} | |
139 | Int_t GetNumOfNeutrTracks() const {return fNumberOfNeutralTracks;} | |
f3a97c86 | 140 | |
cb1645b7 | 141 | Int_t GetNumOfV0s() const {return fNumberOfV0s;} |
142 | Int_t GetNumOfCascades() const {return fNumberOfCascades;} | |
143 | Int_t GetNumOfKinks() const {return fNumberOfKinks;} | |
f3a97c86 | 144 | |
cb1645b7 | 145 | Int_t GetNumOfPMDTracks() const {return fNumberOfPMDTracks;} |
146 | Int_t GetNumOfPHOSTracks() const {return fNumberOfPHOSTracks;} | |
147 | Int_t GetNumOfEMCALTracks() const {return fNumberOfEMCALTracks;} | |
148 | Int_t GetNumOfFMDTracks() const {return fNumberOfFMDTracks;} | |
f3a97c86 | 149 | |
cb1645b7 | 150 | Int_t GetNumOfJetCandidates() const {return fNumberOfJetCandidates;} |
151 | Int_t GetNumOfHardPhotonsCandidates() const {return fNumberOfHardPhotonsCandidates;} | |
f3a97c86 | 152 | |
cb1645b7 | 153 | Float_t GetMaxJetEnergy() const {return fMaxJetEnergy;} |
154 | Float_t GetMaxNeutralEnergy() const {return fMaxNeutralEnergy;} | |
155 | ||
156 | Int_t GetNumOfChargedAbove1GeV() const {return fNumberOfChargedAbove1GeV;} | |
157 | Int_t GetNumOfChargedAbove3GeV() const {return fNumberOfChargedAbove3GeV;} | |
158 | Int_t GetNumOfChargedAbove10GeV() const {return fNumberOfChargedAbove10GeV;} | |
159 | Int_t GetNumOfMuonsAbove1GeV() const {return fNumberOfMuonsAbove1GeV;} | |
160 | Int_t GetNumOfMuonsAbove3GeV() const {return fNumberOfMuonsAbove3GeV;} | |
161 | Int_t GetNumOfMuonsAbove10GeV() const {return fNumberOfMuonsAbove10GeV;} | |
162 | Int_t GetNumOfElectronsAbove1GeV() const {return fNumberOfElectronsAbove1GeV;} | |
163 | Int_t GetNumOfElectronsAbove3GeV() const {return fNumberOfElectronsAbove3GeV;} | |
164 | Int_t GetNumOfElectronsAbove10GeV() const {return fNumberOfElectronsAbove10GeV;} | |
165 | ||
166 | Int_t GetNumOfElectrons() const {return fNumberOfElectrons;} | |
167 | Int_t GetNumOfMuons() const {return fNumberOfMuons;} | |
168 | Int_t GetNumOfPions() const {return fNumberOfPions;} | |
169 | Int_t GetNumOfKaons() const {return fNumberOfKaons;} | |
170 | Int_t GetNumOfProtons() const {return fNumberOfProtons;} | |
171 | Int_t GetNumOfLambdas() const {return fNumberOfLambdas;} | |
f3a97c86 | 172 | |
cb1645b7 | 173 | Int_t GetNumOfPhotons() const {return fNumberOfPhotons;} |
174 | Int_t GetNumOfPi0s() const {return fNumberOfPi0s;} | |
175 | Int_t GetNumOfNeutrons() const {return fNumberOfNeutrons;} | |
176 | Int_t GetNumOfKaon0s() const {return fNumberOfKaon0s;} | |
f3a97c86 | 177 | |
cb1645b7 | 178 | |
179 | Float_t GetTotalMomentum() const {return fTotalP;} | |
180 | Float_t GetMeanPt() const {return fMeanPt;} | |
181 | Float_t GetMaxPt() const {return fMaxPt;} | |
182 | ||
183 | Float_t GetNeutralTotalMomentum() const {return fTotalNeutralP;} | |
184 | Float_t GetNeutralMeanPt() const {return fMeanNeutralPt;} | |
185 | Float_t GetNeutralMaxPt() const {return fMaxNeutralPt;} | |
186 | ||
187 | Float_t GetEventPlaneAngle() const {return fEventPlaneAngle;} | |
188 | Float_t GetHBTRadii() const {return fHBTRadii;} | |
189 | ||
190 | private: | |
191 | Int_t fAliceEventId; //The event id | |
192 | const char *fGUID; //The unique identifier of the file | |
e16601cf | 193 | |
194 | Long64_t fsize; //the size of the file | |
195 | const char* fmd5; //another file identifier | |
196 | const char* fturl; //the file's url | |
197 | ||
cb1645b7 | 198 | Int_t fNumberOfParticipants; //Number of participants |
199 | Float_t fImpactParameter; //The impact parameter | |
4302e20f | 200 | |
cb1645b7 | 201 | Int_t fPrimaryVertexFlag; //Primary vertex flag: 0->not found, 1->found |
202 | ||
203 | Float_t fPrimaryVertexX; //Primary vertex - X coordinate | |
204 | Float_t fPrimaryVertexY; //Primary vertex - Y coordinate | |
205 | Float_t fPrimaryVertexZ; //Primary vertex - Z coordinate | |
206 | ||
207 | Float_t fPrimaryVertexZError; //Primary vertex - Z coordinate - error | |
208 | ||
209 | Int_t fTriggerInfo; //Information from trigger | |
210 | Float_t fZDCNeutronEnergy; //ZDC info - neutron | |
211 | Float_t fZDCProtonEnergy; //ZDC info - proton | |
212 | Float_t fZDCEMEnergy; //ZDC info - em | |
213 | Float_t fT0VertexZ; //T0 info | |
214 | Int_t fNumberOfTracks; //Multiplicity | |
215 | Int_t fNumberOfPositiveTracks; //Multiplicity of positive tracks | |
216 | Int_t fNumberOfNegativeTracks; //Multiplicity of negative tracks | |
217 | Int_t fNumberOfNeutralTracks; //Multiplicity of neutral tracks | |
218 | Int_t fNumberOfV0s; //Number of V0s | |
219 | Int_t fNumberOfCascades; //Number of cascades | |
220 | Int_t fNumberOfKinks; //Number of kinks | |
221 | Int_t fNumberOfPMDTracks; //PMD tracks | |
222 | Int_t fNumberOfPHOSTracks; //PHOS tracks | |
223 | Int_t fNumberOfEMCALTracks; //EMCAL tracks | |
224 | Int_t fNumberOfFMDTracks; //FMD tracks | |
225 | Int_t fNumberOfJetCandidates; //Jet candidates | |
226 | ||
227 | Float_t fMaxJetEnergy; //jet energy info | |
f3a97c86 | 228 | |
cb1645b7 | 229 | Int_t fNumberOfHardPhotonsCandidates; //Hard photons candidates |
f3a97c86 | 230 | |
cb1645b7 | 231 | Float_t fMaxNeutralEnergy; //neutral energy info |
232 | ||
f3a97c86 | 233 | |
cb1645b7 | 234 | Int_t fNumberOfChargedAbove1GeV; //Number of charged above 1 GeV/c |
235 | Int_t fNumberOfChargedAbove3GeV; //Number of charged above 3 GeV/c | |
236 | Int_t fNumberOfChargedAbove10GeV; //Number of charged above 10 GeV/c | |
237 | Int_t fNumberOfMuonsAbove1GeV; //Number of muons above 1 GeV/c | |
238 | Int_t fNumberOfMuonsAbove3GeV; //Number of muons above 3 GeV/c | |
239 | Int_t fNumberOfMuonsAbove10GeV; //Number of muons above 10 GeV/c | |
240 | Int_t fNumberOfElectronsAbove1GeV; //Number of electrons above 1 GeV/c | |
241 | Int_t fNumberOfElectronsAbove3GeV; //Number of electrons above 3 GeV/c | |
242 | Int_t fNumberOfElectronsAbove10GeV; //Number of electrons above 10 GeV/c | |
f3a97c86 | 243 | |
f3a97c86 | 244 | |
f3a97c86 | 245 | |
cb1645b7 | 246 | Int_t fNumberOfElectrons; //Number of electrons |
247 | Int_t fNumberOfMuons; //Number of muons | |
248 | Int_t fNumberOfPions; //Number of pions | |
249 | Int_t fNumberOfKaons; //Number of kaons | |
250 | Int_t fNumberOfProtons; //Number of protons | |
251 | Int_t fNumberOfLambdas; //Number of lambdas | |
252 | ||
253 | Int_t fNumberOfPhotons; //Number of photons | |
254 | Int_t fNumberOfPi0s; //Number of pi0 | |
255 | Int_t fNumberOfNeutrons; //Number of neutrons | |
256 | Int_t fNumberOfKaon0s; //Number of Ks | |
257 | ||
258 | ||
259 | ||
260 | Float_t fTotalP; //Sum of the momentum per event | |
261 | Float_t fMeanPt; //Mean Pt per event | |
262 | Float_t fMaxPt; //Max Pt for each event | |
263 | ||
264 | Float_t fTotalNeutralP; //Sum of the momentum per event for neutral | |
265 | Float_t fMeanNeutralPt; //Mean Pt per event for neutral | |
266 | Float_t fMaxNeutralPt; //Max Pt for each event for neutral | |
267 | ||
268 | Float_t fEventPlaneAngle; //event plane info | |
269 | Float_t fHBTRadii; //HBT info | |
f3a97c86 | 270 | |
e16601cf | 271 | ClassDef(AliEventTag,4) //(ClassName, ClassVersion) |
f3a97c86 | 272 | }; |
273 | //______________________________________________________________________________ | |
274 | ||
275 | ||
276 | #endif |