![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Class modelling a single interaction with multiple primary vertices and particles. More...
#include <Geant4Primary.h>
Public Types | |
| typedef Geant4Particle | Particle |
| typedef Geant4Vertex | Vertex |
| typedef std::map< int, Particle * > | ParticleMap |
| typedef std::map< int, std::vector< Vertex * > > | VertexMap |
| typedef dd4hep_ptr< PrimaryExtension > | ExtensionHandle |
Public Member Functions | |
| Geant4PrimaryInteraction ()=default | |
| Default constructor. More... | |
| virtual | ~Geant4PrimaryInteraction () |
| Default destructor. More... | |
| int | nextPID () |
| Access a new particle identifier within the interaction. More... | |
| void | setNextPID (int value) |
| Set the next PID value. More... | |
| bool | applyMask () |
| Apply mask to all contained vertices (max. 1) and particles. More... | |
Public Attributes | |
| VertexMap | vertices |
| The map of primary vertices for the particles. More... | |
| ParticleMap | particles |
| The map of particles participating in this primary interaction. More... | |
| ExtensionHandle | extension |
| User data extension if required. More... | |
| int | mask = 0 |
| User mask to flag the interaction. Also unique identifier. More... | |
| int | locked = 0 |
| Flag that the event is locked for G4 native generators. More... | |
| int | next_particle_identifier = -1 |
| Next PID indentifier. More... | |
Private Member Functions | |
| Geant4PrimaryInteraction (const Geant4PrimaryInteraction &c)=delete | |
| Copy constructor. More... | |
| Geant4PrimaryInteraction & | operator= (const Geant4PrimaryInteraction &c)=delete |
| Assignment operator. More... | |
Class modelling a single interaction with multiple primary vertices and particles.
Definition at line 95 of file Geant4Primary.h.
Definition at line 107 of file Geant4Primary.h.
Definition at line 103 of file Geant4Primary.h.
| typedef std::map<int,Particle*> dd4hep::sim::Geant4PrimaryInteraction::ParticleMap |
Definition at line 105 of file Geant4Primary.h.
Definition at line 104 of file Geant4Primary.h.
| typedef std::map<int,std::vector<Vertex*> > dd4hep::sim::Geant4PrimaryInteraction::VertexMap |
Definition at line 106 of file Geant4Primary.h.
|
privatedelete |
Copy constructor.
|
default |
Default constructor.
|
virtual |
Default destructor.
Definition at line 56 of file Geant4Primary.cpp.
| bool Geant4PrimaryInteraction::applyMask | ( | ) |
Apply mask to all contained vertices (max. 1) and particles.
Apply mask to all contained vertices and particles.
Definition at line 75 of file Geant4Primary.cpp.
| int Geant4PrimaryInteraction::nextPID | ( | ) |
Access a new particle identifier within the interaction.
Definition at line 65 of file Geant4Primary.cpp.
|
privatedelete |
Assignment operator.
| void Geant4PrimaryInteraction::setNextPID | ( | int | value | ) |
Set the next PID value.
Access a new particle identifier within the interaction.
Definition at line 70 of file Geant4Primary.cpp.
| ExtensionHandle dd4hep::sim::Geant4PrimaryInteraction::extension |
User data extension if required.
Definition at line 114 of file Geant4Primary.h.
| int dd4hep::sim::Geant4PrimaryInteraction::locked = 0 |
Flag that the event is locked for G4 native generators.
Definition at line 118 of file Geant4Primary.h.
| int dd4hep::sim::Geant4PrimaryInteraction::mask = 0 |
User mask to flag the interaction. Also unique identifier.
Definition at line 116 of file Geant4Primary.h.
| int dd4hep::sim::Geant4PrimaryInteraction::next_particle_identifier = -1 |
Next PID indentifier.
Definition at line 120 of file Geant4Primary.h.
| ParticleMap dd4hep::sim::Geant4PrimaryInteraction::particles |
The map of particles participating in this primary interaction.
Definition at line 112 of file Geant4Primary.h.
| VertexMap dd4hep::sim::Geant4PrimaryInteraction::vertices |
The map of primary vertices for the particles.
Definition at line 110 of file Geant4Primary.h.
1.8.18