Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // 27 /// \file medical/GammaTherapy/include/Primary 28 /// \brief Definition of the PrimaryGeneratorM 29 // 30 #ifndef PrimaryGeneratorMessenger_h 31 #define PrimaryGeneratorMessenger_h 1 32 33 //-------------------------------------------- 34 // 35 // ClassName: PrimaryGeneratorAction 36 // 37 // Description: Definition of physics list par 38 // 39 // Author: V.Ivanchenko 26/09/00 40 // 41 //-------------------------------------------- 42 // 43 44 //....oooOO0OOooo........oooOO0OOooo........oo 45 //....oooOO0OOooo........oooOO0OOooo........oo 46 47 #include "G4UIcmdWithADouble.hh" 48 #include "G4UIcmdWithADoubleAndUnit.hh" 49 #include "G4UIcmdWithAString.hh" 50 #include "G4UIcmdWithAnInteger.hh" 51 #include "G4UImessenger.hh" 52 #include "globals.hh" 53 54 //....oooOO0OOooo........oooOO0OOooo........oo 55 56 class PrimaryGeneratorAction; 57 58 class PrimaryGeneratorMessenger : public G4UIm 59 { 60 public: 61 PrimaryGeneratorMessenger(PrimaryGenerator 62 virtual ~PrimaryGeneratorMessenger(); 63 64 void SetNewValue(G4UIcommand* command, G4S 65 66 private: 67 PrimaryGeneratorMessenger& operator=(const 68 PrimaryGeneratorMessenger(const PrimaryGen 69 70 PrimaryGeneratorAction* fGen; 71 G4bool fVerbose; 72 73 G4UIcmdWithADoubleAndUnit* fBeamXCmd; 74 G4UIcmdWithADoubleAndUnit* fBeamYCmd; 75 G4UIcmdWithADoubleAndUnit* fBeamZCmd; 76 G4UIcmdWithADoubleAndUnit* fBeamECmd; 77 G4UIcmdWithADoubleAndUnit* fSigmaXCmd; 78 G4UIcmdWithADoubleAndUnit* fSigmaYCmd; 79 G4UIcmdWithADoubleAndUnit* fSigmaZCmd; 80 G4UIcmdWithADoubleAndUnit* fSigmaECmd; 81 82 G4UIcmdWithAString* fRandCmd; 83 G4UIcmdWithADoubleAndUnit* fMaxThetaCmd; 84 G4UIcmdWithADoubleAndUnit* fThetaCmd; 85 }; 86 87 #endif 88