CMS 3D CMS Logo

Public Member Functions

LaserTrackingAction Class Reference

#include <LaserTrackingAction.h>

List of all members.

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

Detailed Description

the Laser Tracking Action

Date:
2011/09/16 06:40:35
Revision:
1.4
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.

{
}
LaserTrackingAction::~LaserTrackingAction ( ) [virtual]

destructor

Definition at line 15 of file LaserTrackingAction.cc.

{
}

Member Function Documentation

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); }

}