]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4PhysicsMessenger.h
Moved from AliTransbit to AliL3Transbit.
[u/mrichter/AliRoot.git] / TGeant4 / TG4PhysicsMessenger.h
1 // $Id$
2 // Category: physics
3 //
4 // Author: I. Hrivnacova
5 //
6 // Class TG4PhysicsMessenger
7 // -------------------------
8 // Messenger class that defines commands for the physics manager.
9
10 #ifndef TG4_PHYSICS_MESSENGER_H
11 #define TG4_PHYSICS_MESSENGER_H 
12
13 #include <G4UImessenger.hh>
14 #include <globals.hh>
15
16 class TG4PhysicsManager;
17
18 class G4UIdirectory;
19 class G4UIcmdWithoutParameter;
20 class G4UIcmdWithABool;
21 class G4UIcmdWithAString;
22
23 class TG4PhysicsMessenger: public G4UImessenger
24 {
25   public:
26     TG4PhysicsMessenger(TG4PhysicsManager* physicsManager); 
27     // --> protected   
28     // TG4PhysicsMessenger();
29     // TG4PhysicsMessenger(const TG4PhysicsMessenger& right);
30     virtual ~TG4PhysicsMessenger();
31    
32     // methods 
33     virtual void SetNewValue(G4UIcommand* command, G4String string);
34     
35   protected:
36     TG4PhysicsMessenger();  
37     TG4PhysicsMessenger(const TG4PhysicsMessenger& right);
38
39     // operators
40     TG4PhysicsMessenger& operator=(const TG4PhysicsMessenger& right);
41
42   private:
43     // data members
44     TG4PhysicsManager* fPhysicsManager;       //associated class
45     G4UIdirectory*     fDirectory;            //command directory
46     
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
65 };
66
67 #endif //TG4_PHYSICS_MESSENGER_H