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 fZDCNeutronEnergyFlag = kFALSE;
55 fZDCProtonEnergyFlag = kFALSE;
56 fZDCEMEnergyFlag = kFALSE;
57 fT0VertexZFlag = kFALSE;
59 fMultPosFlag = kFALSE;
60 fMultNegFlag = kFALSE;
61 fMultNeutrFlag = kFALSE;
63 fCascadesFlag = kFALSE;
65 fMaxJetEnergyFlag = kFALSE;
66 fNHardPhotonsCandidatesFlag = kFALSE;
67 fMaxNeutralFlag = kFALSE;
68 fChargedAbove1GeVFlag = kFALSE;
69 fChargedAbove3GeVFlag = kFALSE;
70 fChargedAbove10GeVFlag = kFALSE;
71 fMuonsAbove1GeVFlag = kFALSE;
72 fMuonsAbove3GeVFlag = kFALSE;
73 fMuonsAbove10GeVFlag = kFALSE;
74 fElectronsAbove1GeVFlag = kFALSE;
75 fElectronsAbove3GeVFlag = kFALSE;
76 fElectronsAbove10GeVFlag = kFALSE;
77 fElectronsFlag = kFALSE;
81 fProtonsFlag = kFALSE;
82 fLambdasFlag = kFALSE;
85 fNeutronsFlag = kFALSE;
90 fTotalNeutralPFlag = kFALSE;
91 fMeanNeutralPtFlag = kFALSE;
92 fMaxNeutralPtFlag = kFALSE;
93 fEventPlaneAngleFlag = kFALSE;
94 fHBTRadiiFlag = kFALSE;
106 fParticipantsMin = -1;
107 fParticipantMax = 10000;
108 fImpactParamMin = -1.0;
109 fImpactParamMax = 1000.0;
110 fPrimaryVertexFlag = 1;
112 fZDCNeutronEnergyMin = -1.0;
113 fZDCNeutronEnergyMax = 100000.0;
114 fZDCProtonEnergyMin = -1.0;
115 fZDCProtonEnergyMax = 100000.0;
116 fZDCEMEnergyMin = -1.0;
117 fZDCEMEnergyMax = 100000.0;
118 fT0VertexZMin = -10000.0;
119 fT0VertexZMax = 10000.0;
122 fMultPosMax = 100000;
124 fMultNegMax = 100000;
126 fMultNeutrMax = 100000;
130 fCascadesMax = 100000;
134 fMaxJetEnergy = -1.0;
136 fNHardPhotonsCandidatesMin = -1;
137 fNHardPhotonsCandidatesMax = 100000;
138 fMaxNeutralEnergy = -1.0;
140 fChargedAbove1GeVMin = -1;
141 fChargedAbove1GeVMax = 100000;
142 fChargedAbove3GeVMin = -1;
143 fChargedAbove3GeVMax = 100000;
144 fChargedAbove10GeVMin = -1;
145 fChargedAbove10GeVMax = 100000;
146 fMuonsAbove1GeVMin = -1;
147 fMuonsAbove1GeVMax = 100000;
148 fMuonsAbove3GeVMin = -1;
149 fMuonsAbove3GeVMax = 100000;
150 fMuonsAbove10GeVMin = -1;
151 fMuonsAbove10GeVMax = 100000;
152 fElectronsAbove1GeVMin = -1;
153 fElectronsAbove1GeVMax = 100000;
154 fElectronsAbove3GeVMin = -1;
155 fElectronsAbove3GeVMax = 100000;
156 fElectronsAbove10GeVMin = -1;
157 fElectronsAbove10GeVMax = 100000;
160 fElectronsMax = 100000;
168 fProtonsMax = 100000;
170 fLambdasMax = 100000;
172 fPhotonsMax = 100000;
176 fNeutronsMax = 100000;
181 fTotalPMax = 1000000.0;
183 fMeanPtMax = 100000.0;
185 fTotalNeutralPMin = -1.0;
186 fTotalNeutralPMax = 1000000.0;
187 fMeanNeutralPtMin = -1.0;
188 fMeanNeutralPtMax = 1000000.0;
189 fMaxNeutralPt = -1.0;
190 fEventPlaneAngleMin = -10000000.0;
191 fEventPlaneAngleMax = 10000000.0;
193 fHBTRadiiMax = 100000.0;
196 //----------------------------------------//
197 void AliEventTagCuts::SetPrimaryVertexXRange(Float_t r1, Float_t r2)
199 //Sets the primary vertex x range
200 //and the corresponding flag to kTRUE if the cut is used.
206 //----------------------------------------//
207 void AliEventTagCuts::SetPrimaryVertexYRange(Float_t r1, Float_t r2)
209 //Sets the primary vertex y range
210 //and the corresponding flag to kTRUE if the cut is used.
216 //----------------------------------------//
217 void AliEventTagCuts::SetPrimaryVertexZRange(Float_t r1, Float_t r2)
219 //Sets the primary vertex z range
220 //and the corresponding flag to kTRUE if the cut is used.
226 //----------------------------------------//
227 void AliEventTagCuts::SetMultiplicityRange(Int_t n1, Int_t n2)
229 //Sets the primary multiplicity range
230 //and the corresponding flag to kTRUE if the cut is used.
236 //----------------------------------------//
237 void AliEventTagCuts::SetParticipantsRange(Int_t i1, Int_t i2)
239 //Sets the number of participants range
240 //and the corresponding flag to kTRUE if the cut is used.
241 fParticipantsMin = i1;
242 fParticipantMax = i2;
243 fParticipantsFlag = kTRUE;
246 //----------------------------------------//
247 void AliEventTagCuts::SetImpactParamRange(Float_t r1, Float_t r2)
249 //Sets the impact parameter range
250 //and the corresponding flag to kTRUE if the cut is used.
251 fImpactParamMin = r1;
252 fImpactParamMax = r2;
253 fImpactParamFlag = kTRUE;
257 //----------------------------------------//
258 void AliEventTagCuts::SetPrimaryVertexFlag(Int_t i)
260 //Sets the primary vertex flag cut
261 //and the corresponding flag to kTRUE if the cut is used.
262 fPrimaryVertexFlag = i;
266 //----------------------------------------//
267 void AliEventTagCuts::SetZDCNeutrRange(Float_t r1, Float_t r2)
269 //Sets the ZDC's neutron energy range
270 //and the corresponding flag to kTRUE if the cut is used.
271 fZDCNeutronEnergyMin = r1;
272 fZDCNeutronEnergyMax = r2;
273 fZDCNeutronEnergyFlag = kTRUE;
275 //----------------------------------------//
276 void AliEventTagCuts::SetZDCProtRange(Float_t r1, Float_t r2)
278 //Sets the ZDC's proton energy range
279 //and the corresponding flag to kTRUE if the cut is used.
280 fZDCProtonEnergyMin = r1;
281 fZDCProtonEnergyMax = r2;
282 fZDCProtonEnergyFlag = kTRUE;
284 //----------------------------------------//
285 void AliEventTagCuts::SetZDCEMRange(Float_t r1, Float_t r2)
287 //Sets the ZDC's e/m energy range
288 //and the corresponding flag to kTRUE if the cut is used.
289 fZDCEMEnergyMin = r1;
290 fZDCEMEnergyMax = r2;
291 fZDCEMEnergyFlag = kTRUE;
294 //----------------------------------------//
295 void AliEventTagCuts::SetT0VertexZRange(Float_t r1, Float_t r2)
297 //Sets the T0's Vz range
298 //and the corresponding flag to kTRUE if the cut is used.
301 fT0VertexZFlag = kTRUE;
304 //----------------------------------------//
305 void AliEventTagCuts::SetPosMultiplicityRange(Int_t n1, Int_t n2)
307 //Sets the positive multiplicity range
308 //and the corresponding flag to kTRUE if the cut is used.
311 fMultPosFlag = kTRUE;
315 //----------------------------------------//
316 void AliEventTagCuts::SetNegMultiplicityRange(Int_t n1, Int_t n2)
318 //Sets the negative multiplicity range
319 //and the corresponding flag to kTRUE if the cut is used.
322 fMultNegFlag = kTRUE;
326 //----------------------------------------//
327 void AliEventTagCuts::SetNeutrMultiplicityRange(Int_t n1, Int_t n2)
329 //Sets the neutral particle multiplicity range
330 //and the corresponding flag to kTRUE if the cut is used.
333 fMultNeutrFlag = kTRUE;
336 //----------------------------------------//
337 void AliEventTagCuts::SetV0sRange(Int_t n1, Int_t n2)
339 //Sets the v0s multiplicity range
340 //and the corresponding flag to kTRUE if the cut is used.
346 //----------------------------------------//
347 void AliEventTagCuts::SetCascadesRange(Int_t n1, Int_t n2)
349 //Sets the cascades multiplicity range
350 //and the corresponding flag to kTRUE if the cut is used.
353 fCascadesFlag = kTRUE;
356 //----------------------------------------//
357 void AliEventTagCuts::SetKinksRange(Int_t n1, Int_t n2)
359 //Sets the kinks multipliicity range
360 //and the corresponding flag to kTRUE if the cut is used.
366 //----------------------------------------//
367 void AliEventTagCuts::SetMaxJetEnergy(Float_t r1)
369 //Sets the lower limit of the maximum jet energy
370 //and the corresponding flag to kTRUE if the cut is used.
372 fMaxJetEnergyFlag = kTRUE;
374 //----------------------------------------//
375 void AliEventTagCuts::SetMaxNeutralEnergy(Float_t r1)
377 //Sets the lower limit of the maximum neutral jet energy
378 //and the corresponding flag to kTRUE if the cut is used.
379 fMaxNeutralEnergy = r1;
380 fMaxNeutralFlag = kTRUE;
382 //----------------------------------------//
383 void AliEventTagCuts::SetHardPhotonsRange(Int_t i1, Int_t i2)
385 //Sets the hard photons multiplicity range
386 //and the corresponding flag to kTRUE if the cut is used.
387 fNHardPhotonsCandidatesMin = i1;
388 fNHardPhotonsCandidatesMax = i2;
389 fNHardPhotonsCandidatesFlag = kTRUE;
392 //----------------------------------------//
393 void AliEventTagCuts::SetNChargedAbove1GeVRange(Int_t i1, Int_t i2)
395 //Sets the number of charged above 1GeV range
396 //and the corresponding flag to kTRUE if the cut is used.
397 fChargedAbove1GeVMin = i1;
398 fChargedAbove1GeVMax = i2;
399 fChargedAbove1GeVFlag = kTRUE;
402 //----------------------------------------//
403 void AliEventTagCuts::SetNChargedAbove3GeVRange(Int_t i1, Int_t i2)
405 //Sets the number of charged above 3GeV range
406 //and the corresponding flag to kTRUE if the cut is used.
407 fChargedAbove3GeVMin = i1;
408 fChargedAbove3GeVMax = i2;
409 fChargedAbove3GeVFlag = kTRUE;
413 //----------------------------------------//
414 void AliEventTagCuts::SetNChargedAbove10GeVRange(Int_t i1, Int_t i2)
416 //Sets the number of charged above 10GeV range
417 //and the corresponding flag to kTRUE if the cut is used.
418 fChargedAbove10GeVMin = i1;
419 fChargedAbove10GeVMax = i2;
420 fChargedAbove10GeVFlag = kTRUE;
424 //----------------------------------------//
425 void AliEventTagCuts::SetNMuonsAbove1GeVRange(Int_t i1, Int_t i2)
427 //Sets the number of muons above 1GeV range
428 //and the corresponding flag to kTRUE if the cut is used.
429 fMuonsAbove1GeVMin = i1;
430 fMuonsAbove1GeVMax = i2;
431 fMuonsAbove1GeVFlag = kTRUE;
435 //----------------------------------------//
436 void AliEventTagCuts::SetNMuonsAbove3GeVRange(Int_t i1, Int_t i2)
438 //Sets the number of muons above 3GeV range
439 //and the corresponding flag to kTRUE if the cut is used.
440 fMuonsAbove3GeVMin = i1;
441 fMuonsAbove3GeVMax = i2;
442 fMuonsAbove3GeVFlag = kTRUE;
445 //----------------------------------------//
446 void AliEventTagCuts::SetNMuonsAbove10GeVRange(Int_t i1, Int_t i2)
448 //Sets the number of muons above 10GeV range
449 //and the corresponding flag to kTRUE if the cut is used.
450 fMuonsAbove10GeVMin = i1;
451 fMuonsAbove10GeVMax = i2;
452 fMuonsAbove10GeVFlag = kTRUE;
456 //----------------------------------------//
457 void AliEventTagCuts::SetNElectronsAbove1GeVRange(Int_t i1, Int_t i2)
459 //Sets the number of electrons above 1GeV range
460 //and the corresponding flag to kTRUE if the cut is used.
461 fElectronsAbove1GeVMin = i1;
462 fElectronsAbove1GeVMax = i2;
463 fElectronsAbove1GeVFlag = kTRUE;
466 //----------------------------------------//
467 void AliEventTagCuts::SetNElectronsAbove3GeVRange(Int_t i1, Int_t i2)
469 //Sets the number of electrons above 3GeV range
470 //and the corresponding flag to kTRUE if the cut is used.
471 fElectronsAbove3GeVMin = i1;
472 fElectronsAbove3GeVMax = i2;
473 fElectronsAbove3GeVFlag = kTRUE;
476 //----------------------------------------//
477 void AliEventTagCuts::SetNElectronsAbove10GeVRange(Int_t i1, Int_t i2)
479 //Sets the number of electrons above 10GeV range
480 //and the corresponding flag to kTRUE if the cut is used.
481 fElectronsAbove10GeVMin = i1;
482 fElectronsAbove10GeVMax = i2;
483 fElectronsAbove10GeVFlag = kTRUE;
485 //----------------------------------------//
486 void AliEventTagCuts::SetNElectronRange(Int_t n1, Int_t n2)
488 //Sets the electron multiplicity range
489 //and the corresponding flag to kTRUE if the cut is used.
492 fElectronsFlag = kTRUE;
494 //----------------------------------------//
495 void AliEventTagCuts::SetNMuonRange(Int_t n1, Int_t n2)
497 //Sets the muon multiplicity range
498 //and the corresponding flag to kTRUE if the cut is used.
504 //----------------------------------------//
505 void AliEventTagCuts::SetNPionRange(Int_t n1, Int_t n2)
507 //Sets the pion multiplicity range
508 //and the corresponding flag to kTRUE if the cut is used.
514 //----------------------------------------//
515 void AliEventTagCuts::SetNKaonRange(Int_t n1, Int_t n2)
517 //Sets the kaon multiplicity range
518 //and the corresponding flag to kTRUE if the cut is used.
524 //----------------------------------------//
525 void AliEventTagCuts::SetNProtonRange(Int_t n1, Int_t n2)
527 //Sets the proton multiplicity range
528 //and the corresponding flag to kTRUE if the cut is used.
531 fProtonsFlag = kTRUE;
534 //----------------------------------------//
535 void AliEventTagCuts::SetNLambdaRange(Int_t n1, Int_t n2)
537 //Sets the lambda multiplicity range
538 //and the corresponding flag to kTRUE if the cut is used.
541 fLambdasFlag = kTRUE;
543 //----------------------------------------//
544 void AliEventTagCuts::SetNPhotonRange(Int_t n1, Int_t n2)
546 //Sets the photon multiplicity range
547 //and the corresponding flag to kTRUE if the cut is used.
552 //----------------------------------------//
553 void AliEventTagCuts::SetNPi0Range(Int_t n1, Int_t n2)
555 //Sets the pi0 multiplicity range
556 //and the corresponding flag to kTRUE if the cut is used.
562 //----------------------------------------//
563 void AliEventTagCuts::SetNNeutronRange(Int_t n1, Int_t n2)
565 //Sets the neutron multiplicity range
566 //and the corresponding flag to kTRUE if the cut is used.
569 fNeutronsFlag = kTRUE;
572 //----------------------------------------//
573 void AliEventTagCuts::SetNKaon0Range(Int_t n1, Int_t n2)
575 //Sets the K0s multiplicity range
576 //and the corresponding flag to kTRUE if the cut is used.
582 //----------------------------------------//
583 void AliEventTagCuts::SetTotalPRange(Float_t r1, Float_t r2)
585 //Sets the total momentum range
586 //and the corresponding flag to kTRUE if the cut is used.
592 //----------------------------------------//
593 void AliEventTagCuts::SetMeanPtRange(Float_t r1, Float_t r2)
595 //Sets the mean Pt range
596 //and the corresponding flag to kTRUE if the cut is used.
602 //----------------------------------------//
603 void AliEventTagCuts::SetMaxPt(Float_t r1)
605 //Sets the lower limit of the max Pt value
606 //and the corresponding flag to kTRUE if the cut is used.
611 //----------------------------------------//
612 void AliEventTagCuts::SetTotalNeutralPRange(Float_t r1, Float_t r2)
614 //Sets the total momentum of neutral particles range
615 //and the corresponding flag to kTRUE if the cut is used.
616 fTotalNeutralPMin =r1 ;
617 fTotalNeutralPMax = r2;
618 fTotalNeutralPFlag = kTRUE;
620 //----------------------------------------//
621 void AliEventTagCuts::SetMeanNeutralPtPRange(Float_t r1, Float_t r2)
623 //Sets the mean Pt of neutral particles range
624 //and the corresponding flag to kTRUE if the cut is used.
625 fMeanNeutralPtMin = r1;
626 fMeanNeutralPtMax = r2;
627 fMeanNeutralPtFlag = kTRUE;
629 //----------------------------------------//
630 void AliEventTagCuts::SetMaxNeutralPt(Float_t r1)
632 //Sets the lower limit of the maximum Pt of neutral particles
633 //and the corresponding flag to kTRUE if the cut is used.
635 fMaxNeutralPtFlag = kTRUE;
638 //----------------------------------------//
639 void AliEventTagCuts::SetEvPlaneAngleRange(Float_t r1, Float_t r2)
641 //Sets the event plane range
642 //and the corresponding flag to kTRUE if the cut is used.
643 fEventPlaneAngleMin = r1;
644 fEventPlaneAngleMax = r2;
645 fEventPlaneAngleFlag = kTRUE;
648 //----------------------------------------//
649 void AliEventTagCuts::SetHBTRadiiRange(Float_t r1, Float_t r2)
651 //Sets the HBT radii range
652 //and the corresponding flag to kTRUE if the cut is used.
655 fHBTRadiiFlag = kTRUE;
658 //----------------------------------------//
659 Bool_t AliEventTagCuts::IsAccepted(AliEventTag *EvTag) const
661 //Returns true if the event is accepted otherwise false.
663 if((EvTag->GetNumOfTracks() < fMultMin) || (EvTag->GetNumOfTracks() > fMultMax))
667 if((EvTag->GetVertexZ() < fVzMin) || (EvTag->GetVertexZ() > fVzMax))
671 if((EvTag->GetVertexY() < fVyMin) || (EvTag->GetVertexY() > fVyMax))
675 if((EvTag->GetVertexX() < fVxMin) || (EvTag->GetVertexX() > fVxMax))
678 if(fParticipantsFlag)
679 if((EvTag->GetNumOfParticipants() < fParticipantsMin) || (EvTag->GetNumOfParticipants() > fParticipantMax))
683 if((EvTag->GetImpactParameter() < fImpactParamMin) || (EvTag->GetImpactParameter() > fImpactParamMax))
687 if((EvTag->GetVertexFlag() != fPrimaryVertexFlag))
690 if(fZDCNeutronEnergyFlag)
691 if((EvTag->GetZDCNeutronEnergy() < fZDCNeutronEnergyMin) || (EvTag->GetZDCNeutronEnergy() > fZDCNeutronEnergyMax))
694 if(fZDCProtonEnergyFlag)
695 if((EvTag->GetZDCProtonEnergy() < fZDCProtonEnergyMin) || (EvTag->GetZDCProtonEnergy() > fZDCProtonEnergyMax))
699 if((EvTag->GetZDCEMEnergy() < fZDCEMEnergyMin) || (EvTag->GetZDCEMEnergy() > fZDCEMEnergyMax))
703 if((EvTag->GetT0VertexZ() < fT0VertexZMin) || (EvTag->GetT0VertexZ() > fT0VertexZMax))
707 if((EvTag->GetNumOfPosTracks() < fMultPosMin) || (EvTag->GetNumOfPosTracks() > fMultPosMax))
711 if((EvTag->GetNumOfNegTracks() < fMultNegMin) || (EvTag->GetNumOfNegTracks() > fMultNegMax))
715 if((EvTag->GetNumOfNeutrTracks() < fMultNeutrMin) || (EvTag->GetNumOfNeutrTracks() > fMultNeutrMax))
719 if((EvTag->GetNumOfV0s() < fV0sMin) || (EvTag->GetNumOfV0s() > fV0sMax))
723 if((EvTag->GetNumOfCascades() < fCascadesMin) || (EvTag->GetNumOfCascades() > fCascadesMax))
727 if((EvTag->GetNumOfKinks() < fkinksMin) || (EvTag->GetNumOfKinks() > fkinksMax))
730 if(fMaxJetEnergyFlag)
731 if((EvTag->GetMaxJetEnergy() < fMaxJetEnergy))
734 if(fNHardPhotonsCandidatesFlag)
735 if((EvTag->GetNumOfHardPhotonsCandidates() < fNHardPhotonsCandidatesMin) || (EvTag->GetNumOfHardPhotonsCandidates() > fNHardPhotonsCandidatesMax))
739 if((EvTag->GetMaxNeutralEnergy() < fMaxNeutralEnergy))
742 if(fChargedAbove1GeVFlag)
743 if((EvTag->GetNumOfChargedAbove1GeV() < fChargedAbove1GeVMin) || (EvTag->GetNumOfChargedAbove1GeV() > fChargedAbove1GeVMax))
746 if(fChargedAbove3GeVFlag)
747 if((EvTag->GetNumOfChargedAbove3GeV() < fChargedAbove3GeVMin) || (EvTag->GetNumOfChargedAbove3GeV() > fChargedAbove3GeVMax))
750 if(fChargedAbove10GeVFlag)
751 if((EvTag->GetNumOfChargedAbove10GeV() < fChargedAbove10GeVMin) || (EvTag->GetNumOfChargedAbove10GeV() > fChargedAbove10GeVMax))
754 if(fMuonsAbove1GeVFlag)
755 if((EvTag->GetNumOfMuonsAbove1GeV() < fMuonsAbove1GeVMin) || (EvTag->GetNumOfMuonsAbove1GeV() > fMuonsAbove1GeVMax))
758 if(fMuonsAbove3GeVFlag)
759 if((EvTag->GetNumOfMuonsAbove3GeV() < fMuonsAbove3GeVMin) || (EvTag->GetNumOfMuonsAbove3GeV() > fMuonsAbove3GeVMax))
762 if(fMuonsAbove10GeVFlag)
763 if((EvTag->GetNumOfMuonsAbove10GeV() < fMuonsAbove10GeVMin) || (EvTag->GetNumOfMuonsAbove10GeV() > fMuonsAbove10GeVMax))
766 if(fElectronsAbove1GeVFlag)
767 if((EvTag->GetNumOfElectronsAbove1GeV() < fElectronsAbove1GeVMin) || (EvTag->GetNumOfElectronsAbove1GeV() > fElectronsAbove1GeVMax))
770 if(fElectronsAbove3GeVFlag)
771 if((EvTag->GetNumOfElectronsAbove3GeV() < fElectronsAbove3GeVMin) || (EvTag->GetNumOfElectronsAbove3GeV() > fElectronsAbove3GeVMax))
774 if(fElectronsAbove10GeVFlag)
775 if((EvTag->GetNumOfElectronsAbove10GeV() < fElectronsAbove10GeVMin) || (EvTag->GetNumOfElectronsAbove10GeV() > fElectronsAbove10GeVMax))
779 if((EvTag->GetNumOfElectrons() < fElectronsMin) || (EvTag->GetNumOfElectrons() > fElectronsMax))
783 if((EvTag->GetNumOfMuons() < fMuonsMin) || (EvTag->GetNumOfMuons() > fMuonsMax))
787 if((EvTag->GetNumOfPions() < fPionsMin) || (EvTag->GetNumOfPions() > fPionsMax))
791 if((EvTag->GetNumOfKaons() < fKaonsMin) || (EvTag->GetNumOfKaons() > fKaonsMax))
795 if((EvTag->GetNumOfProtons() < fProtonsMin) || (EvTag->GetNumOfProtons() > fProtonsMax))
799 if((EvTag->GetNumOfLambdas() < fLambdasMin) || (EvTag->GetNumOfLambdas() > fLambdasMax))
803 if((EvTag->GetNumOfPhotons() < fPhotonsMin) || (EvTag->GetNumOfPhotons() > fPhotonsMax))
807 if((EvTag->GetNumOfPi0s() < fPi0sMin) || (EvTag->GetNumOfPi0s() > fPi0sMax))
811 if((EvTag->GetNumOfNeutrons() < fNeutronsMin) || (EvTag->GetNumOfNeutrons() > fNeutronsMax))
815 if((EvTag->GetNumOfKaon0s() < fKaon0sMin) || (EvTag->GetNumOfKaon0s() > fKaon0sMax))
819 if((EvTag->GetTotalMomentum() < fTotalPMin) || (EvTag->GetTotalMomentum() > fTotalPMax))
823 if((EvTag->GetMeanPt() < fMeanPtMin) || (EvTag->GetMeanPt() > fMeanPtMax))
827 if((EvTag->GetMaxPt() < fMaxPt))
830 if(fTotalNeutralPFlag)
831 if((EvTag->GetNeutralTotalMomentum() < fTotalNeutralPMin) || (EvTag->GetNeutralTotalMomentum() > fTotalNeutralPMax))
834 if(fMeanNeutralPtFlag)
835 if((EvTag->GetNeutralMeanPt() < fMeanNeutralPtMin) || (EvTag->GetNeutralMeanPt() >fMeanNeutralPtMax ))
838 if(fMaxNeutralPtFlag)
839 if((EvTag->GetNeutralMaxPt() < fMaxNeutralPt))
842 if(fEventPlaneAngleFlag)
843 if((EvTag->GetEventPlaneAngle() < fEventPlaneAngleMin) || (EvTag->GetEventPlaneAngle() > fEventPlaneAngleMax))
847 if((EvTag->GetHBTRadii() < fHBTRadiiMin) || (EvTag->GetHBTRadii() > fHBTRadiiMax))