Geant4  10.01.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;
47 //class FaradayCup;
51 
53 {
54 public:
55 
56  //PassiveProtonBeamLine(G4VPhysicalVolume*);
59  // static G4bool doCalculation;
60 
62  //***************************** PW **************NON SERVE*************************
63 
65 
66  //***************************** PW **************NON SERVE*************************
67 
69  // Definition of the beam line support
70 
72  // Definition of the first scattering foil,
73  // of the Kapton window, of the stopper
74 
76  // This defines the "range shifter". Is is a slab
77  // (usually of PMMA" acting as energy degrader
78  // of primary beam
79 
81  // Definition of the first collimator, of the range shifter,
82  // of the second collimator, of the first and second
83  // collimator modulators
84 
86  // Definition of three monitor chambers
87 
89  // Construct the MOPI on-line detector
90 
92  // Definition of the beam noozle
93 
95  // Definition of the final collimator
96 
97  // The following methods allow to change parameters
98  // of some beam line components
99 
101  // This method allows to move the Range Shifter along
102  // the X axis
103 
104  void SetRangeShifterXSize(G4double halfSize);
105  // This method allows to change the size of the range shifter along
106  // the X axis
107 
109  // This method allows to change the size of the first scattering foil
110  // along the X axis
111 
113  // This method allows to change the size of the second scattering foil
114  // along the X axis
115 
117  // This method allows to change the size of the outer radius of the stopper
118 
120  // This method allows to change the size of the inner radius of the
121  // final collimator
122 
123  void SetRSMaterial(G4String);
124  // This method allows to change the material
125  // of the range shifter
126 
127  void SetModulatorAngle(G4double angle);
128  // This method allows moving the modulator through UI commands
129 
130 
131 private:
133  //passive proton line dimensions
134  void SetDefaultDimensions();
136 
137  HadrontherapyModulator* modulator; // Pointer to the modulator
138  // geometry component
142 
143  // Pointer to the Faraday Cup class file
144  // FaradayCup *pFaradayCup;
145 
147 
152 
157 
162 
171 
178 
185 
186 
193 
197 
207 
210 
213 
214  // MOPI Detector
215  // Mother volume
219 
226 
227  // First Kapton layer
237 
238  // First Aluminum layer
248 
249  // First Air Gap
259 
260  // Cathode
270 
272 
273  // First Air Gap
283 
284  // First Aluminum layer
294 
295  // Second Kapton layer
305 
308 
324 
334 
360 
365 
366 
368 
369 
370 };
371 #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