CMS 3D CMS Logo

Public Member Functions | Public Attributes

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

Public Attributes

G4int verboseLevel

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.

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

}

Member Data Documentation

Definition at line 23 of file LaserTrackingAction.h.