Public Member Functions | List of all members
EDepSim::UserTrackingAction Class Reference

#include <EDepSimUserTrackingAction.hh>

Inheritance diagram for EDepSim::UserTrackingAction:

Public Member Functions

 UserTrackingAction ()
 
virtual ~UserTrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 

Detailed Description

Definition at line 11 of file EDepSimUserTrackingAction.hh.

Constructor & Destructor Documentation

EDepSim::UserTrackingAction::UserTrackingAction ( )

Definition at line 13 of file EDepSimUserTrackingAction.cc.

13 {}
EDepSim::UserTrackingAction::~UserTrackingAction ( )
virtual

Definition at line 15 of file EDepSimUserTrackingAction.cc.

15 {}

Member Function Documentation

void EDepSim::UserTrackingAction::PreUserTrackingAction ( const G4Track *  trk)
virtual

Definition at line 17 of file EDepSimUserTrackingAction.cc.

17  {
18  EDepSimTrace("Pre-tracking action");
19  G4VTrajectory* traj = new EDepSim::Trajectory(trk);
20  fpTrackingManager->SetTrajectory(traj);
21  fpTrackingManager->SetStoreTrajectory(true);
23 }
static void Add(G4VTrajectory *traj)
Add a trajectory to the map.
#define EDepSimTrace(outStream)
Definition: EDepSimLog.hh:653

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