|
|
|||
File indexing completed on 2026-04-17 07:51:37
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 // Author: M.A. Cortes-Giraldo, Universidad de Sevilla 0027 // 0028 // History changelog prior creation of this example: 0029 // - 17/10/2009: version 1.0 0030 // - 20/11/2009: version 1.1 before publishing: 0031 // - Changed some names by more suitable ones 0032 // - 02/08/2010: version 1.2-dev: 0033 // - Added possibility of applying axial symmetries 0034 // - 14/09/2023: version 2.0 0035 // - Following Geant4 coding guidelines 0036 // - 18/10/2025: version 3.0 0037 // - Creation of IAEASourceIdRegistry for thread-safe source_id assignation 0038 // 0039 0040 #ifndef G4IAEAphspReaderMessenger_h 0041 #define G4IAEAphspReaderMessenger_h 1 0042 0043 #include "globals.hh" 0044 #include "G4UImessenger.hh" 0045 0046 class G4IAEAphspReader; 0047 0048 class G4UIcmdWith3Vector; 0049 class G4UIcmdWith3VectorAndUnit; 0050 class G4UIcmdWithABool; 0051 class G4UIcmdWithADoubleAndUnit; 0052 class G4UIcmdWithAnInteger; 0053 class G4UIcommand; 0054 class G4UIdirectory; 0055 0056 class G4IAEAphspReaderMessenger: public G4UImessenger 0057 { 0058 public: 0059 G4IAEAphspReaderMessenger(G4IAEAphspReader* ); 0060 ~G4IAEAphspReaderMessenger() override; 0061 0062 void SetNewValue(G4UIcommand*, G4String) override; 0063 0064 private: 0065 0066 G4IAEAphspReader* fIAEAphspReader; 0067 // Pointer to the IAEA phase-space reader. 0068 0069 G4UIdirectory* fPhaseSpaceDir; 0070 // Control of the phase space 0071 0072 G4UIcmdWithAnInteger* fVerboseCmd; 0073 // UI command for verbosity level. 0074 0075 G4UIcmdWithAnInteger* fNofParallelRunsCmd; 0076 // UI command to define the number of fragments defined in the file. 0077 0078 G4UIcmdWithAnInteger* fParallelRunCmd; 0079 // UI command to choose the specific fragment where the particles are 0080 // taken from. 0081 0082 G4UIcmdWithAnInteger* fTimesRecycledCmd; 0083 // UI command to set the number of times each particle is recycled 0084 // (not repeated). 0085 0086 G4UIcmdWith3VectorAndUnit* fPhspGlobalTranslationCmd; 0087 // UI command to set the three-vector to move the phase-space plane globally. 0088 0089 G4UIcmdWithAnInteger* fPhspRotationOrderCmd; 0090 // UI command to set the order in which the rotations are performed. 0091 0092 G4UIcmdWithADoubleAndUnit* fRotXCmd; 0093 // UI command to set the rotation angle around X axis. 0094 0095 G4UIcmdWithADoubleAndUnit* fRotYCmd; 0096 // UI command to set the rotation angle around Y axis. 0097 0098 G4UIcmdWithADoubleAndUnit* fRotZCmd; 0099 // UI command to set the rotation angle around Z axis. 0100 0101 G4UIcmdWith3VectorAndUnit* fIsocenterPosCmd; 0102 // UI command to set where the isocenter is. 0103 0104 G4UIcmdWith3Vector* fCollimatorRotAxisCmd; 0105 // UI command to set the rotation axis of the collimator. 0106 0107 G4UIcmdWithADoubleAndUnit* fCollimatorAngleCmd; 0108 // UI command to set the rotation angle of the treatment head. 0109 0110 G4UIcmdWith3Vector* fGantryRotAxisCmd; 0111 // UI command to set the rotation axis of the gantry. 0112 0113 G4UIcmdWithADoubleAndUnit* fGantryAngleCmd; 0114 // UI command to set the rotation angle of the gantry. 0115 0116 G4UIcmdWithABool* fAxialSymmetryXCmd; 0117 // UI command to turn on/off the rotational symmetry around X. 0118 0119 G4UIcmdWithABool* fAxialSymmetryYCmd; 0120 // UI command to turn on/off the rotational symmetry around Y. 0121 0122 G4UIcmdWithABool* fAxialSymmetryZCmd; 0123 // UI command to turn on/off the rotational symmetry around Z. 0124 }; 0125 #endif 0126
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|