Private Member Functions | |
bool | accept (const reco::Candidate &, const std::list< const reco::Candidate * > &) const |
accept candidate More... | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
std::string | decay (const reco::Candidate &, std::list< const reco::Candidate * > &) const |
bool | hasValidDaughters (const reco::Candidate &) const |
has valid daughters in the chain More... | |
std::string | printP4 (const reco::Candidate &) const |
print 4 momenta More... | |
bool | select (const reco::Candidate &) const |
select candidate More... | |
Private Attributes | |
edm::ESHandle< ParticleDataTable > | pdt_ |
bool | printP4_ |
print parameters More... | |
bool | printPtEtaPhi_ |
bool | printVertex_ |
edm::EDGetTokenT< edm::View < reco::Candidate > > | srcToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 12 of file ParticleDecayDrawer.cc.
ParticleDecayDrawer::ParticleDecayDrawer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 44 of file ParticleDecayDrawer.cc.
|
private |
accept candidate
Definition at line 51 of file ParticleDecayDrawer.cc.
References trackerHits::c, spr::find(), and select().
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and decay().
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 68 of file ParticleDecayDrawer.cc.
References gather_cfg::cout, decay(), edm::EventSetup::getData(), j, m, reco::Candidate::mother(), n, AlCaHLTBitMon_ParallelJobs::p, pdt_, select(), runGlobalFakeInputProducer::skip, and srcToken_.
|
private |
Definition at line 132 of file ParticleDecayDrawer.cc.
References accept(), trackerHits::c, reco::Candidate::daughter(), spr::find(), i, reco::Candidate::numberOfDaughters(), dbtoconf::out, reco::Candidate::pdgId(), pdt_, printP4(), and runGlobalFakeInputProducer::skip.
Referenced by analyze().
|
private |
has valid daughters in the chain
Definition at line 60 of file ParticleDecayDrawer.cc.
References reco::Candidate::daughter(), i, reco::Candidate::numberOfDaughters(), and select().
|
private |
print 4 momenta
Definition at line 124 of file ParticleDecayDrawer.cc.
References gather_cfg::cout, reco::Candidate::energy(), reco::Candidate::eta(), reco::Candidate::phi(), printP4_, printPtEtaPhi_, printVertex_, reco::Candidate::pt(), reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), reco::Candidate::vx(), reco::Candidate::vy(), and reco::Candidate::vz().
Referenced by decay().
|
private |
select candidate
Definition at line 56 of file ParticleDecayDrawer.cc.
References reco::Candidate::status().
Referenced by accept(), analyze(), and hasValidDaughters().
|
private |
Definition at line 19 of file ParticleDecayDrawer.cc.
|
private |
|
private |
Definition at line 21 of file ParticleDecayDrawer.cc.
Referenced by printP4().
|
private |
Definition at line 21 of file ParticleDecayDrawer.cc.
Referenced by printP4().
|
private |
Definition at line 17 of file ParticleDecayDrawer.cc.
Referenced by analyze().