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