#include <GenJetParticleSelector.h>
Public Member Functions | |
GenJetParticleSelector (const edm::ParameterSet &, edm::ConsumesCollector &iC) | |
void | init (const edm::EventSetup &) |
bool | operator() (const reco::Candidate &) |
Private Types | |
typedef std::vector< PdtEntry > | vpdt |
Private Attributes | |
bool | bInclude_ |
bool | partons_ |
vpdt | pdtList_ |
std::set< int > | pIds_ |
bool | stableOnly_ |
Definition at line 16 of file GenJetParticleSelector.h.
|
private |
Definition at line 22 of file GenJetParticleSelector.h.
GenJetParticleSelector::GenJetParticleSelector | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 10 of file GenJetParticleSelector.cc.
References bInclude_, Exception, spr::find(), runEdmFileComparison::found, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), partons_, pdtList_, and stableOnly_.
void GenJetParticleSelector::init | ( | const edm::EventSetup & | es | ) |
Definition at line 57 of file GenJetParticleSelector.cc.
References mps_fire::i, and pdtList_.
Referenced by reco::modules::GenJetParticleSelectorEventSetupInit::init().
bool GenJetParticleSelector::operator() | ( | const reco::Candidate & | p | ) |
Definition at line 43 of file GenJetParticleSelector.cc.
References funct::abs(), bInclude_, reco::Candidate::daughter(), reco::Candidate::numberOfDaughters(), partons_, reco::Candidate::pdgId(), pIds_, stableOnly_, mps_update::status, and reco::Candidate::status().
|
private |
Definition at line 26 of file GenJetParticleSelector.h.
Referenced by GenJetParticleSelector(), and operator()().
|
private |
Definition at line 24 of file GenJetParticleSelector.h.
Referenced by GenJetParticleSelector(), and operator()().
|
private |
Definition at line 25 of file GenJetParticleSelector.h.
Referenced by GenJetParticleSelector(), and init().
|
private |
Definition at line 27 of file GenJetParticleSelector.h.
Referenced by operator()().
|
private |
Definition at line 23 of file GenJetParticleSelector.h.
Referenced by GenJetParticleSelector(), and operator()().