NEEDS DOCUMENTATION.
More...
#include <PhotonKiller.h>
NEEDS DOCUMENTATION.
Definition at line 16 of file PhotonKiller.h.
◆ PhotonKiller()
G4UA::PhotonKiller::PhotonKiller |
( |
| ) |
|
◆ PreUserTrackingAction()
void G4UA::PhotonKiller::PreUserTrackingAction |
( |
const G4Track * |
| ) |
|
|
finaloverridevirtual |
◆ UserSteppingAction()
void G4UA::PhotonKiller::UserSteppingAction |
( |
const G4Step * |
aStep | ) |
|
|
finaloverridevirtual |
Definition at line 30 of file PhotonKiller.cxx.
32 if ( fabs(
m_energy-aStep->GetTrack()->GetKineticEnergy())<0.00001 ){
37 m_energy = aStep->GetTrack()->GetKineticEnergy();
41 if (aStep->GetTrack()->GetKineticEnergy() < 0.0001){
45 aStep->GetTrack()->SetTrackStatus( fStopAndKill );
49 aStep->GetTrack()->SetTrackStatus( fStopAndKill );
50 G4RunManagerKernel *rmk = G4RunManagerKernel::GetRunManagerKernel();
51 rmk->GetEventManager()->AbortCurrentEvent();
52 rmk->GetEventManager()->GetNonconstCurrentEvent()->SetEventAborted();
◆ m_count
int G4UA::PhotonKiller::m_count |
|
private |
◆ m_energy
float G4UA::PhotonKiller::m_energy |
|
private |
The documentation for this class was generated from the following files: