]>
Commit | Line | Data |
---|---|---|
676fb573 | 1 | // $Id$ |
2 | // Category: event | |
3 | // | |
7005154f | 4 | // Author: I. Hrivnacova |
5 | // | |
6 | // Class AliEventActionMessenger | |
7 | // ----------------------------- | |
676fb573 | 8 | // Messenger class that defines commands for AliEventAction. |
9 | ||
10 | #ifndef ALI_EVENT_ACTION_MESSENGER_H | |
11 | #define ALI_EVENT_ACTION_MESSENGER_H | |
12 | ||
13 | #include <G4UImessenger.hh> | |
676fb573 | 14 | |
15 | class AliEventAction; | |
16 | ||
17 | class G4UIdirectory; | |
18 | class G4UIcmdWithAString; | |
19 | class G4UIcmdWithAnInteger; | |
20 | ||
21 | class AliEventActionMessenger: public G4UImessenger | |
22 | { | |
23 | public: | |
24 | AliEventActionMessenger(AliEventAction* eventAction); | |
25 | // --> protected | |
26 | // AliEventActionMessenger(); | |
27 | // AliEventActionMessenger(const AliEventActionMessenger& right); | |
28 | virtual ~AliEventActionMessenger(); | |
29 | ||
30 | // methods | |
31 | virtual void SetNewValue(G4UIcommand* command, G4String string); | |
32 | ||
33 | protected: | |
34 | AliEventActionMessenger(); | |
35 | AliEventActionMessenger(const AliEventActionMessenger& right); | |
36 | ||
37 | // operators | |
38 | AliEventActionMessenger& operator=( | |
39 | const AliEventActionMessenger& right); | |
40 | ||
41 | private: | |
42 | // data members | |
43 | AliEventAction* fEventAction; //associated class | |
44 | G4UIdirectory* fEventDirectory; //command directory | |
45 | G4UIcmdWithAString* fDrawTracksCmd; //command: drawTracks | |
676fb573 | 46 | }; |
47 | ||
48 | #endif //ALI_EVENT_ACTION_MESSENGER_H |