CMS 3D CMS Logo

List of all members | Public Member Functions
LaserTrackingAction Class Reference

#include <LaserTrackingAction.h>

Inheritance diagram for LaserTrackingAction:

Public Member Functions

 LaserTrackingAction (edm::ParameterSet const &theConf)
 constructor More...
 
void PostUserTrackingAction (const G4Track *theTrack) override
 post tracking action More...
 
void PreUserTrackingAction (const G4Track *theTrack) override
 pre tracking action More...
 
 ~LaserTrackingAction () override
 destructor More...
 

Detailed Description

the Laser Tracking Action

Date
2007/06/11 14:44:28
Revision
1.3
Author
Maarten Thomas

Definition at line 16 of file LaserTrackingAction.h.

Constructor & Destructor Documentation

LaserTrackingAction::LaserTrackingAction ( edm::ParameterSet const &  theConf)

constructor

Definition at line 11 of file LaserTrackingAction.cc.

12 {
13 }
LaserTrackingAction::~LaserTrackingAction ( )
override

destructor

Definition at line 15 of file LaserTrackingAction.cc.

16 {
17 }

Member Function Documentation

void LaserTrackingAction::PostUserTrackingAction ( const G4Track *  theTrack)
override

post tracking action

Definition at line 32 of file LaserTrackingAction.cc.

33 {
34  /* *********************************************************************** */
35  /* This code is called every time a new Track is destroyed */
36  /* *********************************************************************** */
37 }
void LaserTrackingAction::PreUserTrackingAction ( const G4Track *  theTrack)
override

pre tracking action

Definition at line 19 of file LaserTrackingAction.cc.

20 {
21  /* *********************************************************************** */
22  /* This code is called every time a new Track is created */
23  /* *********************************************************************** */
24 
25  if ( theTrack->GetParentID()==0 )
26  { fpTrackingManager->SetStoreTrajectory(true); }
27  else
28  { fpTrackingManager->SetStoreTrajectory(true); }
29 
30 }