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