1 #ifndef __BaseHiGenEvtSelector_h_ 2 #define __BaseHiGenEvtSelector_h_ 5 #include "HepMC/GenEvent.h" 6 #include "HepMC/GenParticle.h" 14 return (par->status() ==
status &&
abs(par->pdg_id()) ==
pdg && par->momentum().perp() >
ptMin &&
15 fabs(par->momentum().eta()) <
etaMax);
virtual ~BaseHiGenEvtSelector()
bool selectParticle(HepMC::GenParticle *par, int status, int pdg, double ptMin, double etaMax)
Abs< T >::type abs(const T &t)
virtual bool filter(HepMC::GenEvent *)
BaseHiGenEvtSelector(const edm::ParameterSet &)