GGS(GenericGEANT4Simulation)Software  2.7.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 "G4UIcmdWithADouble.hh"
14 #include "G4UIcmdWithAString.hh"
15 #include "G4UIdirectory.hh"
17 
31 class GGSLostEnergyMessenger : public G4UImessenger {
32 public:
35 
38 
44  void SetNewValue(G4UIcommand *command, G4String newValue);
45 
46 private:
47  GGSLostEnergyAction *_action;
48 
49  G4UIdirectory *_cmdDir;
50  G4UIcmdWithAString *_outBaseCmd;
51  G4UIcmdWithAString *_outTreeCmd;
52  G4UIcmdWithAString *_energyTypeCmd;
53 };
54 #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.