]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/AliRunMessenger.h
direct usage of AliRun::fParticles replaced with calls to AliRun; renamed methods...
[u/mrichter/AliRoot.git] / AliGeant4 / AliRunMessenger.h
CommitLineData
676fb573 1// $Id$
2// Category: run
3//
4// Messenger class that defines commands for AliRun.
5
6#ifndef ALI_RUN_MESSENGER_H
7#define ALI_RUN_MESSENGER_H
8
9#include <G4UImessenger.hh>
10#include <globals.hh>
11
12class G4UIdirectory;
13class G4UIcmdWithoutParameter;
14class G4UIcmdWithAnInteger;
d68385a8 15class G4UIcmdWithAString;
676fb573 16
17class AliRunMessenger: public G4UImessenger
18{
19 public:
20 AliRunMessenger();
21 // --> protected
22 // AliRunMessenger(const AliRunMessenger& right);
23 virtual ~AliRunMessenger();
24
25 // methods
26 virtual void SetNewValue(G4UIcommand* command, G4String string);
27
28 protected:
29 AliRunMessenger(const AliRunMessenger& right);
30
31 // operators
32 AliRunMessenger& operator=(const AliRunMessenger& right);
33
34 private:
35 // data members
36 G4UIdirectory* fRunDirectory; //command directory
d68385a8 37 G4UIcmdWithAString* fConfigCmd; //command: setConfig
676fb573 38 G4UIcmdWithoutParameter* fInitializeCmd; //command: initialize
39 G4UIcmdWithAnInteger* fBeamOnCmd; //command: beamOn
40 G4UIcmdWithoutParameter* fLegoCmd; //command: lego
41};
42
43#endif //ALI_RUN_MESSENGER_H