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