Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Collimator70BeamLine.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 //
26 // This is the *BASIC* version of IORT, a Geant4-based application
27 //
28 // Main Authors: G.Russo(a,b), C.Casarino*(c), G.C. Candiano(c), G.A.P. Cirrone(d), F.Romano(d)
29 // Contributor Authors: S.Guatelli(e)
30 // Past Authors: G.Arnetta(c), S.E.Mazzaglia(d)
31 //
32 // (a) Fondazione Istituto San Raffaele G.Giglio, Cefalù, Italy
33 // (b) IBFM-CNR , Segrate (Milano), Italy
34 // (c) LATO (Laboratorio di Tecnologie Oncologiche), Cefalù, Italy
35 // (d) Laboratori Nazionali del Sud of the INFN, Catania, Italy
36 // (e) University of Wallongong, Australia
37 //
38 // *Corresponding author, email to carlo.casarino@polooncologicocefalu.it
40 
41 #ifndef Collimator70BeamLine_H
42 #define Collimator70BeamLine_H 1
43 
44 #include "globals.hh"
46 #include "G4Box.hh"
47 #include "G4Tubs.hh"
48 #include "G4VisAttributes.hh"
49 #include "G4LogicalVolume.hh"
50 
51 #include "G4Cons.hh"
52 #include "G4SubtractionSolid.hh"
53 
54 class G4VPhysicalVolume;
57 
59 {
60 public:
61 
62 
65 
67 
68 
72  void IortBeamLineBlocks() ;
73  void IortBeamLineJunctions();
75 
76 
78  // This method allows to change the size of the inner radius of the
79  // final collimator
80 
82  // This method allows to change the size of the outer radius of the
83  // final collimator
84 
85  // void SetFinalCollimatorIORTMaterial(G4String);
86  // This method allows to change the material
87  // of the final collimator
88 
89 
90 
91 private:
92 //Collimator70 line dimensions
93  void SetDefaultDimensions();
94  void ConstructCollimator70BeamLine();
95 
96 
97  Collimator70BeamLineMessenger* collimatorMessenger;
98  G4VPhysicalVolume* physicalTreatmentRoom;
99  IORTDetectorConstruction* iortDetectorConstruction;
100 
101  G4Material* kapton;
102 
103  G4VisAttributes* blue;
104  G4VisAttributes* gray;
105  G4VisAttributes* white;
106  G4VisAttributes* red;
107  G4VisAttributes* yellow;
108  G4VisAttributes* green;
109  G4VisAttributes* darkGreen;
110  G4VisAttributes* darkOrange3;
111  G4VisAttributes* skyBlue;
112 
113  // Final Collimator IORT
114  G4double innerRadiusFinalCollimatorIORT;
115  G4double OuterRadiusFinalCollimatorIORT;
116  G4Tubs* solidFinalCollimatorIORT;
117  G4LogicalVolume* logicFinalCollimatorIORT;
118  G4VPhysicalVolume* physiFinalCollimatorIORT;
119  G4Material* finalCollimatorMaterialIORT;
120 
121  // Junction 1 FINAL COLLIMATOR IORT
122  G4double innerRadiusGiunz1FinalCollIORT;
123  G4double OuterRadiusGiunz1FinalCollIORT;
124  G4Tubs* solidGiunz1FinalCollIORT;
125  G4LogicalVolume* logicGiunz1FinalCollIORT;
126  G4VPhysicalVolume* physiGiunz1FinalCollIORT;
127  G4Material* Giunz1FinalCollMaterialIORT;
128 
129  // Junction 2 FINAL COLLIMATOR IORT
130  G4double innerRadiusGiunz2FinalCollIORT;
131  G4double OuterRadiusGiunz2FinalCollIORT;
132  G4Tubs* solidGiunz2FinalCollIORT;
133  G4LogicalVolume* logicGiunz2FinalCollIORT;
134  G4VPhysicalVolume* physiGiunz2FinalCollIORT;
135  G4Material* Giunz2FinalCollMaterialIORT;
136 
137  // Junction 3 FINAL COLLIMATOR IORT
138  G4double innerRadiusGiunz3FinalCollIORT;
139  G4double OuterRadiusGiunz3FinalCollIORT;
140  G4Tubs* solidGiunz3FinalCollIORT;
141  G4LogicalVolume* logicGiunz3FinalCollIORT;
142  G4VPhysicalVolume* physiGiunz3FinalCollIORT;
143  G4Material* Giunz3FinalCollMaterialIORT;
144 
145  // Junction 3 FINAL COLLIMATOR intIORT
146  G4Cons* solidGiunz3FinalCollIntIORT;
147  G4LogicalVolume* logicGiunz3FinalCollIntIORT;
148  G4Material* Giunz3FinalCollMaterialIntIORT;
149  G4SubtractionSolid* solidsottrazione;
150  G4LogicalVolume* logicsottrazione;
151  G4VPhysicalVolume* physiGiunz3FinalCollIntIORT;
152 
153  // Junction 4 FINAL COLLIMATOR IORT
154  G4double innerRadiusGiunz4FinalCollIORT;
155  G4double OuterRadiusGiunz4FinalCollIORT;
156  G4Tubs* solidGiunz4FinalCollIORT;
157  G4LogicalVolume* logicGiunz4FinalCollIORT;
158  G4VPhysicalVolume* physiGiunz4FinalCollIORT;
159  G4Material* Giunz4FinalCollMaterialIORT;
160 
161  // Junction 5 FINAL COLLIMATOR IORT
162  G4double innerRadiusGiunz5FinalCollIORT;
163  G4double OuterRadiusGiunz5FinalCollIORT;
164  G4Tubs* solidGiunz5FinalCollIORT;
165  G4LogicalVolume* logicGiunz5FinalCollIORT;
166  G4VPhysicalVolume* physiGiunz5FinalCollIORT;
167  G4Material* Giunz5FinalCollMaterialIORT;
168 
169  // Block 1 Diameter 30 mm
170  G4double innerRadiusBlocco1IORT;
171  G4double OuterRadiusBlocco1IORT;
172  G4Tubs* solidBlocco1IORT;
173  G4LogicalVolume* logicBlocco1IORT;
174  G4VPhysicalVolume* physiBlocco1IORT;
175  G4Material* Blocco1IORTMaterialIORT;
176 
177  // Block 2 Diameter 30 mm
178  G4double innerRadiusBlocco2IORT;
179  G4double OuterRadiusBlocco2IORT;
180  G4Tubs* solidBlocco2IORT;
181  G4LogicalVolume* logicBlocco2IORT;
182  G4VPhysicalVolume* physiBlocco2IORT;
183  G4Material* Blocco2IORTMaterialIORT;
184 
185  // Block 3 Diameter 30 mm
186  G4double innerRadiusBlocco3IORT;
187  G4double OuterRadiusBlocco3IORT;
188  G4Tubs* solidBlocco3IORT;
189  G4LogicalVolume* logicBlocco3IORT;
190  G4VPhysicalVolume* physiBlocco3IORT;
191  G4Material* Blocco3IORTMaterialIORT;
192 
193  // Block 4 Internal Diameter 20 mm
194  G4double innerRadiusBlocco20mmIORT;
195  G4double OuterRadiusBlocco20mmIORT;
196  G4Tubs* solidBlocco20mmIORT;
197  G4LogicalVolume* logicBlocco20mmIORT;
198  G4VPhysicalVolume* physiBlocco20mmIORT;
199  G4Material* Blocco20mmIORTMaterialIORT;
200 
201  // First Chamber Monitor 1 of 2
202  G4double innerRadiusCM1_1_2IORT;
203  G4double OuterRadiusCM1_1_2IORT;
204  G4Tubs* solidCM1_1_2IORT;
205  G4LogicalVolume* logicCM1_1_2IORT;
206  G4VPhysicalVolume* physiCM1_1_2IORT;
207  G4Material* CM1_1_2IORTMaterialIORT;
208 
209  // First Chamber Monitor 2 of 2
210  G4double innerRadiusCM1_2_2IORT;
211  G4double OuterRadiusCM1_2_2IORT;
212  G4Tubs* solidCM1_2_2IORT;
213  G4LogicalVolume* logicCM1_2_2IORT;
214  G4VPhysicalVolume* physiCM1_2_2IORT;
215  G4Material* CM1_2_2IORTMaterialIORT;
216 
217  // Second Chamber Monitor 1 of 2
218  G4double innerRadiusCM2_1_2IORT;
219  G4double OuterRadiusCM2_1_2IORT;
220  G4Tubs* solidCM2_1_2IORT;
221  G4LogicalVolume* logicCM2_1_2IORT;
222  G4VPhysicalVolume* physiCM2_1_2IORT;
223  G4Material* CM2_1_2IORTMaterialIORT;
224 
225  // Second Chamber Monitor 2 of 2
226  G4double innerRadiusCM2_2_2IORT;
227  G4double OuterRadiusCM2_2_2IORT;
228  G4Tubs* solidCM2_2_2IORT;
229  G4LogicalVolume* logicCM2_2_2IORT;
230  G4VPhysicalVolume* physiCM2_2_2IORT;
231  G4Material* CM2_2_2IORTMaterialIORT;
232 
233  // Monitor Chambers Cylinder
234  G4double innerRadiusCCMIORT;
235  G4double OuterRadiusCCMIORT;
236  G4Tubs* solidCCMIORT;
237  G4LogicalVolume* logicCCMIORT;
238  G4VPhysicalVolume* physiCCMIORT;
239  G4Material* CCMIORTMaterialIORT;
240 
241  // Superior Final Monitor Chamber Part 1
242  G4double innerRadiusPFS1IORT;
243  G4double OuterRadiusPFS1IORT;
244  G4Tubs* solidPFS1IORT;
245  G4LogicalVolume* logicPFS1IORT;
246  G4VPhysicalVolume* physiPFS1IORT;
247  G4Material* PFS1IORTMaterialIORT;
248 
249  // Superior Final Monitor Chamber Part 2
250  G4double innerRadiusPFS2IORT;
251  G4double OuterRadiusPFS2IORT;
252  G4Tubs* solidPFS2IORT;
253  G4LogicalVolume* logicPFS2IORT;
254  G4VPhysicalVolume* physiPFS2IORT;
255  G4Material* PFS2IORTMaterialIORT;
256 
257  // Superior Final Monitor Chamber Part 3
258  G4double innerRadiusPFS3IORT;
259  G4double OuterRadiusPFS3IORT;
260  G4Tubs* solidPFS3IORT;
261  G4LogicalVolume* logicPFS3IORT;
262  G4VPhysicalVolume* physiPFS3IORT;
263  G4Material* PFS3IORTMaterialIORT;
264 
265  // Titanium Window
266  G4double innerRadiusFTIORT;
267  G4double OuterRadiusFTIORT;
268  G4Tubs* solidFTIORT;
269  G4LogicalVolume* logicFTIORT;
270  G4VPhysicalVolume* physiFTIORT;
271  G4Material* FTIORTMaterialIORT;
272 
273  // Vacuum Source
274  G4double innerRadiusVSIORT;
275  G4double OuterRadiusVSFTIORT;
276  G4Tubs* solidVSIORT;
277  G4LogicalVolume* logicVSIORT;
278  G4VPhysicalVolume* physiVSIORT;
279  G4Material* VSIORTMaterialIORT;
280 
281 
282 };
283 #endif
284 
285 
286