This tool allows to save the particle history of particles decaying during the simulation.
More...
#include <SimG4SaveParticleHistory.h>
|
DataHandle< edm4hep::MCParticleCollection > | m_mcParticles {"SimParticleSecondaries", Gaudi::DataHandle::Writer, this} |
| Handle for collection of MC particles to create.
|
|
edm4hep::MCParticleCollection * | m_mcParticleColl |
| Pointer to the particle collection, ownership should be handled in a algorithm / tool.
|
|
This tool allows to save the particle history of particles decaying during the simulation.
- Author
- J. Lingemann
-
V. Volkl
◆ SimG4SaveParticleHistory()
SimG4SaveParticleHistory::SimG4SaveParticleHistory |
( |
const std::string & | aType, |
|
|
const std::string & | aName, |
|
|
const IInterface * | aParent ) |
|
explicit |
◆ ~SimG4SaveParticleHistory()
virtual SimG4SaveParticleHistory::~SimG4SaveParticleHistory |
( |
| ) |
|
|
virtualdefault |
◆ saveOutput()
StatusCode SimG4SaveParticleHistory::saveOutput |
( |
const G4Event & | aEvent | ) |
|
|
finaloverridevirtual |
Save the history Creates particles and gen vertices that allow association of parents and children.
- Parameters
-
[in] | aEvent | The Geant Event conatining data to save. |
- Returns
- status code
Implements ISimG4SaveOutputTool.
◆ m_mcParticleColl
edm4hep::MCParticleCollection* SimG4SaveParticleHistory::m_mcParticleColl |
|
private |
Pointer to the particle collection, ownership should be handled in a algorithm / tool.
◆ m_mcParticles
DataHandle<edm4hep::MCParticleCollection> SimG4SaveParticleHistory::m_mcParticles {"SimParticleSecondaries", Gaudi::DataHandle::Writer, this} |
|
mutableprivate |
Handle for collection of MC particles to create.
The documentation for this class was generated from the following files: