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