4 // Author: I. Hrivnacova
6 // Class TG4PhysicsMessenger
7 // -------------------------
8 // Messenger class that defines commands for the physics manager.
10 #ifndef TG4_PHYSICS_MESSENGER_H
11 #define TG4_PHYSICS_MESSENGER_H
13 #include <G4UImessenger.hh>
16 class TG4PhysicsManager;
19 class G4UIcmdWithoutParameter;
20 class G4UIcmdWithABool;
21 class G4UIcmdWithAString;
23 class TG4PhysicsMessenger: public G4UImessenger
26 TG4PhysicsMessenger(TG4PhysicsManager* physicsManager);
28 // TG4PhysicsMessenger();
29 // TG4PhysicsMessenger(const TG4PhysicsMessenger& right);
30 virtual ~TG4PhysicsMessenger();
33 virtual void SetNewValue(G4UIcommand* command, G4String string);
36 TG4PhysicsMessenger();
37 TG4PhysicsMessenger(const TG4PhysicsMessenger& right);
40 TG4PhysicsMessenger& operator=(const TG4PhysicsMessenger& right);
44 TG4PhysicsManager* fPhysicsManager; //associated class
45 G4UIdirectory* fDirectory; //command directory
47 G4UIcmdWithABool* fSetEMCmd; //setEM command
48 G4UIcmdWithABool* fSetMuonCmd; //setMuon command
49 G4UIcmdWithABool* fSetHadronCmd; //setHadron command
50 G4UIcmdWithABool* fSetOpticalCmd; //setOptical command
51 G4UIcmdWithABool* fSetSpecialCutsCmd; //setSpecialCuts command
52 G4UIcmdWithABool* fSetSpecialControlsCmd;//setSpecialControls command
53 G4UIcmdWithoutParameter* fProcessActivationCmd; //.
54 //setProcessActivation command
55 G4UIcmdWithoutParameter* fPrintProcessMCMapCmd; //.
56 //printProcessMCMap command
57 G4UIcmdWithoutParameter* fPrintProcessControlMapCmd; //.
58 //printProcessControlsMap command
59 G4UIcmdWithAString* fPrintVolumeLimitsCmd; //.
60 //printVolumeLimits command
61 G4UIcmdWithoutParameter* fPrintGeneralCutsCmd; //.
62 //printGeneralCuts command
63 G4UIcmdWithoutParameter* fPrintGeneralControlsCmd; //.
64 //printGeneralControls command
67 #endif //TG4_PHYSICS_MESSENGER_H