GGS(GenericGEANT4Simulation)Software
2.7.0
|
Definition of GGS Position Hit. More...
#include <GGSPosHit.h>
Public Member Functions | |
GGSPosHit () | |
Constructor. | |
~GGSPosHit () | |
Destructor. | |
GGSPosHit (const GGSPosHit &right) | |
Copy constructor. More... | |
const GGSPosHit & | operator= (const GGSPosHit &right) |
Assignment operator. More... | |
bool | operator== (const GGSPosHit &right) const |
Comparison operator. More... | |
void * | operator new (size_t size) |
Operator new. More... | |
void | operator delete (void *) |
Operator delete. More... | |
void | SetEnergyDeposit (G4double eDep) |
Energy deposit setter. More... | |
void | SetTime (G4double time) |
Time setter. More... | |
void | SetPathLength (G4double path) |
Path length setter. More... | |
void | SetStartPoint (G4ThreeVector pos) |
Start point setter. More... | |
void | SetEndPoint (G4ThreeVector pos) |
End point setter. More... | |
void | SetStartMomentum (G4ThreeVector mom) |
Start momentum setter. More... | |
void | SetStartEnergy (G4double e) |
Start energy setter. More... | |
G4double | GetEnergyDeposit () const |
Energy release getter. More... | |
G4double | GetTime () const |
Time getter. More... | |
G4double | GetPathLength () const |
Path length getter. More... | |
G4ThreeVector | GetStartPoint () const |
Start point getter. More... | |
G4ThreeVector | GetEndPoint () const |
End point getter. More... | |
G4ThreeVector | GetStartMomentum () const |
Momentum getter. More... | |
G4double | GetStartEnergy () const |
Start energy getter. More... | |
virtual void | SetStep (const G4Step &step) |
Protected Attributes | |
G4double | _eDep |
G4double | _time |
G4double | _pathLength |
G4ThreeVector | _startPoint |
G4ThreeVector | _endPoint |
G4ThreeVector | _startMomentum |
G4double | _startEnergy |
Definition of GGS Position Hit.
A position hit is associated to a sensitive volume, a particle and a simulation step (position). Each position hit describes the energy released by a single particle traversing a sensitive volume during one simulation step. Note that if a particle passes through a sensitive volume without releasing energy (eg., a neutrino) the corresponding position hit will be generated anyway with zero energy release.
Definition at line 33 of file GGSPosHit.h.
GGSPosHit::GGSPosHit | ( | const GGSPosHit & | right | ) |
Copy constructor.
right | The object to be copied into current one. |
Definition at line 22 of file GGSPosHit.cpp.
|
inline |
End point getter.
Gets the end point of the step.
Definition at line 160 of file GGSPosHit.h.
|
inline |
|
inline |
Path length getter.
Definition at line 144 of file GGSPosHit.h.
|
inline |
Start energy getter.
Definition at line 174 of file GGSPosHit.h.
|
inline |
Momentum getter.
Gets the particle's momentum at the beginning of the step.
Definition at line 168 of file GGSPosHit.h.
|
inline |
Start point getter.
Gets the start point of the step.
Definition at line 152 of file GGSPosHit.h.
|
inline |
|
inline |
Operator delete.
This implementation uses G4Allocator.
aHit | The current hit to be deleted. |
Definition at line 209 of file GGSPosHit.h.
|
inline |
Operator new.
This implementation uses G4Allocator.
size | Unused (needed by the interface). |
Definition at line 201 of file GGSPosHit.h.
Assignment operator.
right | The object to be assigned to current one. |
Definition at line 34 of file GGSPosHit.cpp.
bool GGSPosHit::operator== | ( | const GGSPosHit & | right | ) | const |
Comparison operator.
right | RHS of comparison. |
Definition at line 49 of file GGSPosHit.cpp.
|
inline |
End point setter.
Sets the particle's end point for this step.
pos | The end point. |
Definition at line 112 of file GGSPosHit.h.
|
inline |
|
inline |
|
inline |
Start energy setter.
e | Energy of the particle at start point of the step. |
Definition at line 126 of file GGSPosHit.h.
|
inline |
Start momentum setter.
Sets the particle's momentum at begin of step.
mom | The start momentum. |
Definition at line 120 of file GGSPosHit.h.
|
inline |
Start point setter.
Sets the particle's start point for this step.
pos | The entrance point. |
Definition at line 103 of file GGSPosHit.h.
|
virtual |
Sets the position hit properties using data from the given step.
step | The current step. |
Definition at line 60 of file GGSPosHit.cpp.
|
inline |
Time setter.
time | The time of first energy deposit. |
Definition at line 89 of file GGSPosHit.h.