4 // Abstract class that takes care of creating all user defined classes
5 // that will be initialized and managed by Geant4 kernel (G4RunManager).
6 // It has one pure virtual method CreateUserConfiguration()
7 // that has to be be implemented by derived class.
9 #ifndef TG4V_RUN_CONFIGURATION_H
10 #define TG4V_RUN_CONFIGURATION_H
12 class G4VUserDetectorConstruction;
13 class G4VUserPhysicsList;
14 class G4VUserPrimaryGeneratorAction;
15 class G4UserRunAction;
16 class G4UserEventAction;
17 class G4UserTrackingAction;
18 class G4UserSteppingAction;
19 class G4UserStackingAction;
22 class TG4VRunConfiguration
25 TG4VRunConfiguration();
27 // TG4VRunConfiguration(const TG4VRunConfiguration& right);
28 virtual ~TG4VRunConfiguration();
31 void ConfigureRunManager(G4RunManager* runManager);
34 TG4VRunConfiguration(const TG4VRunConfiguration& right);
37 TG4VRunConfiguration& operator=(const TG4VRunConfiguration& right);
40 virtual void CreateUserConfiguration() = 0;
43 G4VUserDetectorConstruction* fDetectorConstruction; //det construction
44 G4VUserPhysicsList* fPhysicsList; //physics list
45 G4VUserPrimaryGeneratorAction* fPrimaryGenerator; //primary generator
46 G4UserRunAction* fRunAction; //run action
47 G4UserEventAction* fEventAction; //event action
48 G4UserTrackingAction* fTrackingAction; //tracking action
49 G4UserSteppingAction* fSteppingAction; //stepping action
50 G4UserStackingAction* fStackingAction; //stacking action
53 #endif //TG4V_RUN_CONFIGURATION_H