|
SLIC
6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
|
Miscellaneous helper methods for G4Track and related classes. More...
#include <TrackUtil.hh>
Static Public Member Functions | |
| static UserRegionInformation * | getRegionInformation (const G4Track *track) |
| static UserTrackInformation * | getUserTrackInformation (const G4Track *track) |
| static UserTrackInformation * | setupUserTrackInformation (const G4Track *track, G4bool save) |
Miscellaneous helper methods for G4Track and related classes.
Definition at line 20 of file TrackUtil.hh.
|
inlinestatic |
Get the UserRegionInformation of this G4Track based on its start position.
| track | The G4Track. |
Definition at line 29 of file TrackUtil.hh.
Referenced by TrackingAction::PreUserTrackingAction(), and TrackSummary::update().
|
inlinestatic |
Get the UserTrackInformation for the track.
Definition at line 66 of file TrackUtil.hh.
Referenced by TrackingAction::PostUserTrackingAction(), and TrackingAction::PreUserTrackingAction().
|
inlinestatic |
Setup the UserTrackInformation for the G4Track, which also requires first creating a TrackSummary containing all the track information. This will register the TrackSummary in the global list for the event.
Definition at line 42 of file TrackUtil.hh.
References Singleton< TrackManager >::instance().
Referenced by TrackingAction::PostUserTrackingAction(), TrackingAction::PreUserTrackingAction(), and SteppingAction::UserSteppingAction().