CMS 3D CMS Logo

MonopoleSteppingAction.h
Go to the documentation of this file.
1 #ifndef SimG4Core_HelpfulWatchers_MonopoleSteppingAction_H
2 #define SimG4Core_HelpfulWatchers_MonopoleSteppingAction_H
3 
7 
8 #include "G4Step.hh"
9 #include <vector>
10 
11 class BeginOfJob;
12 class BeginOfRun;
13 class BeginOfTrack;
14 
16  public Observer<const BeginOfJob *>,
17  public Observer<const BeginOfRun *>,
18  public Observer<const BeginOfTrack *>,
19  public Observer<const G4Step *> {
20 public:
22  ~MonopoleSteppingAction() override;
23  void update(const BeginOfJob*) override;
24  void update(const BeginOfRun*) override;
25  void update(const BeginOfTrack*) override;
26  void update(const G4Step*) override;
27 
28 private:
30  std::vector<int> pdgCode;
34 };
35 
36 #endif
MonopoleSteppingAction(edm::ParameterSet const &p)
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.