]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant4/TG4Messenger.h
updated for command renaming (/g4mc -> /tg4Control, /tg4Physics)
[u/mrichter/AliRoot.git] / TGeant4 / TG4Messenger.h
CommitLineData
2817d3e2 1// $Id$
2// Category: run
3//
7907d67b 4// Author: I. Hrivnacova
5//
6// Class TG4Messenger
7// ------------------
2817d3e2 8// Messenger class that defines commands for
7907d67b 9// geometry, physics and step managers.
2817d3e2 10
11#ifndef TG4_MESSENGER_H
12#define TG4_MESSENGER_H
13
14#include <G4UImessenger.hh>
15#include <globals.hh>
16
17class TG4GeometryManager;
18class TG4PhysicsManager;
19class TG4StepManager;
20
21class G4UIcmdWithoutParameter;
5688e846 22class G4UIcmdWithABool;
7907d67b 23class G4UIcmdWithAString;
2817d3e2 24
25class TG4Messenger: public G4UImessenger
26{
27 public:
28 TG4Messenger(TG4GeometryManager* geometryManager,
5688e846 29 TG4PhysicsManager* physicsManager,
30 TG4StepManager* stepManager);
2817d3e2 31 // --> protected
32 // TG4Messenger();
33 // TG4Messenger(const TG4Messenger& right);
34 virtual ~TG4Messenger();
35
36 // methods
37 virtual void SetNewValue(G4UIcommand* command, G4String string);
38
39 protected:
40 TG4Messenger();
41 TG4Messenger(const TG4Messenger& right);
42
43 // operators
44 TG4Messenger& operator=(const TG4Messenger& right);
45
46 private:
47 // data members
48 TG4GeometryManager* fGeometryManager; //geometry manager
49 TG4PhysicsManager* fPhysicsManager; //physics manager
50 TG4StepManager* fStepManager; //step manager
5688e846 51
52 G4UIcmdWithABool* fSetEMCmd; //setEM command
47f9c13c 53 G4UIcmdWithABool* fSetMuonCmd; //setMuon command
5688e846 54 G4UIcmdWithABool* fSetHadronCmd; //setHadron command
47f9c13c 55 G4UIcmdWithABool* fSetOpticalCmd; //setOptical command
5688e846 56 G4UIcmdWithABool* fSetSpecialCutsCmd; //setSpecialCuts command
57 G4UIcmdWithABool* fSetSpecialControlsCmd;//setSpecialControls command
58 G4UIcmdWithoutParameter* fProcessActivationCmd; //.
59 //setProcessActivation command
7907d67b 60 G4UIcmdWithoutParameter* fPrintProcessMCMapCmd; //.
61 //printProcessMCMap command
62 G4UIcmdWithoutParameter* fPrintProcessControlMapCmd; //.
63 //printProcessControlsMap command
64 G4UIcmdWithAString* fPrintVolumeLimitsCmd; //.
65 //printVolumeLimits command
66 G4UIcmdWithoutParameter* fPrintGeneralCutsCmd; //.
67 //printGeneralCuts command
68 G4UIcmdWithoutParameter* fPrintGeneralControlsCmd; //.
69 //printGeneralControls command
2817d3e2 70};
71
72#endif //TG4_MESSENGER_H