Geant4 10.7.0
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) |
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 47 of file G4FastSimHitMaker.hh.
G4FastSimHitMaker::G4FastSimHitMaker | ( | ) |
Definition at line 35 of file G4FastSimHitMaker.cc.
G4FastSimHitMaker::~G4FastSimHitMaker | ( | ) |
Definition at line 45 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 49 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 62 of file G4FastSimHitMaker.hh.