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_ |
edm::ESGetToken < ParticleDataTable, edm::DefaultRecord > | pdtToken_ |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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 13 of file ParticleDecayDrawer.cc.
ParticleDecayDrawer::ParticleDecayDrawer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 47 of file ParticleDecayDrawer.cc.
|
private |
accept candidate
Definition at line 54 of file ParticleDecayDrawer.cc.
References c, spr::find(), and select().
Referenced by decay(), and esMonitoring.FDJsonServer::handle_accept().
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 70 of file ParticleDecayDrawer.cc.
References gather_cfg::cout, TauDecayModes::dec, decay(), edm::EventSetup::getHandle(), dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, reco::Candidate::mother(), dqmiodumpmetadata::n, class-composition::nodes, AlCaHLTBitMon_ParallelJobs::p, pdt_, pdtToken_, select(), createPayload::skip, and srcToken_.
|
private |
Definition at line 136 of file ParticleDecayDrawer.cc.
References accept(), cms::cuda::assert(), c, ztail::d, reco::Candidate::daughter(), TauDecayModes::dec, spr::find(), mps_fire::i, reco::Candidate::numberOfDaughters(), submitPVResolutionJobs::out, reco::Candidate::pdgId(), pdt_, printP4(), and createPayload::skip.
Referenced by analyze().
|
private |
has valid daughters in the chain
Definition at line 62 of file ParticleDecayDrawer.cc.
References reco::Candidate::daughter(), mps_fire::i, reco::Candidate::numberOfDaughters(), and select().
|
private |
print 4 momenta
Definition at line 125 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 60 of file ParticleDecayDrawer.cc.
References reco::Candidate::status().
Referenced by accept(), analyze(), and hasValidDaughters().
|
private |
Definition at line 21 of file ParticleDecayDrawer.cc.
|
private |
Definition at line 22 of file ParticleDecayDrawer.cc.
Referenced by analyze().
|
private |
|
private |
Definition at line 24 of file ParticleDecayDrawer.cc.
Referenced by printP4().
|
private |
Definition at line 24 of file ParticleDecayDrawer.cc.
Referenced by printP4().
|
private |
Definition at line 19 of file ParticleDecayDrawer.cc.
Referenced by analyze().