#include <LaserTrackingAction.h>
Public Member Functions | |
LaserTrackingAction (edm::ParameterSet const &theConf) | |
constructor | |
virtual void | PostUserTrackingAction (const G4Track *theTrack) |
post tracking action | |
virtual void | PreUserTrackingAction (const G4Track *theTrack) |
pre tracking action | |
virtual | ~LaserTrackingAction () |
destructor |
the Laser Tracking Action
Definition at line 16 of file LaserTrackingAction.h.
LaserTrackingAction::LaserTrackingAction | ( | edm::ParameterSet const & | theConf | ) |
LaserTrackingAction::~LaserTrackingAction | ( | ) | [virtual] |
void LaserTrackingAction::PostUserTrackingAction | ( | const G4Track * | theTrack | ) | [virtual] |
post tracking action
Definition at line 32 of file LaserTrackingAction.cc.
{ /* *********************************************************************** */ /* This code is called every time a new Track is destroyed */ /* *********************************************************************** */ }
void LaserTrackingAction::PreUserTrackingAction | ( | const G4Track * | theTrack | ) | [virtual] |
pre tracking action
Definition at line 19 of file LaserTrackingAction.cc.
{ /* *********************************************************************** */ /* This code is called every time a new Track is created */ /* *********************************************************************** */ if ( theTrack->GetParentID()==0 ) { fpTrackingManager->SetStoreTrajectory(true); } else { fpTrackingManager->SetStoreTrajectory(true); } }