]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant4/TG4RunMessenger.h
attribute fSDConstruction and its getter added; added comment lines separating methods
[u/mrichter/AliRoot.git] / TGeant4 / TG4RunMessenger.h
CommitLineData
2817d3e2 1// $Id$
2// Category: run
3//
4// Messenger class that defines commands for TG4RunManager
5
6#ifndef TG4_RUN_MESSENGER_H
7#define TG4_RUN_MESSENGER_H
8
9#include <G4UImessenger.hh>
10#include <globals.hh>
11
12class TG4RunManager;
13class TG4UICmdWithAComplexString;
14
15class G4UIdirectory;
16class G4UIcmdWithoutParameter;
17class G4UIcmdWithAString;
18
19class TG4RunMessenger: public G4UImessenger
20{
21 public:
22 TG4RunMessenger(TG4RunManager* runManager);
23 // protected
24 // TG4RunMessenger();
25 // TG4RunMessenger(const TG4RunMessenger& right);
26 virtual ~TG4RunMessenger();
27
28 // methods
29 virtual void SetNewValue(G4UIcommand* command, G4String string);
30
31 protected:
32 TG4RunMessenger();
33 TG4RunMessenger(const TG4RunMessenger& right);
34
35 // operators
36 TG4RunMessenger& operator=(const TG4RunMessenger& right);
37
38 private:
39 // data members
40 TG4RunManager* fRunManager; //associated class
41 G4UIdirectory* fDirectory; //command directory
42
43 G4UIcmdWithoutParameter* fRootCmd; //command: root
44 G4UIcmdWithAString* fRootMacroCmd; //command: rootMacro
45 TG4UICmdWithAComplexString* fRootCommandCmd; //command: rootCmd
46 G4UIcmdWithoutParameter* fG3DefaultsCmd; //command: g3Defaults
47};
48
49#endif //TG4_RUN_MESSENGER_H