#include <GFlashShowerModel.hh>
Definition at line 59 of file GFlashShowerModel.hh.
◆ GFlashShowerModel() [1/2]
Definition at line 55 of file GFlashShowerModel.cc.
57{
58 FlagParamType = 0;
59 FlagParticleContainment = 1;
60 StepInX0 = 0.1;
61 EnergyStop = 0.0;
62 Messenger = new GFlashShowerModelMessenger(this);
63}
G4VFastSimulationModel(const G4String &aName)
GFlashParticleBounds * PBound
GVFlashShowerParameterisation * Parameterisation
◆ GFlashShowerModel() [2/2]
GFlashShowerModel::GFlashShowerModel |
( |
G4String | modelName | ) |
|
Definition at line 65 of file GFlashShowerModel.cc.
67{
68 FlagParamType = 1;
69 FlagParticleContainment = 1;
70 StepInX0 = 0.1;
71 EnergyStop = 0.0;
72 Messenger = new GFlashShowerModelMessenger(this);
73}
◆ ~GFlashShowerModel()
GFlashShowerModel::~GFlashShowerModel |
( |
| ) |
|
◆ DoIt()
Implements G4VFastSimulationModel.
Definition at line 163 of file GFlashShowerModel.cc.
164{
165
168 ElectronDoIt(fastTrack, fastStep);
169}
static G4Electron * ElectronDefinition()
const G4Track * GetPrimaryTrack() const
static G4Positron * PositronDefinition()
G4ParticleDefinition * GetDefinition() const
◆ GetFlagParamType()
G4int GFlashShowerModel::GetFlagParamType |
( |
| ) |
|
|
inline |
◆ GetFlagParticleContainment()
G4int GFlashShowerModel::GetFlagParticleContainment |
( |
| ) |
|
|
inline |
◆ GetStepInX0()
G4double GFlashShowerModel::GetStepInX0 |
( |
| ) |
|
|
inline |
◆ IsApplicable()
◆ ModelTrigger()
Implements G4VFastSimulationModel.
Definition at line 90 of file GFlashShowerModel.cc.
92{
94 if (FlagParamType != 0) {
97 if (ParticleEnergy >
PBound->GetMinEneToParametrise(ParticleType)
98 && ParticleEnergy < PBound->GetMaxEneToParametrise(ParticleType))
99 {
100
101
103 select = CheckParticleDefAndContainment(fastTrack);
104 if (select) EnergyStop =
PBound->GetEneToKill(ParticleType);
105 }
106 }
107
108 return select;
109}
G4double GetKineticEnergy() const
◆ SetFlagParamType()
void GFlashShowerModel::SetFlagParamType |
( |
G4int | I | ) |
|
|
inline |
◆ SetFlagParticleContainment()
void GFlashShowerModel::SetFlagParticleContainment |
( |
G4int | I | ) |
|
|
inline |
◆ SetHitMaker()
◆ SetParameterisation()
◆ SetParticleBounds()
◆ SetStepInX0()
void GFlashShowerModel::SetStepInX0 |
( |
G4double | Lenght | ) |
|
|
inline |
◆ Parameterisation
◆ PBound
The documentation for this class was generated from the following files: