test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Alignment
LaserAlignmentSimulation
src
LaserTrackingAction.cc
Go to the documentation of this file.
1
9
#include "
Alignment/LaserAlignmentSimulation/interface/LaserTrackingAction.h
"
10
11
LaserTrackingAction::LaserTrackingAction
(
edm::ParameterSet
const
& theConf)
12
{
13
}
14
15
LaserTrackingAction::~LaserTrackingAction
()
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::LaserTrackingAction
LaserTrackingAction(edm::ParameterSet const &theConf)
constructor
Definition:
LaserTrackingAction.cc:11
LaserTrackingAction::~LaserTrackingAction
virtual ~LaserTrackingAction()
destructor
Definition:
LaserTrackingAction.cc:15
LaserTrackingAction::PreUserTrackingAction
virtual void PreUserTrackingAction(const G4Track *theTrack)
pre tracking action
Definition:
LaserTrackingAction.cc:19
LaserTrackingAction::PostUserTrackingAction
virtual void PostUserTrackingAction(const G4Track *theTrack)
post tracking action
Definition:
LaserTrackingAction.cc:32
edm::ParameterSet
Definition:
ParameterSet.h:36
LaserTrackingAction.h
Generated for CMSSW Reference Manual by
1.8.5