Geant4 Cross Reference |
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 /// \file SAXSDetectorConstructionMessenger.hh 27 /// \brief Implementation of the SAXSDetectorConstructionMessenger class 28 // 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 30 31 #ifndef SAXSDetectorConstructionMessenger_h 32 #define SAXSDetectorConstructionMessenger_h 1 33 34 #include "G4UImessenger.hh" 35 #include "globals.hh" 36 37 class SAXSDetectorConstruction; 38 39 class G4UIdirectory; 40 class G4UIcmdWithADoubleAndUnit; 41 class G4UIcmdWithAnInteger; 42 class G4UIcmdWithADouble; 43 class G4UIcmdWithABool; 44 class G4UIcmdWith3VectorAndUnit; 45 class G4UIcmdWithAString; 46 47 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 48 49 /// DetectorConstruction messenger. 50 51 class SAXSDetectorConstructionMessenger : public G4UImessenger 52 { 53 public: 54 SAXSDetectorConstructionMessenger(SAXSDetectorConstruction* detconstr); 55 ~SAXSDetectorConstructionMessenger(); 56 57 virtual void SetNewValue(G4UIcommand* command, G4String newValues); 58 59 private: 60 SAXSDetectorConstruction* fDetector; 61 62 G4UIdirectory* fCmdDir; 63 64 G4UIcmdWithAString* fSetCustomMatFFfilename; 65 G4UIcmdWithADouble* fSetCustomMatDensityCmd; 66 G4UIcmdWithADouble* fSetCustomMatHmassfractCmd; 67 G4UIcmdWithADouble* fSetCustomMatCmassfractCmd; 68 G4UIcmdWithADouble* fSetCustomMatNmassfractCmd; 69 G4UIcmdWithADouble* fSetCustomMatOmassfractCmd; 70 G4UIcmdWithADouble* fSetCustomMatNamassfractCmd; 71 G4UIcmdWithADouble* fSetCustomMatPmassfractCmd; 72 G4UIcmdWithADouble* fSetCustomMatSmassfractCmd; 73 G4UIcmdWithADouble* fSetCustomMatClmassfractCmd; 74 G4UIcmdWithADouble* fSetCustomMatKmassfractCmd; 75 G4UIcmdWithADouble* fSetCustomMatCamassfractCmd; 76 77 G4UIcmdWithAnInteger* fPhantomMaterialCmd; 78 G4UIcmdWithADoubleAndUnit* fPhantomDiameterCmd; 79 G4UIcmdWithADoubleAndUnit* fPhantomHeightCmd; 80 G4UIcmdWithADoubleAndUnit* fPhantomZCmd; 81 82 G4UIcmdWithADouble* fSetComp0Cmd; 83 G4UIcmdWithADouble* fSetComp1Cmd; 84 G4UIcmdWithADouble* fSetComp2Cmd; 85 G4UIcmdWithADouble* fSetComp3Cmd; 86 87 G4UIcmdWithADouble* fThetaSetupCmd; 88 89 G4UIcmdWithABool* fSetSlitsCmd; 90 G4UIcmdWithADoubleAndUnit* fSlit1ThicknessCmd; 91 G4UIcmdWithADoubleAndUnit* fSlit2ThicknessCmd; 92 G4UIcmdWithADoubleAndUnit* fSlit3ThicknessCmd; 93 G4UIcmdWithADoubleAndUnit* fSlit4ThicknessCmd; 94 G4UIcmdWithADoubleAndUnit* fSlit1DistanceCmd; 95 G4UIcmdWithADoubleAndUnit* fSlit2DistanceCmd; 96 G4UIcmdWithADoubleAndUnit* fSlit3DistanceCmd; 97 G4UIcmdWithADoubleAndUnit* fSlit4DistanceCmd; 98 G4UIcmdWithADoubleAndUnit* fSlit1xApertureCmd; 99 G4UIcmdWithADoubleAndUnit* fSlit2xApertureCmd; 100 G4UIcmdWithADoubleAndUnit* fSlit3xApertureCmd; 101 G4UIcmdWithADoubleAndUnit* fSlit4xApertureCmd; 102 G4UIcmdWithADoubleAndUnit* fSlit1yApertureCmd; 103 G4UIcmdWithADoubleAndUnit* fSlit2yApertureCmd; 104 G4UIcmdWithADoubleAndUnit* fSlit3yApertureCmd; 105 G4UIcmdWithADoubleAndUnit* fSlit4yApertureCmd; 106 107 G4UIcmdWithADoubleAndUnit* fDetectorThicknessCmd; 108 G4UIcmdWithADoubleAndUnit* fDetectorSizeCmd; 109 G4UIcmdWithADoubleAndUnit* fDetectorDistanceCmd; 110 }; 111 112 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 113 114 #endif 115