Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
Minimal hit created in the fast simulation. More...
#include <G4FastHit.hh>
Public Member Functions | |
G4FastHit () | |
G4FastHit (const G4ThreeVector &aPosition, G4double aEnergy) | |
G4FastHit (const G4ThreeVector &aPosition, G4double aEnergy, G4bool aDebug) | |
virtual | ~G4FastHit () |
void | SetEnergy (const G4double &aEnergy) |
Set energy. | |
G4double | GetEnergy () const |
Get energy. | |
void | SetPosition (const G4ThreeVector &aPosition) |
Set position. | |
G4ThreeVector | GetPosition () const |
Get position. | |
Minimal hit created in the fast simulation.
Minimal hit containing energy and position, for use in the fast simulation classes. Hits of G4FastHit type can be created in user implementation of fast simulation model and then deposited in the detector using G4FastSimHitMaker helper class. The helper will locate the sensitive volume and check if it inherits from both base classes:
Definition at line 47 of file G4FastHit.hh.
G4FastHit::G4FastHit | ( | ) |
Definition at line 29 of file G4FastHit.cc.
G4FastHit::G4FastHit | ( | const G4ThreeVector & | aPosition, |
G4double | aEnergy | ||
) |
Definition at line 36 of file G4FastHit.cc.
G4FastHit::G4FastHit | ( | const G4ThreeVector & | aPosition, |
G4double | aEnergy, | ||
G4bool | aDebug | ||
) |
|
inlinevirtual |
Definition at line 53 of file G4FastHit.hh.
|
inline |
Get energy.
Definition at line 58 of file G4FastHit.hh.
Referenced by G4FastSimHitMaker::make().
|
inline |
Get position.
Definition at line 65 of file G4FastHit.hh.
Referenced by G4VFastSimSensitiveDetector::Hit(), and G4FastSimHitMaker::make().
|
inline |
|
inline |