#include <Doxymodules_runAndEvent.h>
Definition at line 32 of file Doxymodules_runAndEvent.h.
◆ RE01SteppingAction()
RE01SteppingAction::RE01SteppingAction |
( |
| ) |
|
◆ ~RE01SteppingAction()
RE01SteppingAction::~RE01SteppingAction |
( |
| ) |
|
|
virtual |
◆ UserSteppingAction()
void RE01SteppingAction::UserSteppingAction |
( |
const G4Step * |
theStep | ) |
|
|
virtual |
Definition at line 54 of file RE01SteppingAction.cc.
55{
56
57
58
59 G4Track * theTrack = theStep->GetTrack();
60 if(theTrack->GetTrackStatus()!=fAlive) { return; }
61
62
63 G4StepPoint * thePrePoint = theStep->GetPreStepPoint();
65 thePrePoint->GetPhysicalVolume()->GetLogicalVolume();
68 G4StepPoint * thePostPoint = theStep->GetPostStepPoint();
70 thePostPoint->GetPhysicalVolume()->GetLogicalVolume();
73
74
76 {
77
81 {
82 if(fpSteppingManager->GetverboseLevel()>0)
83 {
84 G4cout<<"++++ This track had already been suspended at step #"
86 <<G4endl;
87 }
88 }
89 else
90 {
92 theTrack->SetTrackStatus(fSuspend);
93 }
94 }
95}
The documentation for this class was generated from the following files: