]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/AliEventActionMessenger.h
README updated (R.Barbera)
[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
11 class AliEventAction;
12
13 class G4UIdirectory;
14 class G4UIcmdWithAString;
15 class G4UIcmdWithAnInteger;
16
17 class AliEventActionMessenger: public G4UImessenger
18 {
19   public:
20     AliEventActionMessenger(AliEventAction* eventAction);
21     // --> protected
22     // AliEventActionMessenger();
23     // AliEventActionMessenger(const AliEventActionMessenger& right);
24     virtual ~AliEventActionMessenger();
25    
26     // methods 
27     virtual void SetNewValue(G4UIcommand* command, G4String string);
28     
29   protected:
30     AliEventActionMessenger();
31     AliEventActionMessenger(const AliEventActionMessenger& right);
32
33     // operators
34     AliEventActionMessenger& operator=(
35                             const AliEventActionMessenger& right);
36
37   private:
38     // data members
39     AliEventAction*        fEventAction;    //associated class
40     G4UIdirectory*         fEventDirectory; //command directory
41     G4UIcmdWithAString*    fDrawTracksCmd;  //command: drawTracks
42     G4UIcmdWithAnInteger*  fVerboseCmd;     //command: verbose
43 };
44
45 #endif //ALI_EVENT_ACTION_MESSENGER_H