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 //-----------------------------------------------------------------
25 #include "AliEventTag.h"
26 #include "AliEventTagCuts.h"
28 ClassImp(AliEventTagCuts)
31 //----------------------------------------//
32 AliEventTagCuts::AliEventTagCuts()
34 //Default constructor which calls the Reset method.
38 //----------------------------------------//
39 AliEventTagCuts::~AliEventTagCuts()
44 //----------------------------------------//
45 void AliEventTagCuts::Reset()
47 //Sets dummy values to every private member.
51 fParticipantsFlag = kFALSE;
52 fImpactParamFlag = kFALSE;
54 fZDCNeutron1EnergyFlag = kFALSE;
55 fZDCProton1EnergyFlag = kFALSE;
56 fZDCNeutron2EnergyFlag = kFALSE;
57 fZDCProton2EnergyFlag = kFALSE;
58 fZDCEMEnergyFlag = kFALSE;
59 fT0VertexZFlag = kFALSE;
61 fMultPosFlag = kFALSE;
62 fMultNegFlag = kFALSE;
63 fMultNeutrFlag = kFALSE;
65 fCascadesFlag = kFALSE;
67 fMaxJetEnergyFlag = kFALSE;
68 fNHardPhotonsCandidatesFlag = kFALSE;
69 fMaxNeutralFlag = kFALSE;
70 fChargedAbove1GeVFlag = kFALSE;
71 fChargedAbove3GeVFlag = kFALSE;
72 fChargedAbove10GeVFlag = kFALSE;
73 fMuonsAbove1GeVFlag = kFALSE;
74 fMuonsAbove3GeVFlag = kFALSE;
75 fMuonsAbove10GeVFlag = kFALSE;
76 fElectronsAbove1GeVFlag = kFALSE;
77 fElectronsAbove3GeVFlag = kFALSE;
78 fElectronsAbove10GeVFlag = kFALSE;
79 fElectronsFlag = kFALSE;
83 fProtonsFlag = kFALSE;
84 fLambdasFlag = kFALSE;
87 fNeutronsFlag = kFALSE;
92 fTotalNeutralPFlag = kFALSE;
93 fMeanNeutralPtFlag = kFALSE;
94 fMaxNeutralPtFlag = kFALSE;
95 fEventPlaneAngleFlag = kFALSE;
96 fHBTRadiiFlag = kFALSE;
108 fParticipantsMin = -1;
109 fParticipantMax = 10000;
110 fImpactParamMin = -1.0;
111 fImpactParamMax = 1000.0;
112 fPrimaryVertexFlag = 1;
114 fZDCNeutron1EnergyMin = -1.0;
115 fZDCNeutron1EnergyMax = 100000.0;
116 fZDCProton1EnergyMin = -1.0;
117 fZDCProton1EnergyMax = 100000.0;
118 fZDCNeutron2EnergyMin = -1.0;
119 fZDCNeutron2EnergyMax = 100000.0;
120 fZDCProton2EnergyMin = -1.0;
121 fZDCProton2EnergyMax = 100000.0;
122 fZDCEMEnergyMin = -1.0;
123 fZDCEMEnergyMax = 100000.0;
124 fT0VertexZMin = -10000.0;
125 fT0VertexZMax = 10000.0;
128 fMultPosMax = 100000;
130 fMultNegMax = 100000;
132 fMultNeutrMax = 100000;
136 fCascadesMax = 100000;
140 fMaxJetEnergy = -1.0;
142 fNHardPhotonsCandidatesMin = -1;
143 fNHardPhotonsCandidatesMax = 100000;
144 fMaxNeutralEnergy = -1.0;
146 fChargedAbove1GeVMin = -1;
147 fChargedAbove1GeVMax = 100000;
148 fChargedAbove3GeVMin = -1;
149 fChargedAbove3GeVMax = 100000;
150 fChargedAbove10GeVMin = -1;
151 fChargedAbove10GeVMax = 100000;
152 fMuonsAbove1GeVMin = -1;
153 fMuonsAbove1GeVMax = 100000;
154 fMuonsAbove3GeVMin = -1;
155 fMuonsAbove3GeVMax = 100000;
156 fMuonsAbove10GeVMin = -1;
157 fMuonsAbove10GeVMax = 100000;
158 fElectronsAbove1GeVMin = -1;
159 fElectronsAbove1GeVMax = 100000;
160 fElectronsAbove3GeVMin = -1;
161 fElectronsAbove3GeVMax = 100000;
162 fElectronsAbove10GeVMin = -1;
163 fElectronsAbove10GeVMax = 100000;
166 fElectronsMax = 100000;
174 fProtonsMax = 100000;
176 fLambdasMax = 100000;
178 fPhotonsMax = 100000;
182 fNeutronsMax = 100000;
187 fTotalPMax = 1000000.0;
189 fMeanPtMax = 100000.0;
191 fTotalNeutralPMin = -1.0;
192 fTotalNeutralPMax = 1000000.0;
193 fMeanNeutralPtMin = -1.0;
194 fMeanNeutralPtMax = 1000000.0;
195 fMaxNeutralPt = -1.0;
196 fEventPlaneAngleMin = -10000000.0;
197 fEventPlaneAngleMax = 10000000.0;
199 fHBTRadiiMax = 100000.0;
202 //----------------------------------------//
203 void AliEventTagCuts::SetPrimaryVertexXRange(Float_t r1, Float_t r2)
205 //Sets the primary vertex x range
206 //and the corresponding flag to kTRUE if the cut is used.
212 //----------------------------------------//
213 void AliEventTagCuts::SetPrimaryVertexYRange(Float_t r1, Float_t r2)
215 //Sets the primary vertex y range
216 //and the corresponding flag to kTRUE if the cut is used.
222 //----------------------------------------//
223 void AliEventTagCuts::SetPrimaryVertexZRange(Float_t r1, Float_t r2)
225 //Sets the primary vertex z range
226 //and the corresponding flag to kTRUE if the cut is used.
232 //----------------------------------------//
233 void AliEventTagCuts::SetMultiplicityRange(Int_t n1, Int_t n2)
235 //Sets the primary multiplicity range
236 //and the corresponding flag to kTRUE if the cut is used.
242 //----------------------------------------//
243 void AliEventTagCuts::SetParticipantsRange(Int_t i1, Int_t i2)
245 //Sets the number of participants range
246 //and the corresponding flag to kTRUE if the cut is used.
247 fParticipantsMin = i1;
248 fParticipantMax = i2;
249 fParticipantsFlag = kTRUE;
252 //----------------------------------------//
253 void AliEventTagCuts::SetImpactParamRange(Float_t r1, Float_t r2)
255 //Sets the impact parameter range
256 //and the corresponding flag to kTRUE if the cut is used.
257 fImpactParamMin = r1;
258 fImpactParamMax = r2;
259 fImpactParamFlag = kTRUE;
263 //----------------------------------------//
264 void AliEventTagCuts::SetPrimaryVertexFlag(Int_t i)
266 //Sets the primary vertex flag cut
267 //and the corresponding flag to kTRUE if the cut is used.
268 fPrimaryVertexFlag = i;
272 //----------------------------------------//
273 void AliEventTagCuts::SetZDCNeutr1Range(Float_t r1, Float_t r2)
275 //Sets the ZDC's neutron energy range
276 //and the corresponding flag to kTRUE if the cut is used.
277 fZDCNeutron1EnergyMin = r1;
278 fZDCNeutron1EnergyMax = r2;
279 fZDCNeutron1EnergyFlag = kTRUE;
281 //----------------------------------------//
282 void AliEventTagCuts::SetZDCProt1Range(Float_t r1, Float_t r2)
284 //Sets the ZDC's proton energy range
285 //and the corresponding flag to kTRUE if the cut is used.
286 fZDCProton1EnergyMin = r1;
287 fZDCProton1EnergyMax = r2;
288 fZDCProton1EnergyFlag = kTRUE;
290 //----------------------------------------//
291 void AliEventTagCuts::SetZDCNeutr2Range(Float_t r1, Float_t r2)
293 //Sets the ZDC's neutron energy range
294 //and the corresponding flag to kTRUE if the cut is used.
295 fZDCNeutron2EnergyMin = r1;
296 fZDCNeutron2EnergyMax = r2;
297 fZDCNeutron2EnergyFlag = kTRUE;
299 //----------------------------------------//
300 void AliEventTagCuts::SetZDCProt2Range(Float_t r1, Float_t r2)
302 //Sets the ZDC's proton energy range
303 //and the corresponding flag to kTRUE if the cut is used.
304 fZDCProton2EnergyMin = r1;
305 fZDCProton2EnergyMax = r2;
306 fZDCProton2EnergyFlag = kTRUE;
308 //----------------------------------------//
309 void AliEventTagCuts::SetZDCEMRange(Float_t r1, Float_t r2)
311 //Sets the ZDC's e/m energy range
312 //and the corresponding flag to kTRUE if the cut is used.
313 fZDCEMEnergyMin = r1;
314 fZDCEMEnergyMax = r2;
315 fZDCEMEnergyFlag = kTRUE;
318 //----------------------------------------//
319 void AliEventTagCuts::SetT0VertexZRange(Float_t r1, Float_t r2)
321 //Sets the T0's Vz range
322 //and the corresponding flag to kTRUE if the cut is used.
325 fT0VertexZFlag = kTRUE;
328 //----------------------------------------//
329 void AliEventTagCuts::SetPosMultiplicityRange(Int_t n1, Int_t n2)
331 //Sets the positive multiplicity range
332 //and the corresponding flag to kTRUE if the cut is used.
335 fMultPosFlag = kTRUE;
339 //----------------------------------------//
340 void AliEventTagCuts::SetNegMultiplicityRange(Int_t n1, Int_t n2)
342 //Sets the negative multiplicity range
343 //and the corresponding flag to kTRUE if the cut is used.
346 fMultNegFlag = kTRUE;
350 //----------------------------------------//
351 void AliEventTagCuts::SetNeutrMultiplicityRange(Int_t n1, Int_t n2)
353 //Sets the neutral particle multiplicity range
354 //and the corresponding flag to kTRUE if the cut is used.
357 fMultNeutrFlag = kTRUE;
360 //----------------------------------------//
361 void AliEventTagCuts::SetV0sRange(Int_t n1, Int_t n2)
363 //Sets the v0s multiplicity range
364 //and the corresponding flag to kTRUE if the cut is used.
370 //----------------------------------------//
371 void AliEventTagCuts::SetCascadesRange(Int_t n1, Int_t n2)
373 //Sets the cascades multiplicity range
374 //and the corresponding flag to kTRUE if the cut is used.
377 fCascadesFlag = kTRUE;
380 //----------------------------------------//
381 void AliEventTagCuts::SetKinksRange(Int_t n1, Int_t n2)
383 //Sets the kinks multipliicity range
384 //and the corresponding flag to kTRUE if the cut is used.
390 //----------------------------------------//
391 void AliEventTagCuts::SetMaxJetEnergy(Float_t r1)
393 //Sets the lower limit of the maximum jet energy
394 //and the corresponding flag to kTRUE if the cut is used.
396 fMaxJetEnergyFlag = kTRUE;
398 //----------------------------------------//
399 void AliEventTagCuts::SetMaxNeutralEnergy(Float_t r1)
401 //Sets the lower limit of the maximum neutral jet energy
402 //and the corresponding flag to kTRUE if the cut is used.
403 fMaxNeutralEnergy = r1;
404 fMaxNeutralFlag = kTRUE;
406 //----------------------------------------//
407 void AliEventTagCuts::SetHardPhotonsRange(Int_t i1, Int_t i2)
409 //Sets the hard photons multiplicity range
410 //and the corresponding flag to kTRUE if the cut is used.
411 fNHardPhotonsCandidatesMin = i1;
412 fNHardPhotonsCandidatesMax = i2;
413 fNHardPhotonsCandidatesFlag = kTRUE;
416 //----------------------------------------//
417 void AliEventTagCuts::SetNChargedAbove1GeVRange(Int_t i1, Int_t i2)
419 //Sets the number of charged above 1GeV range
420 //and the corresponding flag to kTRUE if the cut is used.
421 fChargedAbove1GeVMin = i1;
422 fChargedAbove1GeVMax = i2;
423 fChargedAbove1GeVFlag = kTRUE;
426 //----------------------------------------//
427 void AliEventTagCuts::SetNChargedAbove3GeVRange(Int_t i1, Int_t i2)
429 //Sets the number of charged above 3GeV range
430 //and the corresponding flag to kTRUE if the cut is used.
431 fChargedAbove3GeVMin = i1;
432 fChargedAbove3GeVMax = i2;
433 fChargedAbove3GeVFlag = kTRUE;
437 //----------------------------------------//
438 void AliEventTagCuts::SetNChargedAbove10GeVRange(Int_t i1, Int_t i2)
440 //Sets the number of charged above 10GeV range
441 //and the corresponding flag to kTRUE if the cut is used.
442 fChargedAbove10GeVMin = i1;
443 fChargedAbove10GeVMax = i2;
444 fChargedAbove10GeVFlag = kTRUE;
448 //----------------------------------------//
449 void AliEventTagCuts::SetNMuonsAbove1GeVRange(Int_t i1, Int_t i2)
451 //Sets the number of muons above 1GeV range
452 //and the corresponding flag to kTRUE if the cut is used.
453 fMuonsAbove1GeVMin = i1;
454 fMuonsAbove1GeVMax = i2;
455 fMuonsAbove1GeVFlag = kTRUE;
459 //----------------------------------------//
460 void AliEventTagCuts::SetNMuonsAbove3GeVRange(Int_t i1, Int_t i2)
462 //Sets the number of muons above 3GeV range
463 //and the corresponding flag to kTRUE if the cut is used.
464 fMuonsAbove3GeVMin = i1;
465 fMuonsAbove3GeVMax = i2;
466 fMuonsAbove3GeVFlag = kTRUE;
469 //----------------------------------------//
470 void AliEventTagCuts::SetNMuonsAbove10GeVRange(Int_t i1, Int_t i2)
472 //Sets the number of muons above 10GeV range
473 //and the corresponding flag to kTRUE if the cut is used.
474 fMuonsAbove10GeVMin = i1;
475 fMuonsAbove10GeVMax = i2;
476 fMuonsAbove10GeVFlag = kTRUE;
480 //----------------------------------------//
481 void AliEventTagCuts::SetNElectronsAbove1GeVRange(Int_t i1, Int_t i2)
483 //Sets the number of electrons above 1GeV range
484 //and the corresponding flag to kTRUE if the cut is used.
485 fElectronsAbove1GeVMin = i1;
486 fElectronsAbove1GeVMax = i2;
487 fElectronsAbove1GeVFlag = kTRUE;
490 //----------------------------------------//
491 void AliEventTagCuts::SetNElectronsAbove3GeVRange(Int_t i1, Int_t i2)
493 //Sets the number of electrons above 3GeV range
494 //and the corresponding flag to kTRUE if the cut is used.
495 fElectronsAbove3GeVMin = i1;
496 fElectronsAbove3GeVMax = i2;
497 fElectronsAbove3GeVFlag = kTRUE;
500 //----------------------------------------//
501 void AliEventTagCuts::SetNElectronsAbove10GeVRange(Int_t i1, Int_t i2)
503 //Sets the number of electrons above 10GeV range
504 //and the corresponding flag to kTRUE if the cut is used.
505 fElectronsAbove10GeVMin = i1;
506 fElectronsAbove10GeVMax = i2;
507 fElectronsAbove10GeVFlag = kTRUE;
509 //----------------------------------------//
510 void AliEventTagCuts::SetNElectronRange(Int_t n1, Int_t n2)
512 //Sets the electron multiplicity range
513 //and the corresponding flag to kTRUE if the cut is used.
516 fElectronsFlag = kTRUE;
518 //----------------------------------------//
519 void AliEventTagCuts::SetNMuonRange(Int_t n1, Int_t n2)
521 //Sets the muon multiplicity range
522 //and the corresponding flag to kTRUE if the cut is used.
528 //----------------------------------------//
529 void AliEventTagCuts::SetNPionRange(Int_t n1, Int_t n2)
531 //Sets the pion multiplicity range
532 //and the corresponding flag to kTRUE if the cut is used.
538 //----------------------------------------//
539 void AliEventTagCuts::SetNKaonRange(Int_t n1, Int_t n2)
541 //Sets the kaon multiplicity range
542 //and the corresponding flag to kTRUE if the cut is used.
548 //----------------------------------------//
549 void AliEventTagCuts::SetNProtonRange(Int_t n1, Int_t n2)
551 //Sets the proton multiplicity range
552 //and the corresponding flag to kTRUE if the cut is used.
555 fProtonsFlag = kTRUE;
558 //----------------------------------------//
559 void AliEventTagCuts::SetNLambdaRange(Int_t n1, Int_t n2)
561 //Sets the lambda multiplicity range
562 //and the corresponding flag to kTRUE if the cut is used.
565 fLambdasFlag = kTRUE;
567 //----------------------------------------//
568 void AliEventTagCuts::SetNPhotonRange(Int_t n1, Int_t n2)
570 //Sets the photon multiplicity range
571 //and the corresponding flag to kTRUE if the cut is used.
576 //----------------------------------------//
577 void AliEventTagCuts::SetNPi0Range(Int_t n1, Int_t n2)
579 //Sets the pi0 multiplicity range
580 //and the corresponding flag to kTRUE if the cut is used.
586 //----------------------------------------//
587 void AliEventTagCuts::SetNNeutronRange(Int_t n1, Int_t n2)
589 //Sets the neutron multiplicity range
590 //and the corresponding flag to kTRUE if the cut is used.
593 fNeutronsFlag = kTRUE;
596 //----------------------------------------//
597 void AliEventTagCuts::SetNKaon0Range(Int_t n1, Int_t n2)
599 //Sets the K0s multiplicity range
600 //and the corresponding flag to kTRUE if the cut is used.
606 //----------------------------------------//
607 void AliEventTagCuts::SetTotalPRange(Float_t r1, Float_t r2)
609 //Sets the total momentum range
610 //and the corresponding flag to kTRUE if the cut is used.
616 //----------------------------------------//
617 void AliEventTagCuts::SetMeanPtRange(Float_t r1, Float_t r2)
619 //Sets the mean Pt range
620 //and the corresponding flag to kTRUE if the cut is used.
626 //----------------------------------------//
627 void AliEventTagCuts::SetMaxPt(Float_t r1)
629 //Sets the lower limit of the max Pt value
630 //and the corresponding flag to kTRUE if the cut is used.
635 //----------------------------------------//
636 void AliEventTagCuts::SetTotalNeutralPRange(Float_t r1, Float_t r2)
638 //Sets the total momentum of neutral particles range
639 //and the corresponding flag to kTRUE if the cut is used.
640 fTotalNeutralPMin =r1 ;
641 fTotalNeutralPMax = r2;
642 fTotalNeutralPFlag = kTRUE;
644 //----------------------------------------//
645 void AliEventTagCuts::SetMeanNeutralPtPRange(Float_t r1, Float_t r2)
647 //Sets the mean Pt of neutral particles range
648 //and the corresponding flag to kTRUE if the cut is used.
649 fMeanNeutralPtMin = r1;
650 fMeanNeutralPtMax = r2;
651 fMeanNeutralPtFlag = kTRUE;
653 //----------------------------------------//
654 void AliEventTagCuts::SetMaxNeutralPt(Float_t r1)
656 //Sets the lower limit of the maximum Pt of neutral particles
657 //and the corresponding flag to kTRUE if the cut is used.
659 fMaxNeutralPtFlag = kTRUE;
662 //----------------------------------------//
663 void AliEventTagCuts::SetEvPlaneAngleRange(Float_t r1, Float_t r2)
665 //Sets the event plane range
666 //and the corresponding flag to kTRUE if the cut is used.
667 fEventPlaneAngleMin = r1;
668 fEventPlaneAngleMax = r2;
669 fEventPlaneAngleFlag = kTRUE;
672 //----------------------------------------//
673 void AliEventTagCuts::SetHBTRadiiRange(Float_t r1, Float_t r2)
675 //Sets the HBT radii range
676 //and the corresponding flag to kTRUE if the cut is used.
679 fHBTRadiiFlag = kTRUE;
682 //----------------------------------------//
683 Bool_t AliEventTagCuts::IsAccepted(AliEventTag *EvTag) const
685 //Returns true if the event is accepted otherwise false.
687 if((EvTag->GetNumOfTracks() < fMultMin) || (EvTag->GetNumOfTracks() > fMultMax))
691 if((EvTag->GetVertexZ() < fVzMin) || (EvTag->GetVertexZ() > fVzMax))
695 if((EvTag->GetVertexY() < fVyMin) || (EvTag->GetVertexY() > fVyMax))
699 if((EvTag->GetVertexX() < fVxMin) || (EvTag->GetVertexX() > fVxMax))
702 if(fParticipantsFlag)
703 if((EvTag->GetNumOfParticipants() < fParticipantsMin) || (EvTag->GetNumOfParticipants() > fParticipantMax))
707 if((EvTag->GetImpactParameter() < fImpactParamMin) || (EvTag->GetImpactParameter() > fImpactParamMax))
711 if((EvTag->GetVertexFlag() != fPrimaryVertexFlag))
714 if(fZDCNeutron1EnergyFlag)
715 if((EvTag->GetZDCNeutron1Energy() < fZDCNeutron1EnergyMin) || (EvTag->GetZDCNeutron1Energy() > fZDCNeutron1EnergyMax))
718 if(fZDCProton1EnergyFlag)
719 if((EvTag->GetZDCProton1Energy() < fZDCProton1EnergyMin) || (EvTag->GetZDCProton1Energy() > fZDCProton1EnergyMax))
722 if(fZDCNeutron2EnergyFlag)
723 if((EvTag->GetZDCNeutron2Energy() < fZDCNeutron2EnergyMin) || (EvTag->GetZDCNeutron2Energy() > fZDCNeutron2EnergyMax))
726 if(fZDCProton2EnergyFlag)
727 if((EvTag->GetZDCProton2Energy() < fZDCProton2EnergyMin) || (EvTag->GetZDCProton2Energy() > fZDCProton2EnergyMax))
731 if((EvTag->GetZDCEMEnergy() < fZDCEMEnergyMin) || (EvTag->GetZDCEMEnergy() > fZDCEMEnergyMax))
735 if((EvTag->GetT0VertexZ() < fT0VertexZMin) || (EvTag->GetT0VertexZ() > fT0VertexZMax))
739 if((EvTag->GetNumOfPosTracks() < fMultPosMin) || (EvTag->GetNumOfPosTracks() > fMultPosMax))
743 if((EvTag->GetNumOfNegTracks() < fMultNegMin) || (EvTag->GetNumOfNegTracks() > fMultNegMax))
747 if((EvTag->GetNumOfNeutrTracks() < fMultNeutrMin) || (EvTag->GetNumOfNeutrTracks() > fMultNeutrMax))
751 if((EvTag->GetNumOfV0s() < fV0sMin) || (EvTag->GetNumOfV0s() > fV0sMax))
755 if((EvTag->GetNumOfCascades() < fCascadesMin) || (EvTag->GetNumOfCascades() > fCascadesMax))
759 if((EvTag->GetNumOfKinks() < fkinksMin) || (EvTag->GetNumOfKinks() > fkinksMax))
762 if(fMaxJetEnergyFlag)
763 if((EvTag->GetMaxJetEnergy() < fMaxJetEnergy))
766 if(fNHardPhotonsCandidatesFlag)
767 if((EvTag->GetNumOfHardPhotonsCandidates() < fNHardPhotonsCandidatesMin) || (EvTag->GetNumOfHardPhotonsCandidates() > fNHardPhotonsCandidatesMax))
771 if((EvTag->GetMaxNeutralEnergy() < fMaxNeutralEnergy))
774 if(fChargedAbove1GeVFlag)
775 if((EvTag->GetNumOfChargedAbove1GeV() < fChargedAbove1GeVMin) || (EvTag->GetNumOfChargedAbove1GeV() > fChargedAbove1GeVMax))
778 if(fChargedAbove3GeVFlag)
779 if((EvTag->GetNumOfChargedAbove3GeV() < fChargedAbove3GeVMin) || (EvTag->GetNumOfChargedAbove3GeV() > fChargedAbove3GeVMax))
782 if(fChargedAbove10GeVFlag)
783 if((EvTag->GetNumOfChargedAbove10GeV() < fChargedAbove10GeVMin) || (EvTag->GetNumOfChargedAbove10GeV() > fChargedAbove10GeVMax))
786 if(fMuonsAbove1GeVFlag)
787 if((EvTag->GetNumOfMuonsAbove1GeV() < fMuonsAbove1GeVMin) || (EvTag->GetNumOfMuonsAbove1GeV() > fMuonsAbove1GeVMax))
790 if(fMuonsAbove3GeVFlag)
791 if((EvTag->GetNumOfMuonsAbove3GeV() < fMuonsAbove3GeVMin) || (EvTag->GetNumOfMuonsAbove3GeV() > fMuonsAbove3GeVMax))
794 if(fMuonsAbove10GeVFlag)
795 if((EvTag->GetNumOfMuonsAbove10GeV() < fMuonsAbove10GeVMin) || (EvTag->GetNumOfMuonsAbove10GeV() > fMuonsAbove10GeVMax))
798 if(fElectronsAbove1GeVFlag)
799 if((EvTag->GetNumOfElectronsAbove1GeV() < fElectronsAbove1GeVMin) || (EvTag->GetNumOfElectronsAbove1GeV() > fElectronsAbove1GeVMax))
802 if(fElectronsAbove3GeVFlag)
803 if((EvTag->GetNumOfElectronsAbove3GeV() < fElectronsAbove3GeVMin) || (EvTag->GetNumOfElectronsAbove3GeV() > fElectronsAbove3GeVMax))
806 if(fElectronsAbove10GeVFlag)
807 if((EvTag->GetNumOfElectronsAbove10GeV() < fElectronsAbove10GeVMin) || (EvTag->GetNumOfElectronsAbove10GeV() > fElectronsAbove10GeVMax))
811 if((EvTag->GetNumOfElectrons() < fElectronsMin) || (EvTag->GetNumOfElectrons() > fElectronsMax))
815 if((EvTag->GetNumOfMuons() < fMuonsMin) || (EvTag->GetNumOfMuons() > fMuonsMax))
819 if((EvTag->GetNumOfPions() < fPionsMin) || (EvTag->GetNumOfPions() > fPionsMax))
823 if((EvTag->GetNumOfKaons() < fKaonsMin) || (EvTag->GetNumOfKaons() > fKaonsMax))
827 if((EvTag->GetNumOfProtons() < fProtonsMin) || (EvTag->GetNumOfProtons() > fProtonsMax))
831 if((EvTag->GetNumOfLambdas() < fLambdasMin) || (EvTag->GetNumOfLambdas() > fLambdasMax))
835 if((EvTag->GetNumOfPhotons() < fPhotonsMin) || (EvTag->GetNumOfPhotons() > fPhotonsMax))
839 if((EvTag->GetNumOfPi0s() < fPi0sMin) || (EvTag->GetNumOfPi0s() > fPi0sMax))
843 if((EvTag->GetNumOfNeutrons() < fNeutronsMin) || (EvTag->GetNumOfNeutrons() > fNeutronsMax))
847 if((EvTag->GetNumOfKaon0s() < fKaon0sMin) || (EvTag->GetNumOfKaon0s() > fKaon0sMax))
851 if((EvTag->GetTotalMomentum() < fTotalPMin) || (EvTag->GetTotalMomentum() > fTotalPMax))
855 if((EvTag->GetMeanPt() < fMeanPtMin) || (EvTag->GetMeanPt() > fMeanPtMax))
859 if((EvTag->GetMaxPt() < fMaxPt))
862 if(fTotalNeutralPFlag)
863 if((EvTag->GetNeutralTotalMomentum() < fTotalNeutralPMin) || (EvTag->GetNeutralTotalMomentum() > fTotalNeutralPMax))
866 if(fMeanNeutralPtFlag)
867 if((EvTag->GetNeutralMeanPt() < fMeanNeutralPtMin) || (EvTag->GetNeutralMeanPt() >fMeanNeutralPtMax ))
870 if(fMaxNeutralPtFlag)
871 if((EvTag->GetNeutralMaxPt() < fMaxNeutralPt))
874 if(fEventPlaneAngleFlag)
875 if((EvTag->GetEventPlaneAngle() < fEventPlaneAngleMin) || (EvTag->GetEventPlaneAngle() > fEventPlaneAngleMax))
879 if((EvTag->GetHBTRadii() < fHBTRadiiMin) || (EvTag->GetHBTRadii() > fHBTRadiiMax))