/////////////////////////////////////////////////////////////////// // RATRunManager // 31-Jul-2006 William Seligman // // Set up the G4RunManager environment, before initializing the // main RAT simulation in RATGsim. /////////////////////////////////////////////////////////////////// #ifndef __RAT_RunManager__ #define __RAT_RunManager__ class G4RunManager; #ifdef G4VIS_USE class G4VisManager; #endif namespace RAT { // Forward declarations class Gsim; class ProcBlock; class RunManager { public: RunManager(); RunManager(ProcBlock* theMainBlock); virtual ~RunManager(); Gsim* GetGsim() { return fRatGsim; } protected: void Init(); // the real constructor G4RunManager* fTheRunManager; ProcBlock* fMainBlock; Gsim* fRatGsim; #ifdef G4VIS_USE G4VisManager* fTheVisManager; #endif }; } // namespace RAT #endif // __RAT_RunManager__