Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4SpecialCutsForNeutron Class Reference

Special process that activates kinetic energy cuts for neutrons,. More...

#include <TG4SpecialCuts.h>

Inheritance diagram for TG4SpecialCutsForNeutron:

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.
 

Detailed Description

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.

Author
I. Hrivnacova; IPN Orsay

Definition at line 133 of file TG4SpecialCuts.h.

Constructor & Destructor Documentation

◆ TG4SpecialCutsForNeutron()

TG4SpecialCutsForNeutron::TG4SpecialCutsForNeutron ( const G4String & processName = "specialCutForNeutron")

Standard and default constructor

Definition at line 157 of file TG4SpecialCuts.cxx.

◆ ~TG4SpecialCutsForNeutron()

TG4SpecialCutsForNeutron::~TG4SpecialCutsForNeutron ( )
virtual

Destructor

Definition at line 164 of file TG4SpecialCuts.cxx.

Member Function Documentation

◆ GetMinEkine()

G4double TG4SpecialCutsForNeutron::GetMinEkine ( const TG4Limits & limits,
const G4Track & track ) const
virtual

Return the kinetic energy limit.

Return the min kinetic energy cut from limits.

Implements TG4VSpecialCuts.

Definition at line 170 of file TG4SpecialCuts.cxx.

◆ PostStepDoIt()

G4VParticleChange * TG4SpecialCutsForNeutron::PostStepDoIt ( const G4Track & track,
const G4Step &  )
virtual

Override method from G4VSpecialCuts and set track status fStopAndKill to neutrons

Reimplemented from TG4VSpecialCuts.

Definition at line 179 of file TG4SpecialCuts.cxx.


The documentation for this class was generated from the following files: