#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_, looper::cfg, Exception, genCandidates_cfi::excludeList, spr::find(), newFWLiteAna::found, 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_.
bool GenJetParticleSelector::operator() | ( | const reco::Candidate & | p | ) |
Definition at line 49 of file GenJetParticleSelector.cc.
References funct::abs(), bInclude_, AlCaHLTBitMon_ParallelJobs::p, partons_, pIds_, stableOnly_, and mps_update::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().