]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/AliEventActionMessenger.h
added PrintMaterials(), GenerateXMLGeometry()
[u/mrichter/AliRoot.git] / AliGeant4 / AliEventActionMessenger.h
1 // $Id$
2 // Category: event
3 //
4 // Messenger class that defines commands for AliEventAction.
5
6 #ifndef ALI_EVENT_ACTION_MESSENGER_H
7 #define ALI_EVENT_ACTION_MESSENGER_H 
8
9 #include <G4UImessenger.hh>
10 #include <globals.hh>
11
12 class AliEventAction;
13
14 class G4UIdirectory;
15 class G4UIcmdWithAString;
16 class G4UIcmdWithAnInteger;
17
18 class AliEventActionMessenger: public G4UImessenger
19 {
20   public:
21     AliEventActionMessenger(AliEventAction* eventAction);
22     // --> protected
23     // AliEventActionMessenger();
24     // AliEventActionMessenger(const AliEventActionMessenger& right);
25     virtual ~AliEventActionMessenger();
26    
27     // methods 
28     virtual void SetNewValue(G4UIcommand* command, G4String string);
29     
30   protected:
31     AliEventActionMessenger();
32     AliEventActionMessenger(const AliEventActionMessenger& right);
33
34     // operators
35     AliEventActionMessenger& operator=(
36                             const AliEventActionMessenger& right);
37
38   private:
39     // data members
40     AliEventAction*        fEventAction;    //associated class
41     G4UIdirectory*         fEventDirectory; //command directory
42     G4UIcmdWithAString*    fDrawTracksCmd;  //command: drawTracks
43     G4UIcmdWithAnInteger*  fVerboseCmd;     //command: verbose
44 };
45
46 #endif //ALI_EVENT_ACTION_MESSENGER_H