GGS(GenericGEANT4Simulation)Software
2.7.0
|
A simple class to carry informations about the disappearance of the primary particle. More...
#include <GGSTPrimaryDisInfo.h>
Public Member Functions | |
GGSTPrimaryDisInfo () | |
Constructor. | |
~GGSTPrimaryDisInfo () | |
Destructor. | |
void | Clear (Option_t *="") |
Resets all the members. | |
Float_t * | GetInteractionPoint () |
The interaction point. More... | |
int | GetNProducts () |
Returns the number of particles produced by the disappearance of the primary. More... | |
GGSTParticle * | GetProduct (int iProduct) |
Retrieves a particle produced by the disappearance of the primary. More... | |
Data Fields | |
GGSTParticle | primary |
Descriptor for the primary particle. More... | |
TString | processName |
Name of the process that made the primary disappear. | |
TClonesArray * | products |
Particles produced by the disappearance of the primary. | |
TString | volumeName |
The name of the physical volume where the primary disappeared. | |
A simple class to carry informations about the disappearance of the primary particle.
This class stores information about the disappearance of the primary particle, either because of an interaction or exit from the world volume.
Definition at line 22 of file GGSTPrimaryDisInfo.h.
|
inline |
The interaction point.
Simple getter that returns primary.pos.
Definition at line 49 of file GGSTPrimaryDisInfo.h.
int GGSTPrimaryDisInfo::GetNProducts | ( | ) |
Returns the number of particles produced by the disappearance of the primary.
Definition at line 28 of file GGSTPrimaryDisInfo.cpp.
GGSTParticle * GGSTPrimaryDisInfo::GetProduct | ( | int | iProduct | ) |
Retrieves a particle produced by the disappearance of the primary.
iProduct | The desired produced particle. |
Definition at line 36 of file GGSTPrimaryDisInfo.cpp.
GGSTParticle GGSTPrimaryDisInfo::primary |
Descriptor for the primary particle.
The kinematic properties of the particle (position, momentum, time) are relative to the disappearance point.
Definition at line 35 of file GGSTPrimaryDisInfo.h.