|
SLIC
6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
|
Implementation of G4UserSteppingAction. More...
#include <SteppingAction.hh>
Public Member Functions | |
| SteppingAction () | |
| virtual | ~SteppingAction () |
| bool | isBackScattering (const G4Step *step) |
| void | UserSteppingAction (const G4Step *step) |
Public Member Functions inherited from Module | |
| virtual | ~Module () |
| virtual void | beginEvent (const G4Event *) |
| virtual void | beginRun (const G4Run *) |
| virtual void | cleanup () |
| bool | deleteOnExit () |
| virtual void | endEvent (const G4Event *) |
| virtual void | endRun (const G4Run *) |
| const std::string & | getName () const |
| ModuleStatus | getStatus () const |
| virtual void | initialize () |
| LogStream & | log () |
| virtual void | postTracking (const G4Track *) |
| virtual void | preTracking (const G4Track *) |
| virtual void | reset () |
| virtual void | stepping (const G4Step *) |
Public Member Functions inherited from PluginManagerAccessor | |
| PluginManager * | getPluginManager () |
| void | setPluginManager (PluginManager *pluginManager) |
Private Member Functions | |
| void | checkKillTrack (const G4Step *step) |
Additional Inherited Members | |
Public Types inherited from Module | |
| enum | ModuleStatus { eOkay = 0 , eNotInitialized = 1 , eBadState = 2 , eFatalError = 3 } |
Public Attributes inherited from Module | |
| bool | m_deleteOnExit |
| LogStream * | m_log |
| std::string | m_name |
| ModuleStatus | m_status |
Protected Member Functions inherited from Module | |
| Module (const std::string &name, bool deleteOnExit=true, bool autoRegister=true) | |
Protected Attributes inherited from PluginManagerAccessor | |
| PluginManager * | m_pluginManager |
Implementation of G4UserSteppingAction.
Definition at line 22 of file SteppingAction.hh.
| SteppingAction | ( | ) |
Class constructor.
Definition at line 17 of file SteppingAction.cc.
|
virtual |
Class destructor.
Definition at line 21 of file SteppingAction.cc.
|
private |
Kill a G4Track if it is inside a track-killing region.
| [in] | step | The G4Step. |
Definition at line 55 of file SteppingAction.cc.
References LOG::always, LOG::done, and Module::log().
Referenced by SteppingAction::UserSteppingAction().
| bool isBackScattering | ( | const G4Step * | step | ) |
Return true if this track appears to be backscattering from a non-tracking region into the tracking region.
Definition at line 65 of file SteppingAction.cc.
Referenced by SteppingAction::UserSteppingAction().
| void UserSteppingAction | ( | const G4Step * | step | ) |
Implementation of user stepping action.
| [in] | step | The G4Step. |
Definition at line 24 of file SteppingAction.cc.
References SteppingAction::checkKillTrack(), UserTrackInformation::getTrackSummary(), SteppingAction::isBackScattering(), PluginManagerAccessor::m_pluginManager, TrackSummary::setBackScattering(), TrackUtil::setupUserTrackInformation(), PluginManager::stepping(), and TrackSummary::update().