Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
Helper class for hit creation. More...
#include <G4FastSimHitMaker.hh>
Public Member Functions | |
G4FastSimHitMaker () | |
~G4FastSimHitMaker () | |
void | make (const G4FastHit &aHit, const G4FastTrack &aTrack) |
void | SetNameOfWorldWithSD (const G4String &aName) |
void | SetProcess (G4VProcess *proc) |
Helper class for hit creation.
Helper class that can be employed in the fast simulation models. It allows to deposit energy at given position (G4FastHit), provided it is located within the sensitive detector that derives from G4VFastSimSensitiveDetector base class. An extended example extended/parameterisations/Par03 demonstrates how to use G4FastSimHitMaker to create multiple deposits from the fast simulation model.
Definition at line 50 of file G4FastSimHitMaker.hh.
G4FastSimHitMaker::G4FastSimHitMaker | ( | ) |
Definition at line 37 of file G4FastSimHitMaker.cc.
G4FastSimHitMaker::~G4FastSimHitMaker | ( | ) |
Definition at line 52 of file G4FastSimHitMaker.cc.
void G4FastSimHitMaker::make | ( | const G4FastHit & | aHit, |
const G4FastTrack & | aTrack | ||
) |
Deposit energy at given position.
[in] | aHit | Created hit (energy and position) |
[in] | aTrack | Fast track with access to particle's track and properties in envelope's local coordinates |
Definition at line 63 of file G4FastSimHitMaker.cc.
|
inline |
If sensitive detector class is in the parallel world, it must be specified, otherwise no sensitive detector will be found (mass geometry will be checked).
[in] | aName | Name of the parallel world |
Definition at line 65 of file G4FastSimHitMaker.hh.
|
inline |
Definition at line 69 of file G4FastSimHitMaker.hh.