a07f3072a854279be2c15d9a45f8ed5dd64bc3e3
[u/mrichter/AliRoot.git] / TGeant4 / TG4PhysicsListMessenger.h
1 // $Id$
2 // Category: physics
3 //
4 // Messenger class that defines commands for TG4PhysicsList
5
6 #ifndef TG4_PHYSICS_LIST_MESSENGER_H
7 #define TG4_PHYSICS_LIST_MESSENGER_H 
8
9 #include <G4UImessenger.hh>
10 #include <globals.hh>
11
12 class TG4PhysicsList;
13
14 class G4UIcmdWithABool;
15
16 class TG4PhysicsListMessenger: public G4UImessenger
17 {
18   public:
19     TG4PhysicsListMessenger(TG4PhysicsList* physicsList); 
20     // --> protected                       
21     // TG4PhysicsListMessenger(const TG4PhysicsListMessenger& right);
22     virtual ~TG4PhysicsListMessenger();
23    
24     // methods 
25     virtual void SetNewValue(G4UIcommand* command, G4String string);
26     
27   protected:
28     TG4PhysicsListMessenger(const TG4PhysicsListMessenger& right);
29
30     // operators
31     TG4PhysicsListMessenger& operator=(
32                             const TG4PhysicsListMessenger& right);
33
34   private:
35     // data members
36     TG4PhysicsList*    fPhysicsList;        //associated class 
37     G4UIcmdWithABool*  fSetOpticalCmd;      //setCerenkov command   
38     G4UIcmdWithABool*  fSetHadronCmd;       //setHadron command   
39     G4UIcmdWithABool*  fSetSpecialCutsCmd;  //setSpecialCuts command   
40     G4UIcmdWithABool*  fSetSpecialFlagsCmd; //setSpecialFlags command   
41 };
42
43 #endif //TG4_PHYSICS_LIST_MESSENGER_H