1 #ifndef _HI_HadronDecayGenEvtSelector_h__ 2 #define _HI_HadronDecayGenEvtSelector_h__ 15 return (par->status() == status &&
16 abs(par->pdg_id()) == pdg &&
17 par->momentum().eta() < etaMax && par->momentum().eta() > etaMin &&
18 par->momentum().rho() > pMin &&
19 par->momentum().perp() < ptMax && par->momentum().perp() >
ptMin);
std::vector< int > hadronId_
bool selectParticle(HepMC::GenParticle *par, int status, int pdg, double etaMax, double etaMin, double pMin, double ptMax, double ptMin)
std::vector< double > hadronEtaMax_
std::vector< int > hadronStatus_
Abs< T >::type abs(const T &t)
HadronDecayGenEvtSelector(const edm::ParameterSet &pset)
std::vector< double > hadronEtaMin_
std::vector< double > hadronPtMax_
~HadronDecayGenEvtSelector() override
std::vector< double > hadronPtMin_
bool filter(HepMC::GenEvent *) override
std::vector< double > hadronPMin_