CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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...
 
virtual void PostUserTrackingAction (const G4Track *theTrack)
 post tracking action More...
 
virtual void PreUserTrackingAction (const G4Track *theTrack)
 pre tracking action More...
 
virtual ~LaserTrackingAction ()
 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 ( )
virtual

destructor

Definition at line 15 of file LaserTrackingAction.cc.

16 {
17 }

Member Function Documentation

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

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)
virtual

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 }