#include <DeadMaterialShower.h>
Definition at line 15 of file DeadMaterialShower.h.
◆ DeadMaterialShower()
DeadMaterialShower::DeadMaterialShower |
( |
const std::string & |
name, |
|
|
const double & |
highEnergy, |
|
|
const double & |
lowEnergy, |
|
|
const double & |
zcutoff |
|
) |
| |
◆ ~DeadMaterialShower()
DeadMaterialShower::~DeadMaterialShower |
( |
| ) |
|
|
inline |
◆ DoIt()
void DeadMaterialShower::DoIt |
( |
const G4FastTrack & |
, |
|
|
G4FastStep & |
fastStep |
|
) |
| |
|
finaloverride |
Definition at line 68 of file DeadMaterialShower.cxx.
70 fastStep.KillPrimaryTrack();
71 fastStep.SetPrimaryTrackPathLength(0.0);
◆ IsApplicable()
G4bool DeadMaterialShower::IsApplicable |
( |
const G4ParticleDefinition & |
particleType | ) |
|
|
finaloverride |
◆ ModelTrigger()
G4bool DeadMaterialShower::ModelTrigger |
( |
const G4FastTrack & |
fastTrack | ) |
|
|
finaloverride |
Determines the applicability of the fast sim model to this particular track.
Checks that geometric location, energy, and particle type are within bounds. Also checks for containment of the particle's shower within a specific detector region.
Definition at line 45 of file DeadMaterialShower.cxx.
47 if ( fabs( fastTrack.GetPrimaryTrack()->GetPosition().z() ) <
m_zcutoff ){
49 if ( fastTrack.GetPrimaryTrack()->GetKineticEnergy() <
m_lowEnergy &&
50 (fastTrack.GetPrimaryTrack()->GetDefinition() == G4Electron::Definition() ||
51 fastTrack.GetPrimaryTrack()->GetDefinition() == G4Positron::Definition() ) )
59 if ( fastTrack.GetPrimaryTrack()->GetKineticEnergy() >
m_highEnergy ||
60 fastTrack.GetPrimaryTrack()->GetDefinition() == G4MuonPlus::Definition() ||
61 fastTrack.GetPrimaryTrack()->GetDefinition() == G4MuonMinus::Definition() )
◆ m_highEnergy
double DeadMaterialShower::m_highEnergy |
|
private |
◆ m_lowEnergy
double DeadMaterialShower::m_lowEnergy |
|
private |
◆ m_zcutoff
double DeadMaterialShower::m_zcutoff |
|
private |
The documentation for this class was generated from the following files: