Additional event information.
More...
#include <SimG4Common/include/SimG4Common/EventInformation.h>
|
| | EventInformation () |
| | Default constructor.
|
| |
| virtual | ~EventInformation ()=default |
| | Destructor.
|
| |
| void | setCollections (edm4hep::MCParticleCollection *&aMcParticleCollection) |
| | Set external pointers to point at the particle and vertex collections.
|
| |
| void | addParticle (const G4Track *aSecondary) |
| | Add a particle to be tracked in the EDM collections.
|
| |
| void | Print () const |
| |
|
| edm4hep::MCParticleCollection * | m_mcParticles |
| | Pointer to the particle collection, ownership is intended to be transfered to SaveTool.
|
| |
| std::map< size_t, size_t > | m_g4IdToEndVertexMap |
| | Map to get the edm end vertex id from a Geant4 unique particle ID.
|
| |
Additional event information.
Currently holds the particle history in form of edm particles and vertices
- Author
- J. Lingemann
◆ EventInformation()
| sim::EventInformation::EventInformation |
( |
| ) |
|
◆ ~EventInformation()
| virtual sim::EventInformation::~EventInformation |
( |
| ) |
|
|
virtualdefault |
◆ addParticle()
| void sim::EventInformation::addParticle |
( |
const G4Track * | aSecondary | ) |
|
Add a particle to be tracked in the EDM collections.
◆ Print()
| void sim::EventInformation::Print |
( |
| ) |
const |
|
inline |
◆ setCollections()
| void sim::EventInformation::setCollections |
( |
edm4hep::MCParticleCollection *& | aMcParticleCollection | ) |
|
Set external pointers to point at the particle and vertex collections.
- Parameters
-
| [in] | aGenVertexCollection | pointer to a collection that should take ownership of the particles saved here |
| [in] | aMCParticleCollection | pointer to a collection that should take ownership of the particles saved here |
◆ m_g4IdToEndVertexMap
| std::map<size_t, size_t> sim::EventInformation::m_g4IdToEndVertexMap |
|
private |
Map to get the edm end vertex id from a Geant4 unique particle ID.
◆ m_mcParticles
| edm4hep::MCParticleCollection* sim::EventInformation::m_mcParticles |
|
private |
Pointer to the particle collection, ownership is intended to be transfered to SaveTool.
The documentation for this class was generated from the following files: