11#ifndef MCPARTICLEKERNEL_ITRUTHPARTICLECNVTOOL_H
12#define MCPARTICLEKERNEL_ITRUTHPARTICLECNVTOOL_H
25#include "GaudiKernel/IAlgTool.h"
26#include "GaudiKernel/IProperty.h"
54 virtual StatusCode
execute(
const EventContext& ctx)
const = 0;
65 const unsigned int genEvtIndex,
97 const unsigned int genEvtIndex = 0;
106 const unsigned int genEvtIndex = 0;
interface for AlgTools which want to convert McEventCollection objects into a TruthParticleContainer ...
virtual StatusCode execute(const EventContext &ctx) const =0
virtual ~ITruthParticleCnvTool()
Destructor:
DeclareInterfaceID(ITruthParticleCnvTool, 1, 0)
StatusCode convertMcEventCollection(const McEventCollection *mcCollection, TruthParticleContainer *container) const
Convert a McEventCollection into an TruthParticleContainer.
virtual StatusCode convert(const McEventCollection *mcEvts, const unsigned int genEvtIndex, TruthParticleContainer *mcParts, const ITruthParticleVisitor *visitor=0) const =0
Convert a McEventCollection into an TruthParticleContainer.
virtual StatusCode execute() const =0
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
(HepMC) Monte Carlo particle.