GGS(GenericGEANT4Simulation)Software  2.7.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:
35 
38 
44  void SetNewValue(G4UIcommand *command, G4String newValue);
45 
46 private:
47  GGSMCTruthAction *_action;
48 
49  G4UIdirectory *_cmdDir;
50  G4UIcmdWithAString *_outBaseCmd;
51  G4UIcmdWithAString *_outTreeCmd;
52 };
53 #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.