Public Member Functions | |
ParticleDecayDrawer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 EnergyCorrector::c, spr::find(), and select().
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), decay(), and esMonitoring.FDJsonServer::handle_accept().
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 68 of file ParticleDecayDrawer.cc.
References gather_cfg::cout, TauDecayModes::dec, decay(), edm::EventSetup::getData(), j, visualization-live-secondInstance_cfg::m, reco::Candidate::mother(), gen::n, class-composition::nodes, AlCaHLTBitMon_ParallelJobs::p, pdt_, select(), createPayload::skip, and srcToken_.
|
private |
Definition at line 132 of file ParticleDecayDrawer.cc.
References accept(), assert(), EnergyCorrector::c, ztail::d, reco::Candidate::daughter(), TauDecayModes::dec, spr::find(), i, reco::Candidate::numberOfDaughters(), GenerateHcalLaserBadRunList::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 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().