CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/SimG4Core/Application/interface/RunAction.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_RunAction_H
00002 #define SimG4Core_RunAction_H
00003 
00004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00005 #include "SimG4Core/Notification/interface/SimActivityRegistry.h"
00006 
00007 #include "G4UserRunAction.hh"
00008 
00009 #include <string>
00010 
00011 class RunManager;
00012 class BeginOfRun;
00013 class EndOfRun;
00014 
00015 class RunAction: public G4UserRunAction
00016 {
00017 public:
00018     RunAction(const edm::ParameterSet & ps, RunManager*);
00019     void BeginOfRunAction(const G4Run * aRun);
00020     void EndOfRunAction(const G4Run * aRun);
00021     
00022     SimActivityRegistry::BeginOfRunSignal m_beginOfRunSignal;
00023     SimActivityRegistry::EndOfRunSignal m_endOfRunSignal; 
00024 private:
00025     RunManager* m_runManager;
00026     std::string m_stopFile;
00027 };
00028 
00029 #endif