Tool to translate an EDM MCParticleCollection into a G4Event.
More...
#include "SimG4PrimariesFromEdmTool.h"
|
DataHandle< edm4hep::MCParticleCollection > | m_genParticles {"GenParticles", Gaudi::DataHandle::Reader, this} |
| Handle for the EDM MC particles to be read.
|
|
Tool to translate an EDM MCParticleCollection into a G4Event.
- Author
- A. Zaborowska, J. Lingemann, A. Dell'Acqua
- Date
- 2016-01-11
◆ SimG4PrimariesFromEdmTool()
SimG4PrimariesFromEdmTool::SimG4PrimariesFromEdmTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ ~SimG4PrimariesFromEdmTool()
SimG4PrimariesFromEdmTool::~SimG4PrimariesFromEdmTool |
( |
| ) |
|
|
virtual |
◆ g4Event()
G4Event * SimG4PrimariesFromEdmTool::g4Event |
( |
| ) |
|
|
finalvirtual |
Translates the input (edm4hep::MCParticleCollection) into a G4Event.
- Returns
- G4Event with primaries generated from MCParticleCollection (ownership is transferred to the caller)
Implements ISimG4EventProviderTool.
◆ initialize()
StatusCode SimG4PrimariesFromEdmTool::initialize |
( |
| ) |
|
|
final |
◆ m_genParticles
DataHandle<edm4hep::MCParticleCollection> SimG4PrimariesFromEdmTool::m_genParticles {"GenParticles", Gaudi::DataHandle::Reader, this} |
|
mutableprivate |
Handle for the EDM MC particles to be read.
The documentation for this class was generated from the following files: