1 #ifndef _HI_HadronDecayGenEvtSelector_h__
2 #define _HI_HadronDecayGenEvtSelector_h__
13 bool filter(HepMC::GenEvent *);
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 filter(HepMC::GenEvent *)
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_
HadronDecayGenEvtSelector(const edm::ParameterSet &pset)
std::vector< double > hadronEtaMin_
std::vector< double > hadronPtMax_
std::vector< double > hadronPtMin_
virtual ~HadronDecayGenEvtSelector()
std::vector< double > hadronPMin_