1 /**************************************************************************
2 * Author: Panos Christakoglou. *
3 * Contributors are mentioned in the code where appropriate. *
5 * Permission to use, copy, modify and distribute this software and its *
6 * documentation strictly for non-commercial purposes is hereby granted *
7 * without fee, provided that the above copyright notice appears in all *
8 * copies and that both the copyright notice and this permission notice *
9 * appear in the supporting documentation. The authors make no claims *
10 * about the suitability of this software for any purpose. It is *
11 * provided "as is" without express or implied warranty. *
12 **************************************************************************/
16 //-----------------------------------------------------------------
17 // AliEventTagCuts class
18 // This is the class to deal with the event tag level cuts
19 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
20 //-----------------------------------------------------------------
26 #include "AliEventTag.h"
27 #include "AliEventTagCuts.h"
29 ClassImp(AliEventTagCuts)
32 //___________________________________________________________________________
33 AliEventTagCuts::AliEventTagCuts() :
35 fPeriodNumberMin(0), fPeriodNumberMax(0xFFFFFFFF), fPeriodNumberFlag(kFALSE),
36 fOrbitNumberMin(0), fOrbitNumberMax(0xFFFFFFFF), fOrbitNumberFlag(kFALSE),
37 fBunchCrossNumberMin(0), fBunchCrossNumberMax(0xFFFF),
38 fBunchCrossNumberFlag(kFALSE),
39 fEventType(7), fEventTypeFlag(kFALSE),
40 fNParticipantsMin(-1), fNParticipantsMax(10000),
41 fNParticipantsFlag(kFALSE),
42 fImpactParamMin(-1.0), fImpactParamMax(1000.0),
43 fImpactParamFlag(kFALSE),
44 fEtaMin(-13.0), fEtaMax(13.0),
46 fPhiMin(0.), fPhiMax(2*(TMath::Pi())),
48 fVxMin(-1000.0), fVxMax(1000.0),
50 fVyMin(-1000.0), fVyMax(1000.0),
52 fVzMin(-1000.0), fVzMax(1000.0),
54 fPrimaryVertexFlag(1),
57 fPrimaryVertexZErrorMin(-10000.), fPrimaryVertexZErrorMax(10000.),
58 fPVzErrorFlag(kFALSE),
60 fTriggerMaskFlag(kFALSE),
62 fTriggerClusterFlag(kFALSE),
64 fZDCNeutron1EnergyMin(-1.0), fZDCNeutron1EnergyMax(100000.0),
65 fZDCNeutron1EnergyFlag(kFALSE),
66 fZDCProton1EnergyMin(-1.0), fZDCProton1EnergyMax(100000.0),
67 fZDCProton1EnergyFlag(kFALSE),
68 fZDCNeutron2EnergyMin(-1.0), fZDCNeutron2EnergyMax(100000.0),
69 fZDCNeutron2EnergyFlag(kFALSE),
70 fZDCProton2EnergyMin(-1.0), fZDCProton2EnergyMax(100000.0),
71 fZDCProton2EnergyFlag(kFALSE),
72 fZDCEMEnergyMin(-1.0), fZDCEMEnergyMax(100000.0),
73 fZDCEMEnergyFlag(kFALSE),
74 fT0VertexZMin(-10000.0), fT0VertexZMax(10000.0),
75 fT0VertexZFlag(kFALSE),
76 fMultMin(0), fMultMax(100000),
78 fPosMultMin(-1), fPosMultMax(100000),
80 fNegMultMin(-1), fNegMultMax(100000),
82 fNeutrMultMin(-1), fNeutrMultMax(100000),
83 fNeutrMultFlag(kFALSE),
84 fNV0sMin(-1), fNV0sMax(1000000),
86 fNCascadesMin(-1), fNCascadesMax(100000),
87 fNCascadesFlag(kFALSE),
88 fNKinksMin(-1), fNKinksMax(1000000),
91 fNPMDTracksMin(-1), fNPMDTracksMax(100000),
92 fNPMDTracksFlag(kFALSE),
93 fNFMDTracksMin(-1), fNFMDTracksMax(100000),
94 fNFMDTracksFlag(kFALSE),
95 fNPHOSClustersMin(-1), fNPHOSClustersMax(100000),
96 fNPHOSClustersFlag(kFALSE),
97 fNEMCALClustersMin(-1), fNEMCALClustersMax(100000),
98 fNEMCALClustersFlag(kFALSE),
99 fNJetCandidatesMin(-1), fNJetCandidatesMax(100000),
100 fNJetCandidatesFlag(kFALSE),
102 fTopJetEnergyMin(-1.0),
103 fTopJetEnergyMinFlag(kFALSE),
104 fTopNeutralEnergyMin(-1.0),
105 fTopNeutralEnergyMinFlag(kFALSE),
106 fNHardPhotonCandidatesMin(-1), fNHardPhotonCandidatesMax(100000),
107 fNHardPhotonCandidatesFlag(kFALSE),
108 fNChargedAbove1GeVMin(-1), fNChargedAbove1GeVMax(100000),
109 fNChargedAbove1GeVFlag(kFALSE),
110 fNChargedAbove3GeVMin(-1), fNChargedAbove3GeVMax(100000),
111 fNChargedAbove3GeVFlag(kFALSE),
112 fNChargedAbove10GeVMin(-1), fNChargedAbove10GeVMax(100000),
113 fNChargedAbove10GeVFlag(kFALSE),
114 fNMuonsAbove1GeVMin(-1), fNMuonsAbove1GeVMax(100000),
115 fNMuonsAbove1GeVFlag(kFALSE),
116 fNMuonsAbove3GeVMin(-1), fNMuonsAbove3GeVMax(100000),
117 fNMuonsAbove3GeVFlag(kFALSE),
118 fNMuonsAbove10GeVMin(-1), fNMuonsAbove10GeVMax(100000),
119 fNMuonsAbove10GeVFlag(kFALSE),
120 fNElectronsAbove1GeVMin(-1), fNElectronsAbove1GeVMax(100000),
121 fNElectronsAbove1GeVFlag(kFALSE),
122 fNElectronsAbove3GeVMin(-1), fNElectronsAbove3GeVMax(100000),
123 fNElectronsAbove3GeVFlag(kFALSE),
124 fNElectronsAbove10GeVMin(-1), fNElectronsAbove10GeVMax(100000),
125 fNElectronsAbove10GeVFlag(kFALSE),
126 fNElectronsMin(-1), fNElectronsMax(100000),
127 fNElectronsFlag(kFALSE),
128 fNFWMuonsMin(-1), fNFWMuonsMax(100000),
129 fNFWMuonsFlag(kFALSE),
130 fNMuonsMin(-1), fNMuonsMax(100000),
132 fNPionsMin(-1), fNPionsMax(100000),
134 fNKaonsMin(-1), fNKaonsMax(100000),
136 fNProtonsMin(-1), fNProtonsMax(100000),
137 fNProtonsFlag(kFALSE),
138 fNLambdasMin(-1), fNLambdasMax(100000),
139 fNLambdasFlag(kFALSE),
140 fNPhotonsMin(-1), fNPhotonsMax(100000),
141 fNPhotonFlag(kFALSE),
142 fNPi0sMin(-1), fNPi0sMax(100000),
144 fNNeutronsMin(-1), fNNeutronsMax(100000),
145 fNNeutronsFlag(kFALSE),
146 fNKaon0sMin(-1), fNKaon0sMax(100000),
147 fNKaon0sFlag(kFALSE),
148 fTotalPMin(-1.0), fTotalPMax(1000000.0),
150 fMeanPtMin(-1.0), fMeanPtMax(100000.0),
153 fTopPtMinFlag(kFALSE),
154 fTotalNeutralPMin(-1.0), fTotalNeutralPMax(1000000.0),
155 fTotalNeutralPFlag(kFALSE),
156 fMeanNeutralPtMin(-1.0), fMeanNeutralPtMax(1000000.0),
157 fMeanNeutralPtFlag(kFALSE),
158 fTopNeutralPtMin(-1.0),
159 fTopNeutralPtMinFlag(kFALSE),
160 fEventPlaneAngleMin(-10000000.0), fEventPlaneAngleMax(10000000.0),
161 fEventPlaneAngleFlag(kFALSE),
162 fHBTRadiiMin(-1.0), fHBTRadiiMax(100000.0),
163 fHBTRadiiFlag(kFALSE),
165 fNumberOfFiredChipsLayer1Min(0), fNumberOfFiredChipsLayer1Max(100000),
166 fNumberOfFiredChipsLayer1Flag(kFALSE),
167 fNumberOfFiredChipsLayer2Min(0), fNumberOfFiredChipsLayer2Max(100000),
168 fNumberOfFiredChipsLayer2Flag(kFALSE),
169 fNumberOfSPDTrackletsMin(0), fNumberOfSPDTrackletsMax(100000),
170 fNumberOfSPDTrackletsFlag(kFALSE)
172 //Default constructor which calls the Reset method.
176 //___________________________________________________________________________
177 AliEventTagCuts::~AliEventTagCuts() {
181 //___________________________________________________________________________
182 void AliEventTagCuts::Reset() {
183 //Sets dummy values to every private member.
184 fPeriodNumberFlag = kFALSE;
185 fOrbitNumberFlag = kFALSE;
186 fBunchCrossNumberFlag = kFALSE;
188 fEventTypeFlag = kFALSE;
190 fNParticipantsFlag = kFALSE;
191 fImpactParamFlag = kFALSE;
199 fPVzErrorFlag = kFALSE;
201 fTriggerMaskFlag = kFALSE;
202 fTriggerClusterFlag = kFALSE;
204 fZDCNeutron1EnergyFlag = kFALSE;
205 fZDCProton1EnergyFlag = kFALSE;
206 fZDCNeutron2EnergyFlag = kFALSE;
207 fZDCProton2EnergyFlag = kFALSE;
208 fZDCEMEnergyFlag = kFALSE;
209 fT0VertexZFlag = kFALSE;
211 fPosMultFlag = kFALSE;
212 fNegMultFlag = kFALSE;
213 fNeutrMultFlag = kFALSE;
215 fNCascadesFlag = kFALSE;
216 fNKinksFlag = kFALSE;
218 fNPMDTracksFlag = kFALSE;
219 fNFMDTracksFlag = kFALSE;
220 fNPHOSClustersFlag = kFALSE;
221 fNEMCALClustersFlag = kFALSE;
222 fNJetCandidatesFlag = kFALSE;
224 fTopJetEnergyMinFlag = kFALSE;
225 fNHardPhotonCandidatesFlag = kFALSE;
226 fTopNeutralEnergyMinFlag = kFALSE;
227 fNChargedAbove1GeVFlag = kFALSE;
228 fNChargedAbove3GeVFlag = kFALSE;
229 fNChargedAbove10GeVFlag = kFALSE;
230 fNMuonsAbove1GeVFlag = kFALSE;
231 fNMuonsAbove3GeVFlag = kFALSE;
232 fNMuonsAbove10GeVFlag = kFALSE;
233 fNElectronsAbove1GeVFlag = kFALSE;
234 fNElectronsAbove3GeVFlag = kFALSE;
235 fNElectronsAbove10GeVFlag = kFALSE;
236 fNElectronsFlag = kFALSE;
237 fNFWMuonsFlag = kFALSE;
238 fNMuonsFlag = kFALSE;
239 fNPionsFlag = kFALSE;
240 fNKaonsFlag = kFALSE;
241 fNProtonsFlag = kFALSE;
242 fNLambdasFlag = kFALSE;
243 fNPhotonFlag = kFALSE;
245 fNNeutronsFlag = kFALSE;
246 fNKaon0sFlag = kFALSE;
247 fTotalPFlag = kFALSE;
248 fMeanPtFlag = kFALSE;
249 fTopPtMinFlag = kFALSE;
250 fTotalNeutralPFlag = kFALSE;
251 fMeanNeutralPtFlag = kFALSE;
252 fTopNeutralPtMinFlag = kFALSE;
253 fEventPlaneAngleFlag = kFALSE;
254 fHBTRadiiFlag = kFALSE;
256 fNumberOfFiredChipsLayer1Flag = kFALSE;
257 fNumberOfFiredChipsLayer2Flag = kFALSE;
258 fNumberOfSPDTrackletsFlag = kFALSE;
260 fPeriodNumberMin = 0, fPeriodNumberMax = 0xFFFFFFFF;
261 fOrbitNumberMin = 0, fOrbitNumberMax = 0xFFFFFFFF;
262 fBunchCrossNumberMin = 0, fBunchCrossNumberMax = 0xFFFF;
266 fEtaMin = -13.0; fEtaMax = 13.0;
267 fPhiMin = 0.; fPhiMax = 2*(TMath::Pi());
268 fVxMin = -1000.0; fVxMax = 1000.0;
269 fVyMin = -1000.0; fVyMax = 1000.0;
270 fVzMin = -1000.0; fVzMax = 1000.0;
271 fNParticipantsMin = -1; fNParticipantsMax = 10000;
272 fImpactParamMin = -1.0; fImpactParamMax = 1000.0;
273 fPrimaryVertexFlag = 1;
275 fPrimaryVertexZErrorMin = -10000.; fPrimaryVertexZErrorMax = 10000.;
279 fZDCNeutron1EnergyMin = -1.0; fZDCNeutron1EnergyMax = 100000.0;
280 fZDCProton1EnergyMin = -1.0; fZDCProton1EnergyMax = 100000.0;
281 fZDCNeutron2EnergyMin = -1.0; fZDCNeutron2EnergyMax = 100000.0;
282 fZDCProton2EnergyMin = -1.0; fZDCProton2EnergyMax = 100000.0;
283 fZDCEMEnergyMin = -1.0; fZDCEMEnergyMax = 100000.0;
284 fT0VertexZMin = -10000.0; fT0VertexZMax = 10000.0;
285 fMultMin = 0; fMultMax = 100000;
286 fPosMultMin = -1; fPosMultMax = 100000;
287 fNegMultMin = -1; fNegMultMax = 100000;
288 fNeutrMultMin = -1; fNeutrMultMax = 100000;
289 fNV0sMin = -1; fNV0sMax = 1000000;
290 fNCascadesMin = -1; fNCascadesMax = 100000;
291 fNKinksMin = -1; fNKinksMax = 1000000;
293 fNPMDTracksMin = -1, fNPMDTracksMax = 100000;
294 fNFMDTracksMin = -1, fNFMDTracksMax = 100000;
295 fNPHOSClustersMin = -1, fNPHOSClustersMax = 100000;
296 fNEMCALClustersMin = -1, fNEMCALClustersMax = 100000;
297 fNJetCandidatesMin = -1, fNJetCandidatesMax = 100000;
299 fTopJetEnergyMin = -1.0;
300 fNHardPhotonCandidatesMin = -1; fNHardPhotonCandidatesMax = 100000;
301 fTopNeutralEnergyMin = -1.0;
302 fNChargedAbove1GeVMin = -1; fNChargedAbove1GeVMax = 100000;
303 fNChargedAbove3GeVMin = -1; fNChargedAbove3GeVMax = 100000;
304 fNChargedAbove10GeVMin = -1; fNChargedAbove10GeVMax = 100000;
305 fNMuonsAbove1GeVMin = -1; fNMuonsAbove1GeVMax = 100000;
306 fNMuonsAbove3GeVMin = -1; fNMuonsAbove3GeVMax = 100000;
307 fNMuonsAbove10GeVMin = -1; fNMuonsAbove10GeVMax = 100000;
308 fNElectronsAbove1GeVMin = -1; fNElectronsAbove1GeVMax = 100000;
309 fNElectronsAbove3GeVMin = -1; fNElectronsAbove3GeVMax = 100000;
310 fNElectronsAbove10GeVMin = -1; fNElectronsAbove10GeVMax = 100000;
311 fNElectronsMin = -1; fNElectronsMax = 100000;
312 fNFWMuonsMin = -1; fNFWMuonsMax = 100000;
313 fNMuonsMin = -1; fNMuonsMax = 100000;
314 fNPionsMin = -1; fNPionsMax = 100000;
315 fNKaonsMin = -1; fNKaonsMax = 100000;
316 fNProtonsMin = -1; fNProtonsMax = 100000;
317 fNLambdasMin = -1; fNLambdasMax = 100000;
318 fNPhotonsMin = -1; fNPhotonsMax = 100000;
319 fNPi0sMin = -1; fNPi0sMax = 100000;
320 fNNeutronsMin = -1; fNNeutronsMax = 100000;
321 fNKaon0sMin = -1; fNKaon0sMax = 100000;
322 fTotalPMin = -1.0; fTotalPMax = 1000000.0;
323 fMeanPtMin = -1.0; fMeanPtMax = 100000.0;
324 fTopPtMin = -1.0; fTotalNeutralPMin = -1.0;
325 fTotalNeutralPMax = 1000000.0;
326 fMeanNeutralPtMin = -1.0; fMeanNeutralPtMax = 1000000.0;
327 fTopNeutralPtMin = -1.0;
328 fEventPlaneAngleMin = -10000000.0; fEventPlaneAngleMax = 10000000.0;
329 fHBTRadiiMin = -1.0; fHBTRadiiMax = 100000.0;
331 fNumberOfFiredChipsLayer1Min = 0, fNumberOfFiredChipsLayer1Max = 100000;
332 fNumberOfFiredChipsLayer2Min = 0, fNumberOfFiredChipsLayer2Max = 100000;
333 fNumberOfSPDTrackletsMin = 0, fNumberOfSPDTrackletsMax = 100000;
336 //___________________________________________________________________________
337 void AliEventTagCuts::SetEventType(UInt_t ntype) {
338 //Sets the event type
339 //and the corresponding flag to kTRUE if the cut is used.
341 fEventTypeFlag = kTRUE;
344 //___________________________________________________________________________
345 void AliEventTagCuts::SetNumberOfFiredChipsLayer1Range(Int_t low, Int_t high) {
346 //Sets the range for the number of fired chips of layer 1
347 //and the corresponding flag to kTRUE if the cut is used.
348 fNumberOfFiredChipsLayer1Min = low;
349 fNumberOfFiredChipsLayer1Max = high;
350 fNumberOfFiredChipsLayer1Flag = kTRUE;
353 //___________________________________________________________________________
354 void AliEventTagCuts::SetNumberOfFiredChipsLayer2Range(Int_t low, Int_t high) {
355 //Sets the range for the number of fired chips of layer 2
356 //and the corresponding flag to kTRUE if the cut is used.
357 fNumberOfFiredChipsLayer2Min = low;
358 fNumberOfFiredChipsLayer2Max = high;
359 fNumberOfFiredChipsLayer2Flag = kTRUE;
362 //___________________________________________________________________________
363 void AliEventTagCuts::SetNumberOfSPDTrackletsRange(Int_t low, Int_t high) {
364 //Sets the range for the number of fired chips of layer 1
365 //and the corresponding flag to kTRUE if the cut is used.
366 fNumberOfSPDTrackletsMin = low;
367 fNumberOfSPDTrackletsMax = high;
368 fNumberOfSPDTrackletsFlag = kTRUE;
371 //___________________________________________________________________________
372 void AliEventTagCuts::SetPeriodNumberRange(UInt_t low, UInt_t high) {
373 //Sets the period number range
374 //and the corresponding flag to kTRUE if the cut is used.
375 fPeriodNumberMin = low;
376 fPeriodNumberMax = high;
377 fPeriodNumberFlag = kTRUE;
380 //___________________________________________________________________________
381 void AliEventTagCuts::SetOrbitNumberRange(UInt_t low, UInt_t high) {
382 //Sets the orbit number range
383 //and the corresponding flag to kTRUE if the cut is used.
384 fOrbitNumberMin = low;
385 fOrbitNumberMax = high;
386 fOrbitNumberFlag = kTRUE;
389 //___________________________________________________________________________
390 void AliEventTagCuts::SetBunchCrossNumberRange(UShort_t low, UShort_t high) {
391 //Sets the BC number range
392 //and the corresponding flag to kTRUE if the cut is used.
393 fBunchCrossNumberMin = low;
394 fBunchCrossNumberMax = high;
395 fBunchCrossNumberFlag = kTRUE;
398 //___________________________________________________________________________
399 void AliEventTagCuts::SetPrimaryVertexXRange(Float_t low, Float_t high) {
400 //Sets the primary vertex x range
401 //and the corresponding flag to kTRUE if the cut is used.
407 //___________________________________________________________________________
408 void AliEventTagCuts::SetPrimaryVertexYRange(Float_t low, Float_t high) {
409 //Sets the primary vertex y range
410 //and the corresponding flag to kTRUE if the cut is used.
416 //___________________________________________________________________________
417 void AliEventTagCuts::SetPrimaryVertexZRange(Float_t low, Float_t high) {
418 //Sets the primary vertex z range
419 //and the corresponding flag to kTRUE if the cut is used.
425 //___________________________________________________________________________
426 void AliEventTagCuts::SetEtaLeadingParticleRange(Float_t low, Float_t high) {
427 //Sets the eta range of LP
428 //and the corresponding flag to kTRUE if the cut is used.
433 //__________________________________________________________________________
434 void AliEventTagCuts::SetPhiLeadingParticleRange(Float_t low, Float_t high) {
435 //Sets the eta range of LP
436 //and the corresponding flag to kTRUE if the cut is used.
442 //___________________________________________________________________________
443 void AliEventTagCuts::SetPrimaryVertexZErrorRange(Float_t low, Float_t high) {
444 //Sets the primary vertex z error range
445 //and the corresponding flag to kTRUE if the cut is used.
446 fPrimaryVertexZErrorMin = low;
447 fPrimaryVertexZErrorMax = high;
448 fPVzErrorFlag = kTRUE;
451 //___________________________________________________________________________
452 void AliEventTagCuts::SetTriggerMask(ULong64_t trmask) {
453 //Sets the trigger mask
454 //and the corresponding flag to kTRUE if the cut is used.
455 fTriggerMask = trmask;
456 fTriggerMaskFlag = kTRUE;
459 //___________________________________________________________________________
460 void AliEventTagCuts::SetTriggerCluster(UChar_t trcluster) {
461 //Sets the trigger cluster
462 //and the corresponding flag to kTRUE if the cut is used.
463 fTriggerCluster = trcluster;
464 fTriggerClusterFlag = kTRUE;
467 //___________________________________________________________________________
468 void AliEventTagCuts::SetMultiplicityRange(Int_t low, Int_t high) {
469 //Sets the primary multiplicity range
470 //and the corresponding flag to kTRUE if the cut is used.
476 //___________________________________________________________________________
477 void AliEventTagCuts::SetNParticipantsRange(Int_t low, Int_t high) {
478 //Sets the number of participants range
479 //and the corresponding flag to kTRUE if the cut is used.
480 fNParticipantsMin = low;
481 fNParticipantsMax = high;
482 fNParticipantsFlag = kTRUE;
485 //___________________________________________________________________________
486 void AliEventTagCuts::SetImpactParamRange(Float_t low, Float_t high) {
487 //Sets the impact parameter range
488 //and the corresponding flag to kTRUE if the cut is used.
489 fImpactParamMin = low;
490 fImpactParamMax = high;
491 fImpactParamFlag = kTRUE;
495 //___________________________________________________________________________
496 void AliEventTagCuts::SetPrimaryVertexFlag(Int_t flag) {
497 //Sets the primary vertex flag cut
498 //and the corresponding flag to kTRUE if the cut is used.
499 fPrimaryVertexFlag = flag;
503 //___________________________________________________________________________
504 void AliEventTagCuts::SetZDCNeutron1Range(Float_t low, Float_t high) {
505 //Sets the ZDC's neutron energy range
506 //and the corresponding flag to kTRUE if the cut is used.
507 fZDCNeutron1EnergyMin = low;
508 fZDCNeutron1EnergyMax = high;
509 fZDCNeutron1EnergyFlag = kTRUE;
512 //___________________________________________________________________________
513 void AliEventTagCuts::SetZDCProton1Range(Float_t low, Float_t high) {
514 //Sets the ZDC's proton energy range
515 //and the corresponding flag to kTRUE if the cut is used.
516 fZDCProton1EnergyMin = low;
517 fZDCProton1EnergyMax = high;
518 fZDCProton1EnergyFlag = kTRUE;
520 //___________________________________________________________________________
521 void AliEventTagCuts::SetZDCNeutron2Range(Float_t low, Float_t high) {
522 //Sets the ZDC's neutron energy range
523 //and the corresponding flag to kTRUE if the cut is used.
524 fZDCNeutron2EnergyMin = low;
525 fZDCNeutron2EnergyMax = high;
526 fZDCNeutron2EnergyFlag = kTRUE;
528 //___________________________________________________________________________
529 void AliEventTagCuts::SetZDCProton2Range(Float_t low, Float_t high) {
530 //Sets the ZDC's proton energy range
531 //and the corresponding flag to kTRUE if the cut is used.
532 fZDCProton2EnergyMin = low;
533 fZDCProton2EnergyMax = high;
534 fZDCProton2EnergyFlag = kTRUE;
536 //___________________________________________________________________________
537 void AliEventTagCuts::SetZDCEMRange(Float_t low, Float_t high) {
538 //Sets the ZDC's em energy range
539 //and the corresponding flag to kTRUE if the cut is used.
540 fZDCEMEnergyMin = low;
541 fZDCEMEnergyMax = high;
542 fZDCEMEnergyFlag = kTRUE;
545 //___________________________________________________________________________
546 void AliEventTagCuts::SetT0VertexZRange(Float_t low, Float_t high) {
547 //Sets the T0's Vz range
548 //and the corresponding flag to kTRUE if the cut is used.
550 fT0VertexZMax = high;
551 fT0VertexZFlag = kTRUE;
554 //___________________________________________________________________________
555 void AliEventTagCuts::SetPosMultiplicityRange(Int_t low, Int_t high) {
556 //Sets the positive multiplicity range
557 //and the corresponding flag to kTRUE if the cut is used.
560 fPosMultFlag = kTRUE;
564 //___________________________________________________________________________
565 void AliEventTagCuts::SetNegMultiplicityRange(Int_t low, Int_t high) {
566 //Sets the negative multiplicity range
567 //and the corresponding flag to kTRUE if the cut is used.
570 fNegMultFlag = kTRUE;
574 //___________________________________________________________________________
575 void AliEventTagCuts::SetNeutrMultiplicityRange(Int_t low, Int_t high) {
576 //Sets the neutral particle multiplicity range
577 //and the corresponding flag to kTRUE if the cut is used.
579 fNeutrMultMax = high;
580 fNeutrMultFlag = kTRUE;
583 //___________________________________________________________________________
584 void AliEventTagCuts::SetNV0sRange(Int_t low, Int_t high) {
585 //Sets the v0s multiplicity range
586 //and the corresponding flag to kTRUE if the cut is used.
592 //___________________________________________________________________________
593 void AliEventTagCuts::SetNCascadesRange(Int_t low, Int_t high) {
594 //Sets the cascades multiplicity range
595 //and the corresponding flag to kTRUE if the cut is used.
597 fNCascadesMax = high;
598 fNCascadesFlag = kTRUE;
601 //___________________________________________________________________________
602 void AliEventTagCuts::SetNKinksRange(Int_t low, Int_t high) {
603 //Sets the kinks multiplicity range
604 //and the corresponding flag to kTRUE if the cut is used.
610 //___________________________________________________________________________
611 void AliEventTagCuts::SetNPMDTracksRange(Int_t low, Int_t high) {
612 //Sets the number of PMD tracks range
613 //and the corresponding flag to kTRUE if the cut is used.
614 fNPMDTracksMin = low;
615 fNPMDTracksMax = high;
616 fNPMDTracksFlag = kTRUE;
619 //___________________________________________________________________________
620 void AliEventTagCuts::SetNFMDTracksRange(Int_t low, Int_t high) {
621 //Sets the number of FMD tracks range
622 //and the corresponding flag to kTRUE if the cut is used.
623 fNFMDTracksMin = low;
624 fNFMDTracksMax = high;
625 fNFMDTracksFlag = kTRUE;
628 //___________________________________________________________________________
629 void AliEventTagCuts::SetNPHOSClustersRange(Int_t low, Int_t high) {
630 //Sets the number of PHOS clusters range
631 //and the corresponding flag to kTRUE if the cut is used.
632 fNPHOSClustersMin = low;
633 fNPHOSClustersMax = high;
634 fNPHOSClustersFlag = kTRUE;
637 //___________________________________________________________________________
638 void AliEventTagCuts::SetNEMCALClustersRange(Int_t low, Int_t high) {
639 //Sets the number of EMCAL clusters range
640 //and the corresponding flag to kTRUE if the cut is used.
641 fNEMCALClustersMin = low;
642 fNEMCALClustersMax = high;
643 fNEMCALClustersFlag = kTRUE;
646 //___________________________________________________________________________
647 void AliEventTagCuts::SetNJetCandidatesRange(Int_t low, Int_t high) {
648 //Sets the number of jet candidates range
649 //and the corresponding flag to kTRUE if the cut is used.
650 fNJetCandidatesMin = low;
651 fNJetCandidatesMax = high;
652 fNJetCandidatesFlag = kTRUE;
655 //___________________________________________________________________________
656 void AliEventTagCuts::SetTopJetEnergyMin(Float_t low) {
657 //Sets the lower limit of the maximum jet energy
658 //and the corresponding flag to kTRUE if the cut is used.
659 fTopJetEnergyMin = low;
660 fTopJetEnergyMinFlag = kTRUE;
662 //___________________________________________________________________________
663 void AliEventTagCuts::SetTopNeutralEnergyMin(Float_t low) {
664 //Sets the lower limit of the maximum neutral jet energy
665 //and the corresponding flag to kTRUE if the cut is used.
666 fTopNeutralEnergyMin = low;
667 fTopNeutralEnergyMinFlag = kTRUE;
669 //___________________________________________________________________________
670 void AliEventTagCuts::SetNHardPhotonsRange(Int_t low, Int_t high) {
671 //Sets the hard photons multiplicity range
672 //and the corresponding flag to kTRUE if the cut is used.
673 fNHardPhotonCandidatesMin = low;
674 fNHardPhotonCandidatesMax = high;
675 fNHardPhotonCandidatesFlag = kTRUE;
678 //___________________________________________________________________________
679 void AliEventTagCuts::SetNChargedAbove1GeVRange(Int_t low, Int_t high) {
680 //Sets the number of charged above 1GeV range
681 //and the corresponding flag to kTRUE if the cut is used.
682 fNChargedAbove1GeVMin = low;
683 fNChargedAbove1GeVMax = high;
684 fNChargedAbove1GeVFlag = kTRUE;
687 //___________________________________________________________________________
688 void AliEventTagCuts::SetNChargedAbove3GeVRange(Int_t low, Int_t high) {
689 //Sets the number of charged above 3GeV range
690 //and the corresponding flag to kTRUE if the cut is used.
691 fNChargedAbove3GeVMin = low;
692 fNChargedAbove3GeVMax = high;
693 fNChargedAbove3GeVFlag = kTRUE;
697 //___________________________________________________________________________
698 void AliEventTagCuts::SetNChargedAbove10GeVRange(Int_t low, Int_t high) {
699 //Sets the number of charged above 10GeV range
700 //and the corresponding flag to kTRUE if the cut is used.
701 fNChargedAbove10GeVMin = low;
702 fNChargedAbove10GeVMax = high;
703 fNChargedAbove10GeVFlag = kTRUE;
707 //___________________________________________________________________________
708 void AliEventTagCuts::SetNMuonsAbove1GeVRange(Int_t low, Int_t high) {
709 //Sets the number of muons above 1GeV range
710 //and the corresponding flag to kTRUE if the cut is used.
711 fNMuonsAbove1GeVMin = low;
712 fNMuonsAbove1GeVMax = high;
713 fNMuonsAbove1GeVFlag = kTRUE;
717 //___________________________________________________________________________
718 void AliEventTagCuts::SetNMuonsAbove3GeVRange(Int_t low, Int_t high) {
719 //Sets the number of muons above 3GeV range
720 //and the corresponding flag to kTRUE if the cut is used.
721 fNMuonsAbove3GeVMin = low;
722 fNMuonsAbove3GeVMax = high;
723 fNMuonsAbove3GeVFlag = kTRUE;
726 //___________________________________________________________________________
727 void AliEventTagCuts::SetNMuonsAbove10GeVRange(Int_t low, Int_t high) {
728 //Sets the number of muons above 10GeV range
729 //and the corresponding flag to kTRUE if the cut is used.
730 fNMuonsAbove10GeVMin = low;
731 fNMuonsAbove10GeVMax = high;
732 fNMuonsAbove10GeVFlag = kTRUE;
736 //___________________________________________________________________________
737 void AliEventTagCuts::SetNElectronsAbove1GeVRange(Int_t low, Int_t high) {
738 //Sets the number of electrons above 1GeV range
739 //and the corresponding flag to kTRUE if the cut is used.
740 fNElectronsAbove1GeVMin = low;
741 fNElectronsAbove1GeVMax = high;
742 fNElectronsAbove1GeVFlag = kTRUE;
745 //___________________________________________________________________________
746 void AliEventTagCuts::SetNElectronsAbove3GeVRange(Int_t low, Int_t high) {
747 //Sets the number of electrons above 3GeV range
748 //and the corresponding flag to kTRUE if the cut is used.
749 fNElectronsAbove3GeVMin = low;
750 fNElectronsAbove3GeVMax = high;
751 fNElectronsAbove3GeVFlag = kTRUE;
754 //___________________________________________________________________________
755 void AliEventTagCuts::SetNElectronsAbove10GeVRange(Int_t low, Int_t high) {
756 //Sets the number of electrons above 10GeV range
757 //and the corresponding flag to kTRUE if the cut is used.
758 fNElectronsAbove10GeVMin = low;
759 fNElectronsAbove10GeVMax = high;
760 fNElectronsAbove10GeVFlag = kTRUE;
762 //___________________________________________________________________________
763 void AliEventTagCuts::SetNElectronRange(Int_t low, Int_t high) {
764 //Sets the electron multiplicity range
765 //and the corresponding flag to kTRUE if the cut is used.
766 fNElectronsMin = low;
767 fNElectronsMax = high;
768 fNElectronsFlag = kTRUE;
770 //___________________________________________________________________________
771 void AliEventTagCuts::SetNFWMuonRange(Int_t low, Int_t high) {
772 //Sets the forward muon multiplicity range
773 //and the corresponding flag to kTRUE if the cut is used.
776 fNFWMuonsFlag = kTRUE;
779 //___________________________________________________________________________
780 void AliEventTagCuts::SetNMuonRange(Int_t low, Int_t high) {
781 //Sets the muon multiplicity range
782 //and the corresponding flag to kTRUE if the cut is used.
788 //___________________________________________________________________________
789 void AliEventTagCuts::SetNPionRange(Int_t low, Int_t high) {
790 //Sets the pion multiplicity range
791 //and the corresponding flag to kTRUE if the cut is used.
797 //___________________________________________________________________________
798 void AliEventTagCuts::SetNKaonRange(Int_t low, Int_t high) {
799 //Sets the kaon multiplicity range
800 //and the corresponding flag to kTRUE if the cut is used.
806 //___________________________________________________________________________
807 void AliEventTagCuts::SetNProtonRange(Int_t low, Int_t high) {
808 //Sets the proton multiplicity range
809 //and the corresponding flag to kTRUE if the cut is used.
812 fNProtonsFlag = kTRUE;
815 //___________________________________________________________________________
816 void AliEventTagCuts::SetNLambdaRange(Int_t low, Int_t high) {
817 //Sets the lambda multiplicity range
818 //and the corresponding flag to kTRUE if the cut is used.
821 fNLambdasFlag = kTRUE;
823 //___________________________________________________________________________
824 void AliEventTagCuts::SetNPhotonRange(Int_t low, Int_t high) {
825 //Sets the photon multiplicity range
826 //and the corresponding flag to kTRUE if the cut is used.
829 fNPhotonFlag = kTRUE;
831 //___________________________________________________________________________
832 void AliEventTagCuts::SetNPi0Range(Int_t low, Int_t high) {
833 //Sets the pi0 multiplicity range
834 //and the corresponding flag to kTRUE if the cut is used.
840 //___________________________________________________________________________
841 void AliEventTagCuts::SetNNeutronRange(Int_t low, Int_t high) {
842 //Sets the neutron multiplicity range
843 //and the corresponding flag to kTRUE if the cut is used.
845 fNNeutronsMax = high;
846 fNNeutronsFlag = kTRUE;
849 //___________________________________________________________________________
850 void AliEventTagCuts::SetNKaon0Range(Int_t low, Int_t high) {
851 //Sets the K0s multiplicity range
852 //and the corresponding flag to kTRUE if the cut is used.
855 fNKaon0sFlag = kTRUE;
858 //___________________________________________________________________________
859 void AliEventTagCuts::SetTotalPRange(Float_t low, Float_t high) {
860 //Sets the total momentum range
861 //and the corresponding flag to kTRUE if the cut is used.
867 //___________________________________________________________________________
868 void AliEventTagCuts::SetMeanPtRange(Float_t low, Float_t high) {
869 //Sets the mean Pt range
870 //and the corresponding flag to kTRUE if the cut is used.
876 //___________________________________________________________________________
877 void AliEventTagCuts::SetTopPtMin(Float_t low) {
878 //Sets the lower limit of the max Pt value
879 //and the corresponding flag to kTRUE if the cut is used.
881 fTopPtMinFlag = kTRUE;
884 //___________________________________________________________________________
885 void AliEventTagCuts::SetTotalNeutralPRange(Float_t low, Float_t high) {
886 //Sets the total momentum of neutral particles range
887 //and the corresponding flag to kTRUE if the cut is used.
888 fTotalNeutralPMin =low ;
889 fTotalNeutralPMax = high;
890 fTotalNeutralPFlag = kTRUE;
892 //___________________________________________________________________________
893 void AliEventTagCuts::SetMeanNeutralPtPRange(Float_t low, Float_t high) {
894 //Sets the mean Pt of neutral particles range
895 //and the corresponding flag to kTRUE if the cut is used.
896 fMeanNeutralPtMin = low;
897 fMeanNeutralPtMax = high;
898 fMeanNeutralPtFlag = kTRUE;
900 //___________________________________________________________________________
901 void AliEventTagCuts::SetTopNeutralPtMin(Float_t low) {
902 //Sets the lower limit of the maximum Pt of neutral particles
903 //and the corresponding flag to kTRUE if the cut is used.
904 fTopNeutralPtMin = low;
905 fTopNeutralPtMinFlag = kTRUE;
908 //___________________________________________________________________________
909 void AliEventTagCuts::SetEventPlaneAngleRange(Float_t low, Float_t high) {
910 //Sets the event plane range
911 //and the corresponding flag to kTRUE if the cut is used.
912 fEventPlaneAngleMin = low;
913 fEventPlaneAngleMax = high;
914 fEventPlaneAngleFlag = kTRUE;
917 //___________________________________________________________________________
918 void AliEventTagCuts::SetHBTRadiiRange(Float_t low, Float_t high) {
919 //Sets the HBT radii range
920 //and the corresponding flag to kTRUE if the cut is used.
923 fHBTRadiiFlag = kTRUE;
926 //___________________________________________________________________________
927 Bool_t AliEventTagCuts::IsAccepted(AliEventTag *EvTag) const {
928 //Returns true if the event is accepted otherwise false.
930 if(EvTag->GetEventType() != fEventType)
933 if(fNumberOfFiredChipsLayer1Flag)
934 if((EvTag->GetNumberOfFiredChipsLayer1() < fNumberOfFiredChipsLayer1Min) || (EvTag->GetNumberOfFiredChipsLayer1() > fNumberOfFiredChipsLayer1Max))
937 if(fNumberOfFiredChipsLayer2Flag)
938 if((EvTag->GetNumberOfFiredChipsLayer2() < fNumberOfFiredChipsLayer2Min) || (EvTag->GetNumberOfFiredChipsLayer2() > fNumberOfFiredChipsLayer2Max))
941 if(fNumberOfSPDTrackletsFlag)
942 if((EvTag->GetNumberOfSPDTracklets() < fNumberOfSPDTrackletsMin) || (EvTag->GetNumberOfSPDTracklets() > fNumberOfSPDTrackletsMax))
945 if(fPeriodNumberFlag)
946 if((EvTag->GetPeriodNumber() < fPeriodNumberMin) || (EvTag->GetPeriodNumber() > fPeriodNumberMax))
950 if((EvTag->GetOrbitNumber() < fOrbitNumberMin) || (EvTag->GetOrbitNumber() > fOrbitNumberMax))
953 if(fBunchCrossNumberFlag)
954 if((EvTag->GetBunchCrossNumber() < fBunchCrossNumberMin) || (EvTag->GetBunchCrossNumber() > fBunchCrossNumberMax))
959 if((EvTag->GetEtaMaxPt() < fEtaMin) || (EvTag->GetEtaMaxPt() > fEtaMax))
963 if((EvTag->GetPhiMaxPt() < fPhiMin) || (EvTag->GetPhiMaxPt() > fPhiMax))
967 if((EvTag->GetVertexZ() < fVzMin) || (EvTag->GetVertexZ() > fVzMax))
971 if((EvTag->GetVertexY() < fVyMin) || (EvTag->GetVertexY() > fVyMax))
975 if((EvTag->GetVertexX() < fVxMin) || (EvTag->GetVertexX() > fVxMax))
978 if(fNParticipantsFlag)
979 if((EvTag->GetNumOfParticipants() < fNParticipantsMin) || (EvTag->GetNumOfParticipants() > fNParticipantsMax))
983 if((EvTag->GetImpactParameter() < fImpactParamMin) || (EvTag->GetImpactParameter() > fImpactParamMax))
987 if((EvTag->GetVertexFlag() != fPrimaryVertexFlag))
991 if((EvTag->GetVertexZError() < fPrimaryVertexZErrorMin) || (EvTag->GetVertexZError() > fPrimaryVertexZErrorMax))
994 if((EvTag->GetTriggerMask() & fTriggerMask) != fTriggerMask)
996 if(fTriggerClusterFlag)
997 if((EvTag->GetTriggerCluster() != fTriggerCluster))
1000 if(fZDCNeutron1EnergyFlag)
1001 if((EvTag->GetZDCNeutron1Energy() < fZDCNeutron1EnergyMin) || (EvTag->GetZDCNeutron1Energy() > fZDCNeutron1EnergyMax))
1004 if(fZDCProton1EnergyFlag)
1005 if((EvTag->GetZDCProton1Energy() < fZDCProton1EnergyMin) || (EvTag->GetZDCProton1Energy() > fZDCProton1EnergyMax))
1008 if(fZDCNeutron2EnergyFlag)
1009 if((EvTag->GetZDCNeutron2Energy() < fZDCNeutron2EnergyMin) || (EvTag->GetZDCNeutron2Energy() > fZDCNeutron2EnergyMax))
1012 if(fZDCProton2EnergyFlag)
1013 if((EvTag->GetZDCProton2Energy() < fZDCProton2EnergyMin) || (EvTag->GetZDCProton2Energy() > fZDCProton2EnergyMax))
1016 if(fZDCEMEnergyFlag)
1017 if((EvTag->GetZDCEMEnergy(1) < fZDCEMEnergyMin) || (EvTag->GetZDCEMEnergy(1) > fZDCEMEnergyMax))
1021 if((EvTag->GetT0VertexZ() < fT0VertexZMin) || (EvTag->GetT0VertexZ() > fT0VertexZMax))
1025 if((EvTag->GetNumOfTracks() < fMultMin) || (EvTag->GetNumOfTracks() > fMultMax))
1029 if((EvTag->GetNumOfPosTracks() < fPosMultMin) || (EvTag->GetNumOfPosTracks() > fPosMultMax))
1033 if((EvTag->GetNumOfNegTracks() < fNegMultMin) || (EvTag->GetNumOfNegTracks() > fNegMultMax))
1037 if((EvTag->GetNumOfNeutrTracks() < fNeutrMultMin) || (EvTag->GetNumOfNeutrTracks() > fNeutrMultMax))
1041 if((EvTag->GetNumOfV0s() < fNV0sMin) || (EvTag->GetNumOfV0s() > fNV0sMax))
1045 if((EvTag->GetNumOfCascades() < fNCascadesMin) || (EvTag->GetNumOfCascades() > fNCascadesMax))
1049 if((EvTag->GetNumOfKinks() < fNKinksMin) || (EvTag->GetNumOfKinks() > fNKinksMax))
1054 if((EvTag->GetNumOfPMDTracks() < fNPMDTracksMin) || (EvTag->GetNumOfPMDTracks() > fNPMDTracksMax))
1057 if((EvTag->GetNumOfFMDTracks() < fNFMDTracksMin) || (EvTag->GetNumOfFMDTracks() > fNFMDTracksMax))
1059 if(fNPHOSClustersFlag)
1060 if((EvTag->GetNumOfPHOSClusters() < fNPHOSClustersMin) || (EvTag->GetNumOfPHOSClusters() > fNPHOSClustersMax))
1062 if(fNEMCALClustersFlag)
1063 if((EvTag->GetNumOfEMCALClusters() < fNEMCALClustersMin) || (EvTag->GetNumOfEMCALClusters() > fNEMCALClustersMax))
1065 if(fNJetCandidatesFlag)
1066 if((EvTag->GetNumOfJetCandidates() < fNJetCandidatesMin) || (EvTag->GetNumOfJetCandidates() > fNJetCandidatesMax))
1070 if(fTopJetEnergyMinFlag)
1071 if((EvTag->GetMaxJetEnergy() < fTopJetEnergyMin))
1074 if(fNHardPhotonCandidatesFlag)
1075 if((EvTag->GetNumOfHardPhotonsCandidates() < fNHardPhotonCandidatesMin) || (EvTag->GetNumOfHardPhotonsCandidates() > fNHardPhotonCandidatesMax))
1078 if(fTopNeutralEnergyMinFlag)
1079 if((EvTag->GetMaxNeutralEnergy() < fTopNeutralEnergyMin))
1082 if(fNChargedAbove1GeVFlag)
1083 if((EvTag->GetNumOfChargedAbove1GeV() < fNChargedAbove1GeVMin) || (EvTag->GetNumOfChargedAbove1GeV() > fNChargedAbove1GeVMax))
1086 if(fNChargedAbove3GeVFlag)
1087 if((EvTag->GetNumOfChargedAbove3GeV() < fNChargedAbove3GeVMin) || (EvTag->GetNumOfChargedAbove3GeV() > fNChargedAbove3GeVMax))
1090 if(fNChargedAbove10GeVFlag)
1091 if((EvTag->GetNumOfChargedAbove10GeV() < fNChargedAbove10GeVMin) || (EvTag->GetNumOfChargedAbove10GeV() > fNChargedAbove10GeVMax))
1094 if(fNMuonsAbove1GeVFlag)
1095 if((EvTag->GetNumOfMuonsAbove1GeV() < fNMuonsAbove1GeVMin) || (EvTag->GetNumOfMuonsAbove1GeV() > fNMuonsAbove1GeVMax))
1098 if(fNMuonsAbove3GeVFlag)
1099 if((EvTag->GetNumOfMuonsAbove3GeV() < fNMuonsAbove3GeVMin) || (EvTag->GetNumOfMuonsAbove3GeV() > fNMuonsAbove3GeVMax))
1102 if(fNMuonsAbove10GeVFlag)
1103 if((EvTag->GetNumOfMuonsAbove10GeV() < fNMuonsAbove10GeVMin) || (EvTag->GetNumOfMuonsAbove10GeV() > fNMuonsAbove10GeVMax))
1106 if(fNElectronsAbove1GeVFlag)
1107 if((EvTag->GetNumOfElectronsAbove1GeV() < fNElectronsAbove1GeVMin) || (EvTag->GetNumOfElectronsAbove1GeV() > fNElectronsAbove1GeVMax))
1110 if(fNElectronsAbove3GeVFlag)
1111 if((EvTag->GetNumOfElectronsAbove3GeV() < fNElectronsAbove3GeVMin) || (EvTag->GetNumOfElectronsAbove3GeV() > fNElectronsAbove3GeVMax))
1114 if(fNElectronsAbove10GeVFlag)
1115 if((EvTag->GetNumOfElectronsAbove10GeV() < fNElectronsAbove10GeVMin) || (EvTag->GetNumOfElectronsAbove10GeV() > fNElectronsAbove10GeVMax))
1119 if((EvTag->GetNumOfElectrons() < fNElectronsMin) || (EvTag->GetNumOfElectrons() > fNElectronsMax))
1123 if((EvTag->GetNumOfFWMuons() < fNFWMuonsMin) || (EvTag->GetNumOfFWMuons() > fNFWMuonsMax))
1127 if((EvTag->GetNumOfMuons() < fNMuonsMin) || (EvTag->GetNumOfMuons() > fNMuonsMax))
1131 if((EvTag->GetNumOfPions() < fNPionsMin) || (EvTag->GetNumOfPions() > fNPionsMax))
1135 if((EvTag->GetNumOfKaons() < fNKaonsMin) || (EvTag->GetNumOfKaons() > fNKaonsMax))
1139 if((EvTag->GetNumOfProtons() < fNProtonsMin) || (EvTag->GetNumOfProtons() > fNProtonsMax))
1143 if((EvTag->GetNumOfLambdas() < fNLambdasMin) || (EvTag->GetNumOfLambdas() > fNLambdasMax))
1147 if((EvTag->GetNumOfPhotons() < fNPhotonsMin) || (EvTag->GetNumOfPhotons() > fNPhotonsMax))
1151 if((EvTag->GetNumOfPi0s() < fNPi0sMin) || (EvTag->GetNumOfPi0s() > fNPi0sMax))
1155 if((EvTag->GetNumOfNeutrons() < fNNeutronsMin) || (EvTag->GetNumOfNeutrons() > fNNeutronsMax))
1159 if((EvTag->GetNumOfKaon0s() < fNKaon0sMin) || (EvTag->GetNumOfKaon0s() > fNKaon0sMax))
1163 if((EvTag->GetTotalMomentum() < fTotalPMin) || (EvTag->GetTotalMomentum() > fTotalPMax))
1167 if((EvTag->GetMeanPt() < fMeanPtMin) || (EvTag->GetMeanPt() > fMeanPtMax))
1171 if((EvTag->GetMaxPt() < fTopPtMin))
1174 if(fTotalNeutralPFlag)
1175 if((EvTag->GetNeutralTotalMomentum() < fTotalNeutralPMin) || (EvTag->GetNeutralTotalMomentum() > fTotalNeutralPMax))
1178 if(fMeanNeutralPtFlag)
1179 if((EvTag->GetNeutralMeanPt() < fMeanNeutralPtMin) || (EvTag->GetNeutralMeanPt() >fMeanNeutralPtMax ))
1182 if(fTopNeutralPtMinFlag)
1183 if((EvTag->GetNeutralMaxPt() < fTopNeutralPtMin))
1186 if(fEventPlaneAngleFlag)
1187 if((EvTag->GetEventPlaneAngle() < fEventPlaneAngleMin) || (EvTag->GetEventPlaneAngle() > fEventPlaneAngleMax))
1191 if((EvTag->GetHBTRadii() < fHBTRadiiMin) || (EvTag->GetHBTRadii() > fHBTRadiiMax))