GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSLostEnergyMessenger.h
Go to the documentation of this file.
1 /*
2  * GGSLostEnergyMessenger.h
3  *
4  * Created on: 16 Jun 2011
5  * Author: Nicola Mori
6  */
7 
10 #ifndef GGSLOSTENERGYMESSENGER_H_
11 #define GGSLOSTENERGYMESSENGER_H_
12 
13 #include "G4UIcmdWithAString.hh"
14 #include "G4UIcmdWithADouble.hh"
15 #include "G4UIdirectory.hh"
17 
31 class GGSLostEnergyMessenger: public G4UImessenger {
32 public:
33 
36 
39 
45  void SetNewValue(G4UIcommand* command, G4String newValue);
46 
47 private:
48 
49  GGSLostEnergyAction *_action;
50 
51  G4UIdirectory* _cmdDir;
52  G4UIcmdWithAString* _outBaseCmd;
53  G4UIcmdWithAString* _outTreeCmd;
54  G4UIcmdWithAString* _energyTypeCmd;
55 
56 };
57 #endif /* GGSLOSTENERGYMESSENGER_H_ */
void SetNewValue(G4UIcommand *command, G4String newValue)
Override of SetNewValue method.
A control messenger for GGSLostEnergyAction.
GGSLostEnergyMessenger(GGSLostEnergyAction *action)
Constructor.
Computes the lost energy due to particles escaping the world volume.