#include <Alignment/LaserAlignmentSimulation/interface/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 | |
Public Attributes | |
G4int | verboseLevel |
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.
00033 { 00034 /* *********************************************************************** */ 00035 /* This code is called every time a new Track is destroyed */ 00036 /* *********************************************************************** */ 00037 }
void LaserTrackingAction::PreUserTrackingAction | ( | const G4Track * | theTrack | ) | [virtual] |
pre tracking action
Definition at line 19 of file LaserTrackingAction.cc.
00020 { 00021 /* *********************************************************************** */ 00022 /* This code is called every time a new Track is created */ 00023 /* *********************************************************************** */ 00024 00025 if ( theTrack->GetParentID()==0 ) 00026 { fpTrackingManager->SetStoreTrajectory(true); } 00027 else 00028 { fpTrackingManager->SetStoreTrajectory(true); } 00029 00030 }
Definition at line 23 of file LaserTrackingAction.h.