1 #ifndef __InputGenJetsParticleSelector__
2 #define __InputGenJetsParticleSelector__
bool hasPartonChildren(ParticleBitmap &invalid, const ParticleVector &p, const reco::GenParticle *particle) const
std::vector< const reco::GenParticle * > ParticleVector
static bool isHadron(int pdgId)
const std::vector< unsigned int > & getIgnoredParticles() const
int testPartonChildren(ParticleBitmap &invalid, const ParticleVector &p, const reco::GenParticle *particle) const
void setPartonicFinalState(bool flag=true)
std::vector< unsigned int > excludeFromResonancePids
virtual void produce(edm::Event &evt, const edm::EventSetup &evtSetup)
void setIgnoredParticles(const std::vector< unsigned int > &particleIDs)
bool isParton(int pdgId) const
bool isExcludedFromResonance(int pdgId) const
bool isIgnored(int pdgId) const
void setTausAsJets(bool flag=true)
std::vector< bool > ParticleBitmap
void setPtMin(double ptMin)
bool getTausAndJets() const
static bool isResonance(int pdgId)
InputGenJetsParticleSelector()
bool getExcludeResonances() const
std::vector< unsigned int > ignoreParticleIDs
void setExcludeFromResonancePids(const std::vector< unsigned int > &particleIDs)
bool getPartonicFinalState() const
ResonanceState fromResonance(ParticleBitmap &invalid, const ParticleVector &p, const reco::GenParticle *particle) const
void setExcludeResonances(bool flag=true)
~InputGenJetsParticleSelector()