/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/GDMLMessenger.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/GDMLMessenger.hh Source File
Ratpac-two
GDMLMessenger.hh
1 #ifndef GDMLMessenger_hh
2 #define GDMLMessenger_hh
3 
4 #include "G4UImessenger.hh"
5 #include "G4VPhysicalVolume.hh"
6 #include "globals.hh"
7 
8 class G4UIdirectory;
9 class G4UIcmdWithAString;
10 class G4UIcmdWithADoubleAndUnit;
11 class G4UIcmdWithoutParameter;
12 class G4UIcmdWithABool;
13 
14 namespace RAT {
15 class GDMLParser;
16 
17 class GDMLMessenger : public G4UImessenger {
18  public:
19  GDMLMessenger(GDMLParser*);
20  ~GDMLMessenger();
21 
22  void SetNewValue(G4UIcommand*, G4String);
23 
24  private:
25  GDMLParser* myParser = nullptr;
26  G4LogicalVolume* topvol = nullptr;
27 
28  G4UIdirectory* persistencyDir = nullptr;
29  G4UIdirectory* gdmlDir = nullptr;
30  G4UIcmdWithAString* ReaderCmd = nullptr;
31  G4UIcmdWithAString* WriterCmd = nullptr;
32  G4UIcmdWithAString* TopVolCmd = nullptr;
33  G4UIcmdWithoutParameter* ClearCmd = nullptr;
34  G4UIcmdWithABool* RegionCmd = nullptr;
35  G4UIcmdWithABool* EcutsCmd = nullptr;
36  G4UIcmdWithABool* SDCmd = nullptr;
37  G4UIcmdWithABool* StripCmd = nullptr;
38  G4UIcmdWithABool* AppendCmd = nullptr;
39 
40  G4bool pFlag = true; // Append pointers to names flag
41 };
42 } // namespace RAT
43 #endif
Definition: GDMLMessenger.hh:17
Definition: CCCrossSecMessenger.hh:29