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