SimG4Core
KillSecondaries
interface
KillSecondariesTrackAction.h
Go to the documentation of this file.
1
#ifndef SimG4Core_KillSecondariesTrackAction_H
2
#define SimG4Core_KillSecondariesTrackAction_H
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
SimG4Core/Notification/interface/Observer.h
"
6
#include "
SimG4Core/Watcher/interface/SimWatcher.h
"
7
8
class
BeginOfTrack
;
9
10
class
KillSecondariesTrackAction
:
public
SimWatcher
,
public
Observer
<const BeginOfTrack *> {
11
public
:
12
KillSecondariesTrackAction
(
edm::ParameterSet
const
&
p
);
13
~KillSecondariesTrackAction
()
override
;
14
void
update
(
const
BeginOfTrack
*trk)
override
;
15
16
private
:
17
bool
killHeavy
;
18
double
kmaxIon
,
kmaxNeutron
,
kmaxProton
;
19
};
20
21
#endif
KillSecondariesTrackAction::killHeavy
bool killHeavy
Definition:
KillSecondariesTrackAction.h:17
KillSecondariesTrackAction::KillSecondariesTrackAction
KillSecondariesTrackAction(edm::ParameterSet const &p)
Definition:
KillSecondariesTrackAction.cc:12
KillSecondariesTrackAction::update
void update(const BeginOfTrack *trk) override
This routine will be called when the appropriate signal arrives.
Definition:
KillSecondariesTrackAction.cc:25
Observer.h
BeginOfTrack
Definition:
BeginOfTrack.h:6
ParameterSet.h
SimWatcher
Definition:
SimWatcher.h:27
KillSecondariesTrackAction::kmaxIon
double kmaxIon
Definition:
KillSecondariesTrackAction.h:18
Observer
Definition:
Observer.h:23
KillSecondariesTrackAction::kmaxNeutron
double kmaxNeutron
Definition:
KillSecondariesTrackAction.h:18
KillSecondariesTrackAction::kmaxProton
double kmaxProton
Definition:
KillSecondariesTrackAction.h:18
KillSecondariesTrackAction
Definition:
KillSecondariesTrackAction.h:10
KillSecondariesTrackAction::~KillSecondariesTrackAction
~KillSecondariesTrackAction() override
Definition:
KillSecondariesTrackAction.cc:23
SimWatcher.h
edm::ParameterSet
Definition:
ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14