]>
Commit | Line | Data |
---|---|---|
c7e89ea3 | 1 | #ifndef ALIEVENTTAGCUTS_H |
2 | #define ALIEVENTTAGCUTS_H | |
3 | /* See cxx source for full Copyright notice */ | |
4 | ||
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //------------------------------------------------------------------------- | |
9 | // Class AliEventTagCuts | |
10 | // This is the class for the cuts in event tags | |
11 | // | |
12 | // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch | |
13 | //------------------------------------------------------------------------- | |
14 | ||
15 | #include <TObject.h> | |
16 | ||
17 | class AliEventTag; | |
18 | ||
7e73fbbd | 19 | //___________________________________________________________________________ |
20 | class AliEventTagCuts : public TObject { | |
c7e89ea3 | 21 | public: |
22 | AliEventTagCuts(); | |
c7e89ea3 | 23 | ~AliEventTagCuts(); |
c7e89ea3 | 24 | void Reset(); |
25 | ||
7e3c2e04 | 26 | //____________________________________________________// |
27 | void SetPeriodNumberRange(UInt_t n1, UInt_t n2); | |
28 | void SetOrbitNumberRange(UInt_t n1, UInt_t n2); | |
29 | void SetBunchCrossNumberRange(UShort_t n1, UShort_t n2); | |
30 | ||
31 | void SetEventType(UInt_t ntype); | |
32 | ||
915d9c13 | 33 | void SetNParticipantsRange(Int_t low, Int_t high); |
34 | void SetImpactParamRange(Float_t low, Float_t high); | |
c7e89ea3 | 35 | |
a01e4203 | 36 | void SetEtaLeadingParticleRange(Float_t low, Float_t high); |
37 | void SetPhiLeadingParticleRange(Float_t low, Float_t high); | |
915d9c13 | 38 | void SetPrimaryVertexXRange(Float_t low, Float_t high); |
39 | void SetPrimaryVertexYRange(Float_t low, Float_t high); | |
40 | void SetPrimaryVertexZRange(Float_t low, Float_t high); | |
41 | void SetPrimaryVertexFlag(Int_t flag); | |
42 | void SetPrimaryVertexZErrorRange(Float_t low, Float_t high); | |
7e73fbbd | 43 | |
915d9c13 | 44 | void SetTriggerMask(ULong64_t trmask); |
45 | void SetTriggerCluster(UChar_t trcluster); | |
46 | ||
47 | void SetZDCNeutron1Range(Float_t low, Float_t high); | |
48 | void SetZDCProton1Range(Float_t low, Float_t high); | |
49 | void SetZDCEMRange(Float_t low, Float_t high); | |
50 | void SetZDCNeutron2Range(Float_t low, Float_t high); | |
51 | void SetZDCProton2Range(Float_t low, Float_t high); | |
52 | void SetT0VertexZRange(Float_t low, Float_t high); | |
53 | ||
54 | void SetMultiplicityRange(Int_t low, Int_t high); | |
55 | void SetPosMultiplicityRange(Int_t low, Int_t high); | |
56 | void SetNegMultiplicityRange(Int_t low, Int_t high); | |
57 | void SetNeutrMultiplicityRange(Int_t low, Int_t high); | |
58 | void SetNV0sRange(Int_t low, Int_t high); | |
59 | void SetNCascadesRange(Int_t low, Int_t high); | |
60 | void SetNKinksRange(Int_t low, Int_t high); | |
c7e89ea3 | 61 | |
915d9c13 | 62 | void SetNPMDTracksRange(Int_t low, Int_t high); |
63 | void SetNFMDTracksRange(Int_t low, Int_t high); | |
64 | void SetNPHOSClustersRange(Int_t low, Int_t high); | |
65 | void SetNEMCALClustersRange(Int_t low, Int_t high); | |
66 | void SetNJetCandidatesRange(Int_t low, Int_t high); | |
7e73fbbd | 67 | |
915d9c13 | 68 | void SetTopJetEnergyMin(Float_t low); |
69 | void SetTopNeutralEnergyMin(Float_t low); | |
70 | void SetNHardPhotonsRange(Int_t low, Int_t high); | |
71 | void SetNChargedAbove1GeVRange(Int_t low, Int_t high); | |
72 | void SetNChargedAbove3GeVRange(Int_t low, Int_t high); | |
73 | void SetNChargedAbove10GeVRange(Int_t low, Int_t high); | |
74 | void SetNMuonsAbove1GeVRange(Int_t low, Int_t high); | |
75 | void SetNMuonsAbove3GeVRange(Int_t low, Int_t high); | |
76 | void SetNMuonsAbove10GeVRange(Int_t low, Int_t high); | |
77 | void SetNElectronsAbove1GeVRange(Int_t low, Int_t high); | |
78 | void SetNElectronsAbove3GeVRange(Int_t low, Int_t high); | |
79 | void SetNElectronsAbove10GeVRange(Int_t low, Int_t high); | |
80 | void SetNElectronRange(Int_t low, Int_t high); | |
d3893274 | 81 | void SetNFWMuonRange(Int_t low, Int_t high); |
915d9c13 | 82 | void SetNMuonRange(Int_t low, Int_t high); |
83 | void SetNPionRange(Int_t low, Int_t high); | |
84 | void SetNKaonRange(Int_t low, Int_t high); | |
85 | void SetNProtonRange(Int_t low, Int_t high); | |
86 | void SetNLambdaRange(Int_t low, Int_t high); | |
87 | void SetNPhotonRange(Int_t low, Int_t high); | |
88 | void SetNPi0Range(Int_t low, Int_t high); | |
89 | void SetNNeutronRange(Int_t low, Int_t high); | |
90 | void SetNKaon0Range(Int_t low, Int_t high); | |
91 | void SetTotalPRange(Float_t low, Float_t high); | |
92 | void SetMeanPtRange(Float_t low, Float_t high); | |
93 | void SetTopPtMin(Float_t low); | |
94 | void SetTotalNeutralPRange(Float_t low, Float_t high); | |
95 | void SetMeanNeutralPtPRange(Float_t low, Float_t high); | |
96 | void SetTopNeutralPtMin(Float_t low); | |
63fafb59 | 97 | void SetEventPlaneAngleRange(Float_t low, Float_t high); |
915d9c13 | 98 | void SetHBTRadiiRange(Float_t low, Float_t high); |
c7e89ea3 | 99 | |
7e3c2e04 | 100 | //First physics |
101 | void SetNumberOfFiredChipsLayer1Range(Int_t low, Int_t high); | |
102 | void SetNumberOfFiredChipsLayer2Range(Int_t low, Int_t high); | |
103 | void SetNumberOfSPDTrackletsRange(Int_t low, Int_t high); | |
104 | ||
c7e89ea3 | 105 | Bool_t IsAccepted(AliEventTag *EvTag) const; |
106 | ||
7e73fbbd | 107 | //____________________________________________________// |
c7e89ea3 | 108 | private: |
7e3c2e04 | 109 | UInt_t fPeriodNumberMin, fPeriodNumberMax; //min/max value of the period number |
110 | Bool_t fPeriodNumberFlag; // Shows whether this cut is used or not | |
111 | ||
112 | UInt_t fOrbitNumberMin, fOrbitNumberMax; //min/max value of the orbit number | |
113 | Bool_t fOrbitNumberFlag; // Shows whether this cut is used or not | |
114 | ||
115 | UShort_t fBunchCrossNumberMin, fBunchCrossNumberMax; //min/max value of the bunch crossing number | |
116 | Bool_t fBunchCrossNumberFlag; // Shows whether this cut is used or not | |
117 | ||
118 | UInt_t fEventType; //event type == 7 ==> PHYSICS_EVENT | |
119 | Bool_t fEventTypeFlag; // Shows whether this cut is used or not | |
120 | ||
63fafb59 | 121 | Int_t fNParticipantsMin, fNParticipantsMax; // # participants range |
122 | Bool_t fNParticipantsFlag; // Shows whether this cut is used or not | |
123 | Float_t fImpactParamMin, fImpactParamMax; // Impact parameter range | |
124 | Bool_t fImpactParamFlag; // Shows whether this cut is used or not | |
125 | ||
a01e4203 | 126 | Float_t fEtaMin, fEtaMax; // Definition of the range of the eta leading |
127 | Bool_t fEtaFlag; // Shows whether this cut is used or not | |
128 | Float_t fPhiMin, fPhiMax; // Definition of the range of the phi leading | |
129 | Bool_t fPhiFlag; // Shows whether this cut is used or not | |
130 | ||
63fafb59 | 131 | Float_t fVxMin, fVxMax; // Definition of the range of the Vx |
132 | Bool_t fVxFlag; // Shows whether this cut is used or not | |
133 | Float_t fVyMin, fVyMax; // Definition of the range of the Vy | |
134 | Bool_t fVyFlag; // Shows whether this cut is used or not | |
135 | Float_t fVzMin, fVzMax; // Definition of the range of the Vz | |
136 | Bool_t fVzFlag; // Shows whether this cut is used or not | |
137 | Int_t fPrimaryVertexFlag; // Primary vertex flag: 0->not found, 1->found | |
138 | Bool_t fPVFlag; // Shows whether this cut is used or not | |
139 | Float_t fPrimaryVertexZErrorMin, fPrimaryVertexZErrorMax; // Range of the primary vertex z error | |
140 | Bool_t fPVzErrorFlag; // Shows whether this cut is used or not | |
141 | ||
142 | ULong64_t fTriggerMask; // trigger mask definition | |
143 | Bool_t fTriggerMaskFlag; // Shows whether this cut is used or not | |
144 | UChar_t fTriggerCluster; // trigger cluster definition | |
145 | Bool_t fTriggerClusterFlag; // Shows whether this cut is used or not | |
c7e89ea3 | 146 | |
63fafb59 | 147 | Float_t fZDCNeutron1EnergyMin, fZDCNeutron1EnergyMax; // ZDC min,max - neutron |
148 | Bool_t fZDCNeutron1EnergyFlag; // Shows whether this cut is used or not | |
149 | Float_t fZDCProton1EnergyMin, fZDCProton1EnergyMax; // ZDC min,max - proton | |
150 | Bool_t fZDCProton1EnergyFlag; // Shows whether this cut is used or not | |
151 | Float_t fZDCNeutron2EnergyMin, fZDCNeutron2EnergyMax; // ZDC min,max - neutron | |
152 | Bool_t fZDCNeutron2EnergyFlag; // Shows whether this cut is used or not | |
153 | Float_t fZDCProton2EnergyMin, fZDCProton2EnergyMax; // ZDC min,max - proton | |
154 | Bool_t fZDCProton2EnergyFlag; // Shows whether this cut is used or not | |
155 | Float_t fZDCEMEnergyMin, fZDCEMEnergyMax; // ZDC min,max - em | |
156 | Bool_t fZDCEMEnergyFlag; // Shows whether this cut is used or not | |
157 | Float_t fT0VertexZMin, fT0VertexZMax; // T0 min, max | |
158 | Bool_t fT0VertexZFlag; // Shows whether this cut is used or not | |
159 | ||
160 | Int_t fMultMin, fMultMax; // Definition of the range of the multiplicity | |
161 | Bool_t fMultFlag; // Shows whether this cut is used or not | |
162 | Int_t fPosMultMin, fPosMultMax; // Positive tracks multiplicity range | |
163 | Bool_t fPosMultFlag; // Shows whether this cut is used or not | |
164 | Int_t fNegMultMin, fNegMultMax; // Negative tracks multiplicity range | |
165 | Bool_t fNegMultFlag; // Shows whether this cut is used or not | |
166 | Int_t fNeutrMultMin, fNeutrMultMax; // Neutral tracks multiplicity range | |
167 | Bool_t fNeutrMultFlag; // Shows whether this cut is used or not | |
168 | Int_t fNV0sMin, fNV0sMax; // Range of # of V0s | |
169 | Bool_t fNV0sFlag; // Shows whether this cut is used or not | |
170 | Int_t fNCascadesMin, fNCascadesMax; // Range of # of cascades | |
171 | Bool_t fNCascadesFlag; // Shows whether this cut is used or not | |
172 | Int_t fNKinksMin, fNKinksMax; // Range of # of kinks | |
173 | Bool_t fNKinksFlag; // Shows whether this cut is used or not | |
c7e89ea3 | 174 | |
63fafb59 | 175 | Int_t fNPMDTracksMin, fNPMDTracksMax; // Range of # of PMD tracks |
176 | Bool_t fNPMDTracksFlag; // Shows whether this cut is used or not | |
177 | Int_t fNFMDTracksMin, fNFMDTracksMax; // Range of # of FMD tracks | |
178 | Bool_t fNFMDTracksFlag; // Shows whether this cut is used or not | |
179 | Int_t fNPHOSClustersMin, fNPHOSClustersMax; // Range of # of PHOS clusters | |
180 | Bool_t fNPHOSClustersFlag; // Shows whether this cut is used or not | |
181 | Int_t fNEMCALClustersMin, fNEMCALClustersMax; // Range of # of EMCAL clusters | |
182 | Bool_t fNEMCALClustersFlag; // Shows whether this cut is used or not | |
183 | Int_t fNJetCandidatesMin, fNJetCandidatesMax; // Range of # of jet candidates | |
184 | Bool_t fNJetCandidatesFlag; // Shows whether this cut is used or not | |
185 | ||
186 | Float_t fTopJetEnergyMin; // top jet energy minimum value | |
187 | Bool_t fTopJetEnergyMinFlag; // Shows whether this cut is used or not | |
188 | Float_t fTopNeutralEnergyMin; // top neutral energy minimum value | |
189 | Bool_t fTopNeutralEnergyMinFlag; // Shows whether this cut is used or not | |
c7e89ea3 | 190 | |
63fafb59 | 191 | Int_t fNHardPhotonCandidatesMin, fNHardPhotonCandidatesMax; // # of hard photons candidates |
192 | Bool_t fNHardPhotonCandidatesFlag; // Shows whether this cut is used or not | |
193 | Int_t fNChargedAbove1GeVMin, fNChargedAbove1GeVMax; // Definition of the range of the # of charged above 1GeV | |
194 | Bool_t fNChargedAbove1GeVFlag; // Shows whether this cut is used or not | |
195 | Int_t fNChargedAbove3GeVMin, fNChargedAbove3GeVMax; // Definition of the range of the # of charged above 3GeV | |
196 | Bool_t fNChargedAbove3GeVFlag; // Shows whether this cut is used or not | |
197 | Int_t fNChargedAbove10GeVMin, fNChargedAbove10GeVMax; // Definition of the range of the # of charged above 10GeV | |
198 | Bool_t fNChargedAbove10GeVFlag; // Shows whether this cut is used or not | |
199 | Int_t fNMuonsAbove1GeVMin, fNMuonsAbove1GeVMax; // Definition of the range of the # of muons above 1GeV | |
200 | Bool_t fNMuonsAbove1GeVFlag; // Shows whether this cut is used or not | |
201 | Int_t fNMuonsAbove3GeVMin, fNMuonsAbove3GeVMax; // Definition of the range of the # of muons above 3GeV | |
202 | Bool_t fNMuonsAbove3GeVFlag; // Shows whether this cut is used or not | |
203 | Int_t fNMuonsAbove10GeVMin, fNMuonsAbove10GeVMax; // Definition of the range of the # of muons above 10GeV | |
204 | Bool_t fNMuonsAbove10GeVFlag; // Shows whether this cut is used or not | |
205 | Int_t fNElectronsAbove1GeVMin, fNElectronsAbove1GeVMax; // Definition of the range of the # of electorns above 1GeV | |
206 | Bool_t fNElectronsAbove1GeVFlag; // Shows whether this cut is used or not | |
207 | Int_t fNElectronsAbove3GeVMin, fNElectronsAbove3GeVMax; // Definition of the range of the # of electorns above 3GeV | |
208 | Bool_t fNElectronsAbove3GeVFlag; // Shows whether this cut is used or not | |
209 | Int_t fNElectronsAbove10GeVMin,fNElectronsAbove10GeVMax; // Definition of the range of the # of electorns above 10GeV | |
210 | Bool_t fNElectronsAbove10GeVFlag; // Shows whether this cut is used or not | |
211 | Int_t fNElectronsMin, fNElectronsMax; // # of electrons range | |
212 | Bool_t fNElectronsFlag; // Shows whether this cut is used or not | |
d3893274 | 213 | Int_t fNFWMuonsMin, fNFWMuonsMax; // # of forward muons range |
214 | Bool_t fNFWMuonsFlag; // Shows whether this cut is used or not | |
63fafb59 | 215 | Int_t fNMuonsMin, fNMuonsMax; // # of muons range |
216 | Bool_t fNMuonsFlag; // Shows whether this cut is used or not | |
217 | Int_t fNPionsMin, fNPionsMax; // # of pions range | |
218 | Bool_t fNPionsFlag; // Shows whether this cut is used or not | |
219 | Int_t fNKaonsMin, fNKaonsMax; // # of kaons range | |
220 | Bool_t fNKaonsFlag; // Shows whether this cut is used or not | |
221 | Int_t fNProtonsMin, fNProtonsMax; // # of protons range | |
222 | Bool_t fNProtonsFlag; // Shows whether this cut is used or not | |
223 | Int_t fNLambdasMin, fNLambdasMax; // # of lambdas range | |
224 | Bool_t fNLambdasFlag; // Shows whether this cut is used or not | |
225 | Int_t fNPhotonsMin, fNPhotonsMax; // # of photons range | |
226 | Bool_t fNPhotonFlag; // Shows whether this cut is used or not | |
227 | Int_t fNPi0sMin, fNPi0sMax; // # of Pi0s range | |
228 | Bool_t fNPi0sFlag; // Shows whether this cut is used or not | |
229 | Int_t fNNeutronsMin, fNNeutronsMax; // # of neutrons range | |
230 | Bool_t fNNeutronsFlag; // Shows whether this cut is used or not | |
231 | Int_t fNKaon0sMin, fNKaon0sMax; // # of K0s range | |
232 | Bool_t fNKaon0sFlag; // Shows whether this cut is used or not | |
233 | Float_t fTotalPMin, fTotalPMax; // Range of the sum of the momentum per event | |
234 | Bool_t fTotalPFlag; // Shows whether this cut is used or not | |
235 | Float_t fMeanPtMin, fMeanPtMax; // Range of mean Pt per event | |
236 | Bool_t fMeanPtFlag; // Shows whether this cut is used or not | |
237 | Float_t fTopPtMin; // Max Pt for each event | |
238 | Bool_t fTopPtMinFlag; // Shows whether this cut is used or not | |
239 | Float_t fTotalNeutralPMin, fTotalNeutralPMax; // Sum of the momentum per event for neutral | |
240 | Bool_t fTotalNeutralPFlag; // Shows whether this cut is used or not | |
241 | Float_t fMeanNeutralPtMin, fMeanNeutralPtMax; // Mean Pt per event for neutral | |
242 | Bool_t fMeanNeutralPtFlag; // Shows whether this cut is used or not | |
243 | Float_t fTopNeutralPtMin; // Minimum value for highest Pt for the event for neutral | |
244 | Bool_t fTopNeutralPtMinFlag; // Shows whether this cut is used or not | |
245 | Float_t fEventPlaneAngleMin, fEventPlaneAngleMax; // event plane info | |
246 | Bool_t fEventPlaneAngleFlag; // Shows whether this cut is used or not | |
247 | Float_t fHBTRadiiMin, fHBTRadiiMax; // HBT info | |
248 | Bool_t fHBTRadiiFlag; // Shows whether this cut is used or not | |
c7e89ea3 | 249 | |
7e3c2e04 | 250 | Int_t fNumberOfFiredChipsLayer1Min, fNumberOfFiredChipsLayer1Max; //min/max number of fired chips - layer 1 |
251 | Bool_t fNumberOfFiredChipsLayer1Flag; // Shows whether this cut is used or not | |
252 | Int_t fNumberOfFiredChipsLayer2Min, fNumberOfFiredChipsLayer2Max; //min/max number of fired chips - layer 2 | |
253 | Bool_t fNumberOfFiredChipsLayer2Flag; // Shows whether this cut is used or not | |
254 | Int_t fNumberOfSPDTrackletsMin, fNumberOfSPDTrackletsMax; //min/max number of SPD tracklets | |
255 | Bool_t fNumberOfSPDTrackletsFlag; // Shows whether this cut is used or not | |
256 | ||
257 | ||
258 | ClassDef(AliEventTagCuts, 3) | |
7e73fbbd | 259 | }; |
c7e89ea3 | 260 | |
261 | #endif |