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,
12  public Observer<const BeginOfTrack *> {
13 
14 public:
16  ~SaveSimTrack();
17  void update(const BeginOfTrack * trk);
18 
19 private:
20  std::vector<int> pdgs_;
21 };
22 
23 #endif
24 
25 
void update(const BeginOfTrack *trk)
This routine will be called when the appropriate signal arrives.
Definition: SaveSimTrack.cc:27
std::vector< int > pdgs_
Definition: SaveSimTrack.h:20
SaveSimTrack(edm::ParameterSet const &p)
Definition: SaveSimTrack.cc:13