/home/cern/BDSIM_new/include/BDSRunManager.hh

00001 /* BDSIM code.    Version 1.0
00002    Author: Grahame A. Blair, Royal Holloway, Univ. of London.
00003    Last modified 24.7.2002
00004    Copyright (c) 2002 by G.A.Blair.  ALL RIGHTS RESERVED. 
00005 */
00006 
00007 // $Id: BDSRunManager.hh,v 1.2 2007/07/18 13:35:01 malton Exp $
00008 // GEANT4 tag $Name:  $
00009 #ifndef BDSRunManager_h
00010 #define BDSRunManager_h 1
00011 
00012 #include "G4RunManager.hh"
00013 
00014 #include "G4Event.hh"
00015 #include "G4EventManager.hh"
00016 #include "globals.hh"
00017 #include  <vector>
00018 
00019 class BDSRunManager:public G4RunManager
00020 {
00021   public: // with description
00022 
00023     static BDSRunManager* GetRunManager();
00024     //  Static method which returns the singleton pointer of BDSRunManager or
00025     // its derived class.
00026 
00027   private:
00028     static BDSRunManager* fRunManager;
00029 
00030   public: // with description
00031     BDSRunManager();
00032     virtual ~BDSRunManager();
00033     //  The constructor and the destructor. The user must construct this class
00034     // object at the beginning of his/her main() and must delete it at the 
00035     // bottom of the main().
00036 
00037   public: // with description
00038 //SPM
00039   virtual void DoEventLoop(G4int n_event,const char* macroFile,G4int n_select);
00040   virtual void BeamOn(G4int n_event,const char* macroFile=0,G4int n_select=-1);
00041 };
00042 #endif
00043 

Generated on Wed Mar 5 17:25:22 2008 for BDSIM by  doxygen 1.5.3