ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimSciDetectorMessenger.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 04/2008
2 /******************************************************************
3  * Copyright (C) 2005-2016, Hector Alvarez-Pol *
4  * All rights reserved. *
5  * *
6  * License according to GNU LESSER GPL (see lgpl-3.0.txt). *
7  * For the list of contributors see CREDITS. *
8  ******************************************************************/
9 
10 #ifndef ActarSimSciDetectorMessenger_h
11 #define ActarSimSciDetectorMessenger_h 1
12 
13 #include "globals.hh"
14 #include "G4UImessenger.hh"
15 
18 
19 class G4UIdirectory;
20 class G4UIcmdWithAString;
21 class G4UIcmdWithoutParameter;
22 class G4UIcmdWithAnInteger;
23 class G4UIcmdWithADoubleAndUnit;
24 class G4UIcmdWith3VectorAndUnit;
25 
26 class ActarSimSciDetectorMessenger: public G4UImessenger {
27 private:
28  ActarSimSciDetectorConstruction* ActarSimSciDetector; ///< Pointer to main sci detector class
29 
30  G4UIdirectory* detDir; ///< Directory in messenger structure
31  G4UIcmdWithoutParameter* printCmd; ///< Prints geometry
32  G4UIcmdWithAnInteger* sideCoverageCmd; ///< Selects the scintillator coverage (default 1)
33  G4UIcmdWithADoubleAndUnit* xBoxHalfLengthCmd; ///< Sets the x half length of the sci detectors box
34  G4UIcmdWithADoubleAndUnit* yBoxHalfLengthCmd; ///< Sets the y half length of the sci detectors box
35  G4UIcmdWithADoubleAndUnit* zBoxHalfLengthCmd; ///< Sets the z half length of the sci detectors box
36 
37 public:
40 
41  void SetNewValue(G4UIcommand*, G4String);
42  //G4String GetCurrentValue(G4UIcommand*);
43 };
44 #endif
G4UIcmdWithADoubleAndUnit * zBoxHalfLengthCmd
Sets the z half length of the sci detectors box.
G4UIcmdWithAnInteger * sideCoverageCmd
Selects the scintillator coverage (default 1)
ActarSimSciDetectorMessenger(ActarSimSciDetectorConstruction *)
Constructor with complete functionality.
G4UIdirectory * detDir
Directory in messenger structure.
G4UIcmdWithADoubleAndUnit * xBoxHalfLengthCmd
Sets the x half length of the sci detectors box.
void SetNewValue(G4UIcommand *, G4String)
Setting the new values and connecting to actions.
G4UIcmdWithADoubleAndUnit * yBoxHalfLengthCmd
Sets the y half length of the sci detectors box.
G4UIcmdWithoutParameter * printCmd
Prints geometry.
ActarSimSciDetectorConstruction * ActarSimSciDetector
Pointer to main sci detector class.