CMS 3D CMS Logo

SaveSimTrack.h
Go to the documentation of this file.
1 #ifndef SimG4Core_SaveSimTrack_H
2 #define SimG4Core_SaveSimTrack_H
3 
8 
9 #include <vector>
10 
11 class SaveSimTrack : public SimWatcher, public Observer<const BeginOfTrack *> {
12 public:
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
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
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
SimWatcher
Definition: SimWatcher.h:33
ParameterSet.h