Public Member Functions | |
ParticleDecayDrawer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 &) |
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::InputTag | src_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 11 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 python.Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), python.Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and decay().
|
privatevirtual |
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, L1TEmulatorMonitor_cff::p, pdt_, select(), createPayload::skip, and src_.
|
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 createPayload::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 18 of file ParticleDecayDrawer.cc.
|
private |
|
private |
Definition at line 20 of file ParticleDecayDrawer.cc.
Referenced by printP4().
|
private |
Definition at line 20 of file ParticleDecayDrawer.cc.
Referenced by printP4().
|
private |
Definition at line 16 of file ParticleDecayDrawer.cc.
Referenced by analyze().