GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSMCTruthMessenger.h
Go to the documentation of this file.
1 /*
2  * GGSMCTruthMessenger.h
3  *
4  * Created on: 17 Aug 2011
5  * Author: Nicola Mori
6  */
7 
10 #ifndef GGSMCTruthMESSENGER_H_
11 #define GGSMCTruthMESSENGER_H_
12 
13 #include "G4UIcmdWithAString.hh"
14 #include "G4UIdirectory.hh"
15 
17 
31 class GGSMCTruthMessenger: public G4UImessenger {
32 public:
33 
36 
39 
45  void SetNewValue(G4UIcommand* command, G4String newValue);
46 
47 private:
48 
49  GGSMCTruthAction *_action;
50 
51  G4UIdirectory* _cmdDir;
52  G4UIcmdWithAString* _outBaseCmd;
53  G4UIcmdWithAString* _outTreeCmd;
54 
55 };
56 #endif /* GGSMCTruthMESSENGER_H_ */
GGSMCTruthMessenger(GGSMCTruthAction *action)
Constructor.
void SetNewValue(G4UIcommand *command, G4String newValue)
Override of SetNewValue method.
~GGSMCTruthMessenger()
Destructor.
Saves MC truth for each event.
A control messenger for GGSMCTruthAction.