ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimDetectorMessenger.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 11/2004
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 ActarSimDetectorMessenger_h
11 #define ActarSimDetectorMessenger_h 1
12 
13 #include "globals.hh"
14 #include "G4UImessenger.hh"
15 
17 class G4UIdirectory;
18 class G4UIcmdWithAString;
19 class G4UIcmdWithAnInteger;
20 class G4UIcmdWithADouble;
21 class G4UIcmdWithADoubleAndUnit;
22 class G4UIcmdWith3VectorAndUnit;
23 class G4UIcmdWith3Vector;
24 class G4UIcmdWithoutParameter;
25 
26 class ActarSimDetectorMessenger: public G4UImessenger {
27 private:
28  ActarSimDetectorConstruction* ActarSimDetector; ///< Pointer to detector class
29 
30  G4UIdirectory* ActarSimDir; ///< Directory in messenger structure
31  G4UIdirectory* detDir; ///< Directory in messenger structure
32  //G4UIcmdWith3VectorAndUnit* worldSizeCmd;
33 
34  G4UIcmdWithAString* MaikoGeoIncludedFlagCmd; ///< Includes the Maiko geometry in the simulation (default off).
35  G4UIcmdWithAString* ACTARTPCDEMOGeoIncludedFlagCmd; ///< Includes the ACTARTPC Demonstrator geometry in the simulation (default off).
36  G4UIcmdWithAString* ACTARTPCGeoIncludedFlagCmd; ///< Includes the ACTARTPC geometry in the simulation (default off).
37  G4UIcmdWithAString* SpecMATGeoIncludedFlagCmd; ///< Includes the SpecMAT geometry in the simulation (default off).
38  G4UIcmdWithAString* OthersGeoIncludedFlagCmd; ///< Includes Other geometries in the simulation (default off).
39  G4UIcmdWithADoubleAndUnit* chamberSizeXCmd; ///< Select the half-length X dimension of the Gas Chamber.
40  G4UIcmdWithADoubleAndUnit* chamberSizeYCmd; ///< Select the half-length Y dimension of the Gas Chamber.
41  G4UIcmdWithADoubleAndUnit* chamberSizeZCmd; ///< Select the half-length Z dimension of the Gas Chamber.
42  G4UIcmdWithADoubleAndUnit* chamberCenterXCmd; ///< Select the X offset of the Chamber center.
43  G4UIcmdWithADoubleAndUnit* chamberCenterYCmd; ///< Select the Y offset of the Chamber center.
44  G4UIcmdWithADoubleAndUnit* chamberCenterZCmd; ///< Select the Z offset of the Chamber center.
45  G4UIcmdWithADoubleAndUnit* worldSizeXCmd; ///< Select the half-length X dimension of the World.
46  G4UIcmdWithADoubleAndUnit* worldSizeYCmd; ///< Select the half-length Y dimension of the World.
47  G4UIcmdWithADoubleAndUnit* worldSizeZCmd; ///< Select the half-length Z dimension of the World.
48  G4UIcmdWithAString* gasGeoIncludedFlagCmd; ///< Includes the geometry of the gas volume in the simulation (default on).
49  G4UIcmdWithAString* silGeoIncludedFlagCmd; ///< Includes the geometry of the silicons in the simulation (default off).
50  G4UIcmdWithAString* sciGeoIncludedFlagCmd; ///< Includes the geometry of the scintillator in the simulation (default off).
51 
52  G4UIcmdWithAString* mediumMaterialCmd; ///< Select Material outside the Chamber.
53  G4UIcmdWithAString* chamberMaterialCmd; ///< Select Material in the Chamber (but not in the gas!).
54 
55  G4UIcmdWith3Vector* eleFieldCmd; ///< Define electric field.
56  G4UIcmdWith3VectorAndUnit* magFieldCmd; ///< Define magnetic field.
57  G4UIcmdWithoutParameter* updateCmd; ///< Update geometry.
58  G4UIcmdWithoutParameter* printCmd; ///< Prints geometry.
59 
60 public:
63 
64  void SetNewValue(G4UIcommand*, G4String);
65  //G4String GetCurrentValue(G4UIcommand*);
66 };
67 #endif
G4UIcmdWithADoubleAndUnit * chamberCenterXCmd
Select the X offset of the Chamber center.
ActarSimDetectorConstruction * ActarSimDetector
Pointer to detector class.
G4UIcmdWithAString * chamberMaterialCmd
Select Material in the Chamber (but not in the gas!).
G4UIcmdWithAString * silGeoIncludedFlagCmd
Includes the geometry of the silicons in the simulation (default off).
void SetNewValue(G4UIcommand *, G4String)
Setting the values using the ActarSimDetectorConstruction interface.
ActarSimDetectorMessenger(ActarSimDetectorConstruction *)
G4UIcmdWithADoubleAndUnit * chamberSizeXCmd
Select the half-length X dimension of the Gas Chamber.
G4UIcmdWithAString * mediumMaterialCmd
Select Material outside the Chamber.
G4UIcmdWithAString * MaikoGeoIncludedFlagCmd
Includes the Maiko geometry in the simulation (default off).
G4UIcmdWithAString * SpecMATGeoIncludedFlagCmd
Includes the SpecMAT geometry in the simulation (default off).
G4UIcmdWith3VectorAndUnit * magFieldCmd
Define magnetic field.
G4UIcmdWithAString * sciGeoIncludedFlagCmd
Includes the geometry of the scintillator in the simulation (default off).
G4UIcmdWithADoubleAndUnit * chamberCenterZCmd
Select the Z offset of the Chamber center.
G4UIcmdWithADoubleAndUnit * chamberSizeYCmd
Select the half-length Y dimension of the Gas Chamber.
G4UIcmdWithADoubleAndUnit * worldSizeXCmd
Select the half-length X dimension of the World.
G4UIcmdWithAString * ACTARTPCGeoIncludedFlagCmd
Includes the ACTARTPC geometry in the simulation (default off).
G4UIcmdWith3Vector * eleFieldCmd
Define electric field.
G4UIcmdWithADoubleAndUnit * worldSizeYCmd
Select the half-length Y dimension of the World.
G4UIcmdWithADoubleAndUnit * chamberCenterYCmd
Select the Y offset of the Chamber center.
G4UIcmdWithADoubleAndUnit * chamberSizeZCmd
Select the half-length Z dimension of the Gas Chamber.
G4UIcmdWithoutParameter * updateCmd
Update geometry.
G4UIcmdWithAString * ACTARTPCDEMOGeoIncludedFlagCmd
Includes the ACTARTPC Demonstrator geometry in the simulation (default off).
G4UIcmdWithAString * OthersGeoIncludedFlagCmd
Includes Other geometries in the simulation (default off).
G4UIcmdWithADoubleAndUnit * worldSizeZCmd
Select the half-length Z dimension of the World.
G4UIcmdWithAString * gasGeoIncludedFlagCmd
Includes the geometry of the gas volume in the simulation (default on).
G4UIdirectory * ActarSimDir
Directory in messenger structure.
G4UIdirectory * detDir
Directory in messenger structure.
G4UIcmdWithoutParameter * printCmd
Prints geometry.