00001 #ifndef SimG4Core_KillSecondariesRunAction_H 00002 #define SimG4Core_KillSecondariesRunAction_H 00003 00004 #include "SimG4Core/Watcher/interface/SimWatcher.h" 00005 #include "SimG4Core/Notification/interface/Observer.h" 00006 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00007 00008 class BeginOfRun; 00009 00010 class KillSecondariesRunAction : public SimWatcher, 00011 public Observer<const BeginOfRun *> 00012 { 00013 public: 00014 KillSecondariesRunAction(edm::ParameterSet const & p); 00015 ~KillSecondariesRunAction(); 00016 void update(const BeginOfRun * run); 00017 }; 00018 00019 #endif 00020 00021