1 #ifndef _HI_HadronDecayGenEvtSelector_h__ 2 #define _HI_HadronDecayGenEvtSelector_h__ 21 return (par->status() ==
status &&
abs(par->pdg_id()) ==
pdg && par->momentum().eta() <
etaMax &&
22 par->momentum().eta() >
etaMin && par->momentum().rho() >
pMin && par->momentum().perp() <
ptMax &&
23 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_