1 #ifndef _HI_PartonHadronDecayGenEvtSelector_h__ 2 #define _HI_PartonHadronDecayGenEvtSelector_h__ 14 return (par->status() ==
status &&
abs(par->pdg_id()) ==
pdg && par->momentum().perp() >
ptMin &&
15 fabs(par->momentum().eta()) <
etaMax);
25 return (par->status() ==
status &&
abs(par->pdg_id()) ==
pdg && par->momentum().eta() <
etaMax &&
26 par->momentum().eta() >
etaMin && par->momentum().rho() >
pMin && par->momentum().perp() <
ptMax &&
27 par->momentum().perp() >
ptMin);
std::vector< double > partonEtaMax_
std::vector< double > hadronPtMax_
std::vector< int > partonStatus_
std::vector< double > hadronEtaMax_
PartonHadronDecayGenEvtSelector(const edm::ParameterSet &pset)
std::vector< int > partonId_
std::vector< double > hadronEtaMin_
bool selectParticle(HepMC::GenParticle *par, int status, int pdg, double etaMax, double etaMin, double pMin, double ptMax, double ptMin)
Abs< T >::type abs(const T &t)
std::vector< int > hadronId_
std::vector< double > hadronPtMin_
bool filter(HepMC::GenEvent *) override
std::vector< double > hadronPMin_
bool selectParticle(HepMC::GenParticle *par, int status, int pdg, double ptMin, double etaMax)
std::vector< double > partonPtMin_
std::vector< int > hadronStatus_
~PartonHadronDecayGenEvtSelector() override