Geant4  10.02.p01
Em10DetectorConstruction.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
28 //
29 //
30 // $Id: Em10DetectorConstruction.hh 73033 2013-08-15 09:24:45Z gcosmo $
31 //
32 //
33 
34 #ifndef Em10DetectorConstruction_h
35 #define Em10DetectorConstruction_h 1
36 
38 #include "globals.hh"
39 #include "G4ios.hh"
40 
41 class G4Box;
42 class G4Tubs;
43 class G4LogicalVolume;
44 class G4VPhysicalVolume;
45 class G4Material;
46 class G4Region;
47 class G4UniformMagField;
49 class Em10CalorimeterSD;
50 class G4Region;
51 class Em10Materials;
52 
53 
55 {
56  public:
57 
60 
61  public:
62 
67 
70 
72 
73  void SetFoilNumber (G4int i) {fFoilNumber = i; };
74 
76  void SetWorldSizeZ(G4double);
77  void SetWorldSizeR(G4double);
79 
80 
81  void SetMagField(G4double);
82 
84 
85  void UpdateGeometry();
86 
87  public:
88 
90 
94 
96 
100 
104 
111 
112 private:
113 
115 
122 
123  void TestOld();
124 
125 private:
126 
131 
133 
136 
139 
142 
144  // G4double zstartAbs , zendAbs;
146 
150 
151  G4Box* fSolidWorld; //pointer to the solid World
152  G4LogicalVolume* fLogicWorld; //pointer to the logical World
153  G4VPhysicalVolume* fPhysicsWorld; //pointer to the physical World
154 
155  // TR radiator volumes and dimensions
156 
157 // G4Box* fSolidRadSlice; // pointer to the solid z-slice
158 // G4LogicalVolume* fLogicRadSlice; // pointer to the logical z-slide
159 // G4VPhysicalVolume* fPhysicRadSlice; // pointer to the physical z-slide
160 
161 // G4Box* fSolidRadRing; // pointer to the solid R-slice
162 // G4LogicalVolume* fLogicRadRing; // pointer to the logical R-slide
163 // G4VPhysicalVolume* fPhysicRadRing; // pointer to the physical R-slide
164 
168 
169  G4Material* fRadiatorMat; // pointer to the mixed TR radiator material
170  G4Material* fFoilMat; // pointer to the TR foil radiator material
171  G4Material* fGasMat; // pointer to the TR gas radiator material
172 
176 
178 
182 
185 
186  G4int fModuleNumber; // the number of Rad-Det modules
187 
197 
198  G4Box* fSolidAbsorber; //pointer to the solid Absorber
199  G4LogicalVolume* fLogicAbsorber; //pointer to the logical Absorber
200  G4VPhysicalVolume* fPhysicsAbsorber; //pointer to the physical Absorber
201 
202  G4UniformMagField* fMagField; //pointer to the magnetic field
203 
204  // G4double fElectronCut, fGammaCut, fPositronCut;
205 
206  Em10DetectorMessenger* fDetectorMessenger; //pointer to the Messenger
207  Em10CalorimeterSD* fCalorimeterSD; //pointer to the sensitive detector
211 
212 };
213 
214 #endif
Definition: G4Box.hh:64
Definition: G4Tubs.hh:85
int G4int
Definition: G4Types.hh:78
static const double s
Definition: G4SIunits.hh:168
G4LogicalVolume * GetLogicalAbsorber()
Em10DetectorMessenger * fDetectorMessenger
bool G4bool
Definition: G4Types.hh:79
const G4VPhysicalVolume * GetphysiWorld()
G4VPhysicalVolume * SetUpHarris73()
G4VPhysicalVolume * SimpleSetUpALICE()
const G4VPhysicalVolume * GetAbsorber()
G4VPhysicalVolume * SetUpALICE06()
double G4double
Definition: G4Types.hh:76
G4VPhysicalVolume * ConstructDetectorXTR()
G4LogicalVolume * GetLogicalRadiator()