Geant4 VMC Version 6.6
|
Special process that activates kinetic energy cuts for neutrons,. More...
#include <TG4SpecialCuts.h>
Public Member Functions | |
TG4SpecialCutsForNeutron (const G4String &processName="specialCutForNeutron") | |
virtual | ~TG4SpecialCutsForNeutron () |
virtual G4double | GetMinEkine (const TG4Limits &limits, const G4Track &track) const |
Return the kinetic energy limit. | |
virtual G4VParticleChange * | PostStepDoIt (const G4Track &track, const G4Step &) |
Public Member Functions inherited from TG4VSpecialCuts | |
TG4VSpecialCuts (const G4String &processName) | |
virtual | ~TG4VSpecialCuts () |
virtual G4double | PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) |
virtual G4double | AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *) |
Not implemented. | |
virtual G4VParticleChange * | AlongStepDoIt (const G4Track &, const G4Step &) |
Not implemented. | |
virtual G4double | AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *) |
Not implemented. | |
virtual G4VParticleChange * | AtRestDoIt (const G4Track &, const G4Step &) |
Not implemented. | |
Special process that activates kinetic energy cuts for neutrons,.
This process overrides also the default PostStepDoIt() and sets the particle status to fStopAndKill instead of fStopButAlive. It is activated in TG4SpeialCutsPhysics only when neutron killer process was applied by Geant4 physics list.
Definition at line 133 of file TG4SpecialCuts.h.
TG4SpecialCutsForNeutron::TG4SpecialCutsForNeutron | ( | const G4String & | processName = "specialCutForNeutron" | ) |
Standard and default constructor
Definition at line 157 of file TG4SpecialCuts.cxx.
|
virtual |
Destructor
Definition at line 164 of file TG4SpecialCuts.cxx.
|
virtual |
Return the kinetic energy limit.
Return the min kinetic energy cut from limits.
Implements TG4VSpecialCuts.
Definition at line 170 of file TG4SpecialCuts.cxx.
|
virtual |
Override method from G4VSpecialCuts and set track status fStopAndKill to neutrons
Reimplemented from TG4VSpecialCuts.
Definition at line 179 of file TG4SpecialCuts.cxx.