![]() |
ATLAS Offline Software
|
#include <ITruthParticleCnvTool.h>
Public Member Functions | |
virtual | ~ITruthParticleCnvTool () |
Destructor: More... | |
virtual StatusCode | execute () const =0 |
virtual StatusCode | execute (const EventContext &ctx) const =0 |
virtual StatusCode | convert (const McEventCollection *mcEvts, const unsigned int genEvtIndex, TruthParticleContainer *mcParts, const ITruthParticleVisitor *visitor=0) const =0 |
Convert a McEventCollection into an TruthParticleContainer . More... | |
StatusCode | convert (const McEventCollection *mcCollection, TruthParticleContainer *container) const |
Convert the first element of a McEventCollection into a TruthParticleContainer . More... | |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
Inline methods: More... | |
interface for AlgTools which want to convert McEventCollection objects into a TruthParticleContainer objects. It is also used by the custom POOL converter for TruthParticleContainer to recreate the TruthParticleContainers on the fly (save some disk space). ITruthParticleCnvTool also provides some helper functions related with mother/daughter relationships in the TruthParticle context.
Definition at line 39 of file ITruthParticleCnvTool.h.
|
virtual |
Destructor:
Public methods:
Constructors Destructor
Definition at line 25 of file ITruthParticleCnvTool.cxx.
|
inline |
Convert the first element of a McEventCollection
into a TruthParticleContainer
.
Definition at line 112 of file ITruthParticleCnvTool.h.
|
pure virtual |
Convert a McEventCollection
into an TruthParticleContainer
.
@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
.
Implemented in TruthParticleCnvTool, and RootTruthParticleCnvTool.
|
inline |
Convert a McEventCollection
into an TruthParticleContainer
.
deprecated Note that the pointer to the TruthParticleContainer
MUST be valid.
Definition at line 121 of file ITruthParticleCnvTool.h.
|
pure virtual |
Implemented in TruthParticleCnvTool, and RootTruthParticleCnvTool.
|
pure virtual |
Implemented in TruthParticleCnvTool, and RootTruthParticleCnvTool.
|
inlinestatic |
Inline methods:
Definition at line 106 of file ITruthParticleCnvTool.h.