![]() |
ATLAS Offline Software
|
#include <RootTruthParticleCnvTool.h>
Public Member Functions | |
| double | chargeFromPdgId (int pdgId) const |
| Helper method to get the charge of a particle given its PDG Id. | |
Function(s) inherited from ITruthParticleCnvTool | |
| virtual StatusCode | execute () const override |
| A hook for Athena algorithms. | |
| virtual StatusCode | execute (const EventContext &ctx) const override |
| virtual StatusCode | convert (const McEventCollection *mcEvts, const unsigned int genEvtIndex, TruthParticleContainer *mcParts, const ITruthParticleVisitor *visitor) const override |
Converts a McEventCollection into an TruthParticleContainer (ie: converts it into an AOD compliant collection). | |
Function(s) inherited from IProperty | |
| virtual StatusCode | setProperty (const std::string &s) override |
| virtual StatusCode | setProperty (const std::string &name, const Gaudi::Details::PropertyBase &p) override |
| virtual StatusCode | setPropertyRepr (const std::string &n, const std::string &r) override |
| virtual StatusCode | getProperty (Gaudi::Details::PropertyBase *p) const override |
| virtual const Gaudi::Details::PropertyBase & | getProperty (std::string_view name) const override |
| virtual StatusCode | getProperty (std::string_view n, std::string &v) const override |
| virtual const std::vector< Gaudi::Details::PropertyBase * > & | getProperties () const override |
| virtual bool | hasProperty (std::string_view name) const override |
Function(s) inherited from IAlgTool | |
| virtual const std::string & | type () const override |
| virtual const IInterface * | parent () const override |
| virtual StatusCode | configure () override |
| virtual StatusCode | initialize () override |
| virtual StatusCode | sysInitialize () override |
| virtual StatusCode | reinitialize () override |
| virtual StatusCode | sysReinitialize () override |
| virtual StatusCode | start () override |
| virtual StatusCode | sysStart () override |
| virtual StatusCode | restart () override |
| virtual StatusCode | sysRestart () override |
| virtual StatusCode | stop () override |
| virtual StatusCode | sysStop () override |
| virtual StatusCode | finalize () override |
| virtual StatusCode | sysFinalize () override |
| virtual StatusCode | terminate () override |
| virtual Gaudi::StateMachine::State | FSMState () const override |
Function(s) inherited from INamedInterface | |
| virtual const std::string & | name () const override |
Definition at line 13 of file RootTruthParticleCnvTool.h.
| double RootTruthParticleCnvTool::chargeFromPdgId | ( | int | pdgId | ) | const |
Helper method to get the charge of a particle given its PDG Id.
Definition at line 120 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 156 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Converts a McEventCollection into an TruthParticleContainer (ie: converts it into an AOD compliant collection).
@in mcEvts the McEventCollection holding the HepMC::GenEvent we want to convert into a TruthParticleContainer @in genEvtIndex the index to the HepMC::GenEvent to be converted @out mcParts a valid pointer to a TruthParticleContainer which will be filled with adaptors to HepMC::GenParticles.
Create a map to enhance access between GenParticles and TruthParticles
Definition at line 27 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 23 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 24 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 167 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 170 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 142 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 135 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 138 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 137 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 143 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 157 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 181 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 155 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 159 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 163 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 133 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 131 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 134 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 161 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 165 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 168 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 158 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 160 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 164 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 162 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 166 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 169 of file RootTruthParticleCnvTool.cxx.
|
overridevirtual |
Definition at line 154 of file RootTruthParticleCnvTool.cxx.