|
LDMX Software
|
Defines extra information attached to a Geant4 primary particle. More...
#include <UserPrimaryParticleInformation.h>
Public Member Functions | |
| UserPrimaryParticleInformation ()=default | |
| Class Constructor. | |
| virtual | ~UserPrimaryParticleInformation ()=default |
| Class destructor. | |
| void | setHepEvtStatus (int hepEvtStatus) |
| Set the HEP event status (generator status) e.g. | |
| int | getHepEvtStatus () |
| Get the HEP event status. | |
| void | Print () const |
| Implement virtual method (no-op). | |
Private Attributes | |
| int | hep_evt_status_ {-1} |
| The HEP event status. | |
Defines extra information attached to a Geant4 primary particle.
Definition at line 19 of file UserPrimaryParticleInformation.h.
|
inline |
Get the HEP event status.
Definition at line 42 of file UserPrimaryParticleInformation.h.
References hep_evt_status_.
|
inline |
Implement virtual method (no-op).
Definition at line 47 of file UserPrimaryParticleInformation.h.
|
inline |
Set the HEP event status (generator status) e.g.
from an LHE particle.
| hepEvtStatus | The HEP event status. |
Definition at line 36 of file UserPrimaryParticleInformation.h.
References hep_evt_status_.
Referenced by simcore::generators::GenieGenerator::GeneratePrimaryVertex(), and simcore::generators::MultiParticleGunPrimaryGenerator::GeneratePrimaryVertex().
|
private |
The HEP event status.
Definition at line 53 of file UserPrimaryParticleInformation.h.
Referenced by getHepEvtStatus(), and setHepEvtStatus().