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::~KillSecondariesTrackAction
~KillSecondariesTrackAction() override
Definition:
KillSecondariesTrackAction.cc:23
Observer
Definition:
Observer.h:23
KillSecondariesTrackAction::kmaxNeutron
double kmaxNeutron
Definition:
KillSecondariesTrackAction.h:18
KillSecondariesTrackAction::killHeavy
bool killHeavy
Definition:
KillSecondariesTrackAction.h:17
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
KillSecondariesTrackAction::kmaxIon
double kmaxIon
Definition:
KillSecondariesTrackAction.h:18
KillSecondariesTrackAction::KillSecondariesTrackAction
KillSecondariesTrackAction(edm::ParameterSet const &p)
Definition:
KillSecondariesTrackAction.cc:12
Observer.h
SimWatcher.h
BeginOfTrack
Definition:
BeginOfTrack.h:6
KillSecondariesTrackAction::update
void update(const BeginOfTrack *trk) override
This routine will be called when the appropriate signal arrives.
Definition:
KillSecondariesTrackAction.cc:25
edm::ParameterSet
Definition:
ParameterSet.h:47
SimWatcher
Definition:
SimWatcher.h:33
KillSecondariesTrackAction
Definition:
KillSecondariesTrackAction.h:10
ParameterSet.h
KillSecondariesTrackAction::kmaxProton
double kmaxProton
Definition:
KillSecondariesTrackAction.h:18
Generated for CMSSW Reference Manual by
1.8.16