1 #ifndef __InputGenJetsParticleSelector__
2 #define __InputGenJetsParticleSelector__
bool hasPartonChildren(ParticleBitmap &invalid, const ParticleVector &p, const reco::Candidate *particle) const
edm::EDGetTokenT< reco::CandidateView > input_genpartcoll_token_
static bool isHadron(int pdgId)
const std::vector< unsigned int > & getIgnoredParticles() const
void setPartonicFinalState(bool flag=true)
std::vector< unsigned int > excludeFromResonancePids
virtual void produce(edm::Event &evt, const edm::EventSetup &evtSetup)
int testPartonChildren(ParticleBitmap &invalid, const ParticleVector &p, const reco::Candidate *particle) const
void setIgnoredParticles(const std::vector< unsigned int > &particleIDs)
bool isParton(int pdgId) const
bool isExcludedFromResonance(int pdgId) const
edm::EDGetTokenT< reco::CandidateView > input_prunedgenpartcoll_token_
bool isIgnored(int pdgId) const
void setTausAsJets(bool flag=true)
ResonanceState fromResonance(ParticleBitmap &invalid, const ParticleVector &p, const reco::Candidate *particle) const
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
edm::InputTag prunedInTag
std::vector< const reco::Candidate * > ParticleVector
void setExcludeFromResonancePids(const std::vector< unsigned int > &particleIDs)
bool getPartonicFinalState() const
void setExcludeResonances(bool flag=true)
~InputGenJetsParticleSelector()