Module to analyze the particle listing as provided by common event generators. More...
Private Member Functions | |
std::string | getParticleName (int id) const |
Private Attributes | |
int | maxEventsToPrint_ |
unsigned int | nEventAnalyzed_ |
edm::ESHandle< ParticleDataTable > | pdt_ |
edm::ESGetToken< ParticleDataTable, edm::DefaultRecord > | pdtToken_ |
bool | printFlags_ |
bool | printOnlyHardInteraction_ |
bool | printVertex_ |
edm::InputTag | src_ |
edm::EDGetTokenT< reco::CandidateView > | srcToken_ |
bool | useMessageLogger_ |
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) |
Module to analyze the particle listing as provided by common event generators.
Module to analyze the particle listing as provided by common event generators equivalent to PYLIST(1) (from pythia). It is expected to run on vectors of reo::GenParticles. For an example of use have a look to:
PhysicsTools/HepMCCandAlgos/test/testParticleTreeDrawer.py
Caveats: Status 3 particles can have daughters both with status 2 and 3. In pythia this is not the same mother-daughter. The relations are correct but special care has to be taken when looking at mother-daughter relation which involve status 2 and 3 particles.
Definition at line 42 of file ParticleListDrawer.cc.
|
explicit |
Definition at line 63 of file ParticleListDrawer.cc.
|
inlineoverride |
Definition at line 45 of file ParticleListDrawer.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 84 of file ParticleListDrawer.cc.
References visDQMUpload::buf, HLT_2022v12_cff::cands, gather_cfg::cout, Exception, spr::find(), newFWLiteAna::found, edm::EventSetup::getHandle(), getParticleName(), runTauDisplay::gp, heavyIonCSV_trainingSettings::idx, iEvent, edm::InputTag::label(), maxEventsToPrint_, nEventAnalyzed_, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, HiggsValidation_cfi::particleName, ecalTrigSettings_cff::particles, pdt_, pdtToken_, printFlags_, printOnlyHardInteraction_, printVertex_, src_, srcToken_, and useMessageLogger_.
|
private |
Definition at line 74 of file ParticleListDrawer.cc.
References triggerObjects_cff::id, pdt_, and contentValuesCheck::ss.
Referenced by analyze().
|
private |
Definition at line 55 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file ParticleListDrawer.cc.
Referenced by analyze(), and getParticleName().
|
private |
Definition at line 54 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 59 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 58 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 60 of file ParticleListDrawer.cc.
Referenced by analyze().