/scratch0/jsnuveri/BDSIM/BDSIMgit/bdsim/include/BDSRunAction.hh

00001 #ifndef BDSRunAction_h
00002 #define BDSRunAction_h 1
00003 
00004 #include "G4UserRunAction.hh"
00005 #include "globals.hh"
00006 #include <ctime>
00007 
00008 class G4Run;
00009 
00010 class BDSRunAction : public G4UserRunAction
00011 {
00012 public:
00013   BDSRunAction();
00014   ~BDSRunAction();
00015   
00016 public:
00017   void BeginOfRunAction(const G4Run*);
00018   void EndOfRunAction(const G4Run*);
00019 
00020 private:
00021   time_t starttime;
00022   time_t stoptime;
00023 
00024   //indices of histograms with analysis manager
00025   G4int phitsindex;
00026   G4int plossindex;
00027   G4int elossindex;
00028   G4int phitspeindex;
00029   G4int plosspeindex;
00030   G4int elosspeindex;
00031 };
00032 
00033 #endif
00034 

Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7