#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_ |
const edm::ESGetToken < HepPDT::ParticleDataTable, edm::DefaultRecord > | tableToken_ |
Definition at line 25 of file GenJetParticleSelector.h.
|
private |
Definition at line 32 of file GenJetParticleSelector.h.
GenJetParticleSelector::GenJetParticleSelector | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 11 of file GenJetParticleSelector.cc.
References bInclude_, 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 61 of file GenJetParticleSelector.cc.
References edm::EventSetup::getData(), mps_fire::i, pdtList_, and tableToken_.
Referenced by reco::modules::GenJetParticleSelectorEventSetupInit::init().
bool GenJetParticleSelector::operator() | ( | const reco::Candidate & | p | ) |
Definition at line 49 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 36 of file GenJetParticleSelector.h.
Referenced by GenJetParticleSelector(), and operator()().
|
private |
Definition at line 34 of file GenJetParticleSelector.h.
Referenced by GenJetParticleSelector(), and operator()().
|
private |
Definition at line 35 of file GenJetParticleSelector.h.
Referenced by GenJetParticleSelector(), and init().
|
private |
Definition at line 37 of file GenJetParticleSelector.h.
Referenced by operator()().
|
private |
Definition at line 33 of file GenJetParticleSelector.h.
Referenced by GenJetParticleSelector(), and operator()().
|
private |
Definition at line 38 of file GenJetParticleSelector.h.
Referenced by init().