ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimSilDetectorMessenger.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 ActarSimSilDetectorMessenger_h
11 #define ActarSimSilDetectorMessenger_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 ActarSimSilDetectorMessenger: public G4UImessenger {
27 private:
28  ActarSimSilDetectorConstruction* ActarSimSilDetector; ///< Pointer to main detector class
29 
30  G4UIdirectory* detDir; ///< Directory in messenger structure
31  G4UIcmdWithoutParameter* printCmd; ///< Prints geometry
32  G4UIcmdWithAnInteger* sideCoverageCmd; ///< Selects the silicon coverage (default 1)
33  G4UIcmdWithADoubleAndUnit* xBoxHalfLengthCmd; ///< Sets the x half length of the silicon detectors box
34  G4UIcmdWithADoubleAndUnit* yBoxHalfLengthCmd; ///< Sets the y half length of the silicon detectors box
35  G4UIcmdWithADoubleAndUnit* zBoxHalfLengthCmd; ///< Sets the z half length of the silicon 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 silicon detectors box.
G4UIcmdWithoutParameter * printCmd
Prints geometry.
ActarSimSilDetectorConstruction * ActarSimSilDetector
Pointer to main detector class.
G4UIcmdWithAnInteger * sideCoverageCmd
Selects the silicon coverage (default 1)
G4UIcmdWithADoubleAndUnit * xBoxHalfLengthCmd
Sets the x half length of the silicon detectors box.
void SetNewValue(G4UIcommand *, G4String)
Setting the values using the ActarSimROOTAnalysis interface.
ActarSimSilDetectorMessenger(ActarSimSilDetectorConstruction *)
G4UIdirectory * detDir
Directory in messenger structure.
G4UIcmdWithADoubleAndUnit * yBoxHalfLengthCmd
Sets the y half length of the silicon detectors box.