GGS(GenericGEANT4Simulation)Software  2.7.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 "G4UIcmdWithAString.hh"
14 #include "G4UImessenger.hh"
15 
16 #include <vector>
17 
19 class GGSScoringManagerMessenger : public G4UImessenger {
20 public:
23 
26 
35  void SetNewValue(G4UIcommand *command, G4String logVolName);
36 
41  void CreateAddCommand(const G4String &sdClassName);
42 
43 private:
44  G4UIdirectory *_cmdsDir;
45  G4String _cmdsDirName;
46 
47  std::vector<G4UIcmdWithAString *> _commands;
48  G4String _cmdBaseName;
49 };
50 
51 #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.