CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LaserTrackingAction.cc
Go to the documentation of this file.
1 
10 
12 {
13 }
14 
16 {
17 }
18 
19 void LaserTrackingAction::PreUserTrackingAction(const G4Track * theTrack)
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 }
31 
32 void LaserTrackingAction::PostUserTrackingAction(const G4Track * theTrack)
33 {
34  /* *********************************************************************** */
35  /* This code is called every time a new Track is destroyed */
36  /* *********************************************************************** */
37 }
LaserTrackingAction(edm::ParameterSet const &theConf)
constructor
virtual ~LaserTrackingAction()
destructor
virtual void PreUserTrackingAction(const G4Track *theTrack)
pre tracking action
virtual void PostUserTrackingAction(const G4Track *theTrack)
post tracking action