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