Defince mesh for energy scoring. More...
#include <Doxymodules_parameterisations.h>
Public Member Functions | |
Par04DefineMeshModel (G4String, G4Region *) | |
Par04DefineMeshModel (G4String) | |
~Par04DefineMeshModel () | |
virtual G4bool | ModelTrigger (const G4FastTrack &) final |
Check if particle is entering the volume. | |
virtual G4bool | IsApplicable (const G4ParticleDefinition &) final |
Model is applicable to all particles. | |
virtual void | DoIt (const G4FastTrack &, G4FastStep &) final |
Check particle direction, entrance point, and store it in event information. | |
Defince mesh for energy scoring.
Fast simulation model is used in order to define where particle enters the detector and its direction. That data is used to define the mesh used for energy scoring. TODO To make the simulation faster, this model could be attached to a very thin layer at the entrance to the calorimeter instead of attaching it to the volume of the detector.
Definition at line 78 of file Doxymodules_parameterisations.h.
Definition at line 40 of file Par04DefineMeshModel.cc.
Par04DefineMeshModel::Par04DefineMeshModel | ( | G4String | aModelName | ) |
Definition at line 46 of file Par04DefineMeshModel.cc.
|
default |
|
finalvirtual |
Check if particle is entering the volume.
Check particle energy. It must be no smaller than 99% of the primary particle energy. This is to ensure that in case of prior interactions, particle energy does not differ (much) from the assumed energy.
Definition at line 63 of file Par04DefineMeshModel.cc.
|
finalvirtual |
Model is applicable to all particles.
Definition at line 56 of file Par04DefineMeshModel.cc.
|
finalvirtual |
Check particle direction, entrance point, and store it in event information.
Then go back to the full simulation.
Definition at line 76 of file Par04DefineMeshModel.cc.