#include <GenJetParticleSelector.h>
Public Member Functions | |
GenJetParticleSelector (const edm::ParameterSet &) | |
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 | ) |
Definition at line 10 of file GenJetParticleSelector.cc.
References bInclude_, edm::hlt::Exception, spr::find(), newFWLiteAna::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.
Referenced by reco::modules::GenJetParticleSelectorEventSetupInit::init().
bool GenJetParticleSelector::operator() | ( | const reco::Candidate & | p | ) |
Definition at line 43 of file GenJetParticleSelector.cc.
References abs, bInclude_, reco::Candidate::daughter(), reco::Candidate::numberOfDaughters(), partons_, reco::Candidate::pdgId(), pIds_, stableOnly_, reco::Candidate::status(), and ntuplemaker::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()().