GGS(GenericGEANT4Simulation)Software  2.99.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations 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 
14 
15 #include "G4UIcmdWithADouble.hh"
16 #include "G4UIcmdWithAString.hh"
17 #include "G4UIdirectory.hh"
18 #include "G4UImessenger.hh"
19 
33 class GGSLostEnergyMessenger : public G4UImessenger {
34 public:
37 
40 
46  void SetNewValue(G4UIcommand *command, G4String newValue);
47 
48 private:
49  GGSLostEnergyAction *_action;
50 
51  G4UIdirectory *_cmdDir;
52  G4UIcmdWithAString *_outBaseCmd;
53  G4UIcmdWithAString *_outTreeCmd;
54  G4UIcmdWithAString *_energyTypeCmd;
55 };
56 #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.