New Cluster finding macro. Used by new AliITStest.C macro.
[u/mrichter/AliRoot.git] / AliGeant4 / AliRunMessenger.h
1 // $Id$
2 // Category: run
3 //
4 // Messenger class that defines commands for AliRun.
5
6 #ifndef ALI_RUN_MESSENGER_H
7 #define ALI_RUN_MESSENGER_H 
8
9 #include <G4UImessenger.hh>
10 #include <globals.hh>
11
12 class G4UIdirectory;
13 class G4UIcmdWithoutParameter;
14 class G4UIcmdWithAnInteger;
15
16 class AliRunMessenger: public G4UImessenger
17 {
18   public:
19     AliRunMessenger();
20     // --> protected
21     // AliRunMessenger(const AliRunMessenger& right);
22     virtual ~AliRunMessenger();
23    
24     // methods 
25     virtual void SetNewValue(G4UIcommand* command, G4String string);
26     
27   protected:
28     AliRunMessenger(const AliRunMessenger& right);
29
30     // operators
31     AliRunMessenger& operator=(const AliRunMessenger& right);
32
33   private:
34     // data members
35     G4UIdirectory*            fRunDirectory;  //command directory
36     G4UIcmdWithoutParameter*  fInitializeCmd; //command: initialize
37     G4UIcmdWithAnInteger*     fBeamOnCmd;     //command: beamOn
38     G4UIcmdWithoutParameter*  fLegoCmd;       //command: lego
39 };
40
41 #endif //ALI_RUN_MESSENGER_H