|
||||
File indexing completed on 2025-01-31 09:22:16
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // This is the *BASIC* version of Hadrontherapy, a Geant4-based application 0027 // See more at: http://g4advancedexamples.lngs.infn.it/Examples/hadrontherapy 0028 // 0029 // Visit the Hadrontherapy web site (http://www.lns.infn.it/link/Hadrontherapy) to request 0030 // the *COMPLETE* version of this program, together with its documentation; 0031 // Hadrontherapy (both basic and full version) are supported by the Italian INFN 0032 // Institute in the framework of the MC-INFN Group 0033 // 0034 0035 #ifndef HadrontherapyModulatorMessenger_h 0036 #define HadrontherapyModulatorMessenger_h 1 0037 0038 #include "globals.hh" 0039 #include "G4UImessenger.hh" 0040 0041 class HadrontherapyModulator; 0042 class G4UIdirectory; 0043 class G4UIcmdWithADoubleAndUnit; 0044 class G4UIcmdWithAString; 0045 class G4UIcmdWith3VectorAndUnit; 0046 0047 class HadrontherapyModulatorMessenger: public G4UImessenger 0048 { 0049 public: 0050 HadrontherapyModulatorMessenger(HadrontherapyModulator*); 0051 ~HadrontherapyModulatorMessenger(); 0052 0053 void SetNewValue(G4UIcommand*, G4String); 0054 0055 private: 0056 0057 // Pointer to the modulator wheel 0058 HadrontherapyModulator* Modulator; 0059 0060 G4UIdirectory* modulatorDir; // Control of the modulator 0061 0062 G4UIcmdWithADoubleAndUnit* modulatorAngleCmd; 0063 // UI command to rotate the modulator wheel 0064 0065 G4UIcmdWithAString* modulatorMatCmd; 0066 // UI command to set the material of the modulator wheel 0067 0068 G4UIcmdWithAString* modulatorExternalFile; 0069 // UI command to set an external file for inputing modulator properties 0070 0071 G4UIcmdWith3VectorAndUnit* modulatorPositionCmd; 0072 // UI command to change the position of the modulator in the the beam line 0073 0074 0075 G4UIcmdWithADoubleAndUnit* modulatorOuterRadiusCmd; 0076 // UI command to set the outer radius of the modulator wheel 0077 0078 G4UIcmdWithADoubleAndUnit* modulatorInnerRadiusCmd; 0079 // UI command to set the inner radius of the modulator wheel 0080 }; 0081 #endif 0082
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |