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() override
Definition: SaveSimTrack.cc:23
void update(const BeginOfTrack *trk) override
This routine will be called when the appropriate signal arrives.
Definition: SaveSimTrack.cc:25
std::vector< int > pdgs_
Definition: SaveSimTrack.h:18
SaveSimTrack(edm::ParameterSet const &p)
Definition: SaveSimTrack.cc:13