00001 // **************************************************** 00002 // * * 00003 // * MollerDetectorMessenger to change values of * 00004 // * collimator positions/sizes. Temporary solution; * 00005 // * I intend to have a general geometry readin if we * 00006 // * don't move to GEMC soon. * 00007 // * * 00008 // * Added 3-21-2011 by Juliette Mammei * 00009 // * * 00010 // **************************************************** 00011 00012 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00013 00014 #ifndef MollerDetectorMessenger_h 00015 #define MollerDetectorMessenger_h 1 00016 00017 #include "G4UImessenger.hh" 00018 #include "globals.hh" 00019 00020 class MollerDetectorConstruction; 00021 class G4UIdirectory; 00022 class G4UIcmdWithAString; 00023 class G4UIcmdWithADoubleAndUnit; 00024 class G4UIcmdWithAnInteger; 00025 class G4UIcmdWithABool; 00026 00027 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00028 00029 class MollerDetectorMessenger: public G4UImessenger 00030 { 00031 public: 00032 MollerDetectorMessenger(MollerDetectorConstruction*); 00033 virtual ~MollerDetectorMessenger(); 00034 00035 void SetNewValue(G4UIcommand*, G4String); 00036 00037 private: 00038 MollerDetectorConstruction* myDetector; 00039 G4UIdirectory* detDir; 00040 00041 G4UIcmdWithADoubleAndUnit* TargLengthCmd; 00042 G4UIcmdWithAString* DetGeomFileCmd; 00043 G4UIcmdWithAString* CollimGeomFileCmd; 00044 G4UIcmdWithAString* WriteGeomFileCmd; 00045 G4UIcmdWithABool* ReadGeomFileCmd; 00046 G4UIcmdWithAnInteger* NumCollCmd; 00047 00048 }; 00049 00050 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00051 00052 #endif 00053