GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSScoringManagerMessenger.h
Go to the documentation of this file.
1 /*
2  * GGSScoringManagerMessenger.h
3  *
4  * Created on: 02 Aug 2013
5  * Author: Nicola Mori
6  */
7 
10 #ifndef GGSSCORINGMANAGERMESSENGER_H_
11 #define GGSSCORINGMANAGERMESSENGER_H_
12 
13 #include "G4UImessenger.hh"
14 #include "G4UIcmdWithAString.hh"
15 
16 #include <vector>
17 
18 
20 class GGSScoringManagerMessenger: public G4UImessenger {
21 public:
22 
25 
28 
37  void SetNewValue(G4UIcommand *command, G4String logVolName);
38 
43  void CreateAddCommand(const G4String &sdClassName);
44 
45 private:
46  G4UIdirectory* _cmdsDir;
47  G4String _cmdsDirName;
48 
49  std::vector<G4UIcmdWithAString*> _commands;
50  G4String _cmdBaseName;
51 
52 };
53 
54 #endif /* GGSSCORINGMANAGERMESSENGER_H_ */
Messenger for the GGSScoringManager singleton.
void SetNewValue(G4UIcommand *command, G4String logVolName)
Concrete implementation of the SetNewValue method of base class.
void CreateAddCommand(const G4String &sdClassName)
Creates the command to add the specified sensitive detector class to logical volumes.