Main Page
Namespaces
Classes
Package Documentation
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
~LaserTrackingAction() override
destructor
Definition:
LaserTrackingAction.cc:15
LaserTrackingAction::PostUserTrackingAction
void PostUserTrackingAction(const G4Track *theTrack) override
post tracking action
Definition:
LaserTrackingAction.cc:32
LaserTrackingAction::PreUserTrackingAction
void PreUserTrackingAction(const G4Track *theTrack) override
pre tracking action
Definition:
LaserTrackingAction.cc:19
edm::ParameterSet
Definition:
ParameterSet.h:36
LaserTrackingAction.h
Generated for CMSSW Reference Manual by
1.8.11