Main Page
Namespaces
Classes
Package Documentation
src
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
LaserTrackingAction::~LaserTrackingAction
() {}
14
15
void
LaserTrackingAction::PreUserTrackingAction
(
const
G4Track *theTrack) {
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
}
26
27
void
LaserTrackingAction::PostUserTrackingAction
(
const
G4Track *theTrack) {
28
/* *********************************************************************** */
29
/* This code is called every time a new Track is destroyed */
30
/* *********************************************************************** */
31
}
LaserTrackingAction::LaserTrackingAction
LaserTrackingAction(edm::ParameterSet const &theConf)
constructor
Definition:
LaserTrackingAction.cc:11
LaserTrackingAction::~LaserTrackingAction
~LaserTrackingAction() override
destructor
Definition:
LaserTrackingAction.cc:13
LaserTrackingAction::PostUserTrackingAction
void PostUserTrackingAction(const G4Track *theTrack) override
post tracking action
Definition:
LaserTrackingAction.cc:27
LaserTrackingAction::PreUserTrackingAction
void PreUserTrackingAction(const G4Track *theTrack) override
pre tracking action
Definition:
LaserTrackingAction.cc:15
edm::ParameterSet
Definition:
ParameterSet.h:36
LaserTrackingAction.h
Generated for CMSSW Reference Manual by
1.8.11