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