src
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
BeginOfTrack.h
Observer.h
SaveSimTrack::~SaveSimTrack
~SaveSimTrack() override
Definition:
SaveSimTrack.cc:23
SaveSimTrack
Definition:
SaveSimTrack.h:11
BeginOfTrack
Definition:
BeginOfTrack.h:6
ParameterSet.h
SaveSimTrack::update
void update(const BeginOfTrack *trk) override
This routine will be called when the appropriate signal arrives.
Definition:
SaveSimTrack.cc:25
SaveSimTrack::pdgs_
std::vector< int > pdgs_
Definition:
SaveSimTrack.h:18
SaveSimTrack::SaveSimTrack
SaveSimTrack(edm::ParameterSet const &p)
Definition:
SaveSimTrack.cc:13
SimWatcher
Definition:
SimWatcher.h:27
Observer
Definition:
Observer.h:23
SimWatcher.h
edm::ParameterSet
Definition:
ParameterSet.h:48
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14