CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
23  void update(const BeginOfJob*);
24  void update(const BeginOfRun*);
25  void update(const BeginOfTrack*);
26  void update(const G4Step*);
27 
28 private:
30  std::vector<int> pdgCode;
34 };
35 
36 #endif
MonopoleSteppingAction(edm::ParameterSet const &p)
void update(const BeginOfJob *)
This routine will be called when the appropriate signal arrives.