Geant4  10.00.p02
PassiveProtonBeamLine.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 Hadrontherapy, a Geant4-based application
27 // See more at: http://g4advancedexamples.lngs.infn.it/Examples/hadrontherapy
28 //
29 // Visit the Hadrontherapy web site (http://www.lns.infn.it/link/Hadrontherapy) to request
30 // the *COMPLETE* version of this program, together with its documentation;
31 // Hadrontherapy (both basic and full version) are supported by the Italian INFN
32 // Institute in the framework of the MC-INFN Group
33 //
34 
35 #ifndef PassiveProtonBeamLine_H
36 #define PassiveProtonBeamLine_H 1
37 
38 #include "globals.hh"
40 #include "G4Box.hh"
41 #include "G4Tubs.hh"
42 #include "G4VisAttributes.hh"
43 #include "G4LogicalVolume.hh"
44 
45 class G4VPhysicalVolume;
50 
52 {
53 public:
54 
55  //PassiveProtonBeamLine(G4VPhysicalVolume*);
58 
60 //***************************** PW **************NON SERVE*************************
61 
63 
64  //***************************** PW **************NON SERVE*************************
65 
67  // Definition of the beam line support
68 
70  // Definition of the first scattering foil,
71  // of the Kapton window, of the stopper
72 
74  // This defines the "range shifter". Is is a slab
75  // (usually of PMMA" acting as energy degrader
76  // of primary beam
77 
79  // Definition of the first collimator, of the range shifter,
80  // of the second collimator, of the first and second
81  // collimator modulators
82 
84  // Definition of three monitor chambers
85 
87  // Construct the MOPI on-line detector
88 
90  // Definition of the beam noozle
91 
93  // Definition of the final collimator
94 
95  // The following methods allow to change parameters
96  // of some beam line components
97 
99  // This method allows to move the Range Shifter along
100  // the X axis
101 
102  void SetRangeShifterXSize(G4double halfSize);
103  // This method allows to change the size of the range shifter along
104  // the X axis
105 
107  // This method allows to change the size of the first scattering foil
108  // along the X axis
109 
111  // This method allows to change the size of the second scattering foil
112  // along the X axis
113 
115  // This method allows to change the size of the outer radius of the stopper
116 
118  // This method allows to change the size of the inner radius of the
119  // final collimator
120 
121  void SetRSMaterial(G4String);
122  // This method allows to change the material
123  // of the range shifter
124 
125  void SetModulatorAngle(G4double angle);
126  // This method allows moving the modulator through UI commands
127 
128 
129 private:
130 
132 //passive proton line dimensions
133  void SetDefaultDimensions();
135 
136  HadrontherapyModulator* modulator; // Pointer to the modulator
137  // geometry component
141 
143 
148 
153 
158 
167 
174 
181 
182 
189 
193 
203 
206 
209 
210  // MOPI Detector
211  // Mother volume
215 
222 
223  // First Kapton layer
233 
234  // First Aluminum layer
244 
245  // First Air Gap
255 
256  // Cathode
266 
268 
269  // First Air Gap
279 
280  // First Aluminum layer
290 
291  // Second Kapton layer
301 
304 
320 
330 
356 
361 
362 
364 
365 
366 };
367 #endif
G4VPhysicalVolume * physiKaptonWindow
G4Material * MOPIFirstKaptonLayerMaterial
G4VPhysicalVolume * physiFirstMonitorLayer2
G4VPhysicalVolume * physiHoleFirstCollimator
G4VPhysicalVolume * physicalTreatmentRoom
G4VPhysicalVolume * physiFinalCollimator
PassiveProtonBeamLineMessenger * passiveMessenger
Definition: G4Box.hh:64
G4LogicalVolume * logicMOPICathode
void SetModulatorAngle(G4double angle)
G4VPhysicalVolume * physiFirstMonitorLayer1
HadrontherapyDetectorROGeometry * RO
Definition: G4Tubs.hh:85
static PassiveProtonBeamLine * instance
G4VPhysicalVolume * physiHoleSecondCollimator
static PassiveProtonBeamLine * GetInstance()
void SetSecondScatteringFoilXSize(G4double)
G4VPhysicalVolume * physiFirstScatteringFoil
G4VPhysicalVolume * physiFirstCollimator
G4Material * MOPISecondKaptonLayerMaterial
HadrontherapyDetectorConstruction * hadrontherapyDetectorConstruction
G4VPhysicalVolume * physiBeamLineCover2
G4VPhysicalVolume * physiSecondCollimator
G4Material * holeFirstCollimatorMaterial
G4Material * layer1MonitorChamberMaterial
G4VPhysicalVolume * physiSecondMonitorLayer2
G4VPhysicalVolume * physiSecondMonitorLayer4
G4VPhysicalVolume * physiFirstCollimatorModulatorBox
G4Material * MOPIFirstAluminumLayerMaterial
G4VPhysicalVolume * physiFirstMonitorLayer3
G4Material * layer4MonitorChamberMaterial
void SetRangeShifterXPosition(G4double value)
G4LogicalVolume * logicMOPIFirstAirGap
G4VPhysicalVolume * physiMOPIMotherVolume
void SetInnerRadiusFinalCollimator(G4double)
G4LogicalVolume * logicMOPIFirstKaptonLayer
G4VPhysicalVolume * physiHoleFirstCollimatorModulatorBox
G4VPhysicalVolume * physiBrassTube2
void SetFirstScatteringFoilXSize(G4double)
G4VPhysicalVolume * physiFirstMonitorLayer4
G4LogicalVolume * logicMOPISecondAluminumLayer
G4VPhysicalVolume * physiMOPISecondAirGap
void SetRangeShifterXSize(G4double halfSize)
G4VPhysicalVolume * physiNozzleSupport
G4VPhysicalVolume * physiBrassTube3
G4VPhysicalVolume * physiSecondMonitorLayer1
G4LogicalVolume * logicMOPISecondAirGap
G4VPhysicalVolume * physiSecondCollimatorModulatorBox
G4VPhysicalVolume * physiHoleNozzleSupport
G4Material * secondScatteringFoilMaterial
G4VPhysicalVolume * mother
G4LogicalVolume * logicMOPISecondKaptonLayer
G4LogicalVolume * logicMOPIMotherVolume
G4LogicalVolume * logicMOPIFirstAluminumLayer
G4VPhysicalVolume * physiMOPISecondKaptonLayer
G4VPhysicalVolume * physiMOPIFirstAluminumLayer
G4VPhysicalVolume * physiSecondScatteringFoil
G4VPhysicalVolume * physiMOPICathode
G4Material * layer2MonitorChamberMaterial
G4LogicalVolume * logicStopper
G4VPhysicalVolume * physiHoleSecondCollimatorModulatorBox
G4LogicalVolume * logicRangeShifterBox
G4VPhysicalVolume * physiStopper
G4VPhysicalVolume * physiMOPIFirstAirGap
HadrontherapyModulator * modulator
G4VPhysicalVolume * physiBeamLineSupport
G4VPhysicalVolume * Construct()
G4VPhysicalVolume * physiMOPIFirstKaptonLayer
double G4double
Definition: G4Types.hh:76
G4VPhysicalVolume * physiSecondMonitorLayer3
G4VPhysicalVolume * physiBrassTube
G4Material * firstScatteringFoilMaterial
G4VPhysicalVolume * physiRangeShifterBox
G4Material * MOPISecondAluminumLayerMaterial
G4Material * layer3MonitorChamberMaterial
G4VPhysicalVolume * physiMOPISecondAluminumLayer
G4VPhysicalVolume * physiBeamLineCover