Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4RTTrackingAction Class Reference

#include <G4RTTrackingAction.hh>

+ Inheritance diagram for G4RTTrackingAction:

Public Member Functions

 G4RTTrackingAction ()
 
virtual ~G4RTTrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *aTrack)
 
virtual void PostUserTrackingAction (const G4Track *)
 
- Public Member Functions inherited from G4UserTrackingAction
 G4UserTrackingAction ()
 
virtual ~G4UserTrackingAction ()=default
 
virtual void SetTrackingManagerPointer (G4TrackingManager *pValue)
 

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager = nullptr
 

Detailed Description

Definition at line 52 of file G4RTTrackingAction.hh.

Constructor & Destructor Documentation

◆ G4RTTrackingAction()

G4RTTrackingAction::G4RTTrackingAction ( )
inline

Definition at line 61 of file G4RTTrackingAction.hh.

61{;}

◆ ~G4RTTrackingAction()

virtual G4RTTrackingAction::~G4RTTrackingAction ( )
inlinevirtual

Definition at line 62 of file G4RTTrackingAction.hh.

62{;}

Member Function Documentation

◆ PostUserTrackingAction()

virtual void G4RTTrackingAction::PostUserTrackingAction ( const G4Track * )
inlinevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 66 of file G4RTTrackingAction.hh.

66{;}

◆ PreUserTrackingAction()

void G4RTTrackingAction::PreUserTrackingAction ( const G4Track * aTrack)
virtual

Reimplemented from G4UserTrackingAction.

Definition at line 42 of file G4RTTrackingAction.cc.

43{
44 G4RayTrajectory* aTrajectory=new G4RayTrajectory;
45 fpTrackingManager->SetTrajectory(aTrajectory);
46
47}
void SetTrajectory(G4VTrajectory *aTrajectory)
G4TrackingManager * fpTrackingManager

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