source: trunk/examples/advanced/hadrontherapy/include/PassiveProtonBeamLineMessenger.hh@ 1305

Last change on this file since 1305 was 1230, checked in by garnier, 16 years ago

update to geant4.9.3

  • Property svn:executable set to *
File size: 4.2 KB
Line 
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// HadrontherapyDetectorMessenger.hh;
27// See more at: http://g4advancedexamples.lngs.infn.it/Examples/hadrontherapy
28
29#ifndef HadrontherapyDetectorMessenger_h
30#define HadrontherapyDetectorMessenger_h 1
31
32#include "globals.hh"
33#include "G4UImessenger.hh"
34
35class PassiveProtonBeamLine;
36class G4UIdirectory;
37class G4UIcmdWithADoubleAndUnit;
38class G4UIcmdWithAString;
39
40class PassiveProtonBeamLineMessenger: public G4UImessenger
41{
42 public:
43 PassiveProtonBeamLineMessenger(PassiveProtonBeamLine*);
44 ~PassiveProtonBeamLineMessenger();
45
46 void SetNewValue(G4UIcommand*, G4String);
47
48private:
49
50 // Pointer to the detector component
51 PassiveProtonBeamLine* passiveProton;
52
53 G4UIdirectory* changeTheBeamLineDir;
54 G4UIcmdWithAString* changeTheBeamLineNameCmd; // Control the name of the beam line
55
56 G4UIdirectory* modulatorDir; // Control of the modulator
57 G4UIdirectory* beamLineDir; // Control of the beam line
58
59 G4UIdirectory* rangeShifterDir;
60 // Control of the range shifter component of the beam line
61
62 G4UIdirectory* firstScatteringFoilDir;
63 // Control of the first scattering foil component of the beam line
64
65 G4UIdirectory* secondScatteringFoilDir;
66 // Control of the first scattering foil component of the beam line
67
68 G4UIdirectory* rangeStopperDir;
69 // Control of the range stopper component of the beam line
70
71 G4UIdirectory* finalCollimatorDir;
72 // Control of the final collimator component of the beam line
73
74 G4UIcmdWithADoubleAndUnit* modulatorAngleCmd;
75 // UI command to rotate the modulator wheel
76
77 G4UIcmdWithAString* rangeShifterMatCmd;
78 // UI command to set the material of the rangeShifter component of
79 // the beam line
80
81 G4UIcmdWithADoubleAndUnit* rangeShifterXSizeCmd;
82 // UI command to set half of the X size of the rangeShifter component of
83 // the beam line
84
85 G4UIcmdWithADoubleAndUnit* rangeShifterXPositionCmd;
86 // UI command to change the X position of the rangeShifter component of
87 // the beam line
88
89 G4UIcmdWithADoubleAndUnit* firstScatteringFoilXSizeCmd;
90 // UI command to set half X size of the first scattering foil of
91 // the beam line
92
93 G4UIcmdWithADoubleAndUnit* secondScatteringFoilXSizeCmd;
94 // UI command to set half X size of the second scattering foil
95 // the beam line
96
97 G4UIcmdWithADoubleAndUnit* outerRadiusStopperCmd;
98 // UI command to set the outer radius of the range stopper component of
99 // the beam line
100
101 G4UIcmdWithADoubleAndUnit* innerRadiusFinalCollimatorCmd;
102 // UI command to set the inner radius of the final collimator component of
103 // the beam line
104};
105#endif
106
Note: See TracBrowser for help on using the repository browser.