Private Types | |
typedef std::vector< int > | vint |
accepted status codes More... | |
Private Member Functions | |
bool | accept (const reco::Candidate &) const |
accept candidate More... | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
std::string | getParticleName (int id) const |
bool | hasValidDaughters (const reco::Candidate &) const |
has valid daughters in the chain More... | |
void | printDecay (const reco::Candidate &, const std::string &pre) const |
void | printInfo (const reco::Candidate &) const |
print 4 momenta More... | |
Private Attributes | |
std::vector< const reco::Candidate * > | cands_ |
pointer to collection More... | |
edm::ESHandle< ParticleDataTable > | pdt_ |
edm::ESGetToken< ParticleDataTable, edm::DefaultRecord > | pdtToken_ |
bool | printIndex_ |
bool | printP4_ |
print parameters More... | |
bool | printPtEtaPhi_ |
bool | printStatus_ |
bool | printVertex_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | srcToken_ |
vint | status_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 15 of file ParticleTreeDrawer.cc.
|
private |
accepted status codes
Definition at line 29 of file ParticleTreeDrawer.cc.
ParticleTreeDrawer::ParticleTreeDrawer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 52 of file ParticleTreeDrawer.cc.
|
private |
accept candidate
Definition at line 62 of file ParticleTreeDrawer.cc.
References HltBtagPostValidation_cff::c, spr::find(), and status_.
Referenced by analyze(), esMonitoring.FDJsonServer::handle_accept(), hasValidDaughters(), and printDecay().
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 86 of file ParticleTreeDrawer.cc.
References accept(), cands_, gather_cfg::cout, edm::EventSetup::getHandle(), AlCaHLTBitMon_ParallelJobs::p, ecalTrigSettings_cff::particles, pdt_, pdtToken_, printDecay(), and srcToken_.
|
private |
Definition at line 76 of file ParticleTreeDrawer.cc.
References l1ctLayer2EG_cff::id, pdt_, and contentValuesCheck::ss.
Referenced by printDecay().
|
private |
has valid daughters in the chain
Definition at line 68 of file ParticleTreeDrawer.cc.
References accept(), HltBtagPostValidation_cff::c, and mps_fire::i.
Referenced by printDecay().
|
private |
Definition at line 123 of file ParticleTreeDrawer.cc.
References accept(), cms::cuda::assert(), HltBtagPostValidation_cff::c, gather_cfg::cout, ztail::d, getParticleName(), hasValidDaughters(), mps_fire::i, and printInfo().
Referenced by analyze().
|
private |
print 4 momenta
Definition at line 104 of file ParticleTreeDrawer.cc.
References HltBtagPostValidation_cff::c, cands_, gather_cfg::cout, spr::find(), newFWLiteAna::found, heavyIonCSV_trainingSettings::idx, printIndex_, printP4_, printPtEtaPhi_, printStatus_, and printVertex_.
Referenced by printDecay().
|
private |
pointer to collection
Definition at line 38 of file ParticleTreeDrawer.cc.
Referenced by analyze(), and printInfo().
|
private |
Definition at line 24 of file ParticleTreeDrawer.cc.
Referenced by analyze(), and getParticleName().
|
private |
Definition at line 25 of file ParticleTreeDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 27 of file ParticleTreeDrawer.cc.
Referenced by printInfo().
|
private |
|
private |
Definition at line 27 of file ParticleTreeDrawer.cc.
Referenced by printInfo().
|
private |
Definition at line 27 of file ParticleTreeDrawer.cc.
Referenced by printInfo().
|
private |
Definition at line 27 of file ParticleTreeDrawer.cc.
Referenced by printInfo().
|
private |
Definition at line 22 of file ParticleTreeDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 30 of file ParticleTreeDrawer.cc.
Referenced by accept().