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::LaserTrackingAction ( edm::ParameterSet const &  theConf)

constructor

Definition at line 11 of file LaserTrackingAction.cc.

11 {}

◆ ~LaserTrackingAction()

LaserTrackingAction::~LaserTrackingAction ( )
override

destructor

Definition at line 13 of file LaserTrackingAction.cc.

13 {}

Member Function Documentation

◆ PostUserTrackingAction()

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

post tracking action

Definition at line 27 of file LaserTrackingAction.cc.

27  {
28  /* *********************************************************************** */
29  /* This code is called every time a new Track is destroyed */
30  /* *********************************************************************** */
31 }

◆ PreUserTrackingAction()

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

pre tracking action

Definition at line 15 of file LaserTrackingAction.cc.

15  {
16  /* *********************************************************************** */
17  /* This code is called every time a new Track is created */
18  /* *********************************************************************** */
19 
20  if (theTrack->GetParentID() == 0) {
21  fpTrackingManager->SetStoreTrajectory(true);
22  } else {
23  fpTrackingManager->SetStoreTrajectory(true);
24  }
25 }