00001 //---------------------------------------------------------------------------// 00002 // BOOST --- BESIII Object_Oriented Simulation Tool // 00003 //---------------------------------------------------------------------------// 00004 //Description: passing parameters to BesMdcDigitizer 00005 //Author: Yuan Ye 00006 //Created: May, 2005 00007 //Modified: 00008 //Comment: 00009 //---------------------------------------------------------------------------// 00010 00011 #ifndef BesMdcDigitizerMessenger_h 00012 #define BesMdcDigitizerMessenger_h 1 00013 00014 class BesMdcDigitizer; 00015 00016 class G4UIdirectory; 00017 class G4UIcmdWithAnInteger; 00018 class G4UIcmdWithADouble; 00019 class G4UIcommand; 00020 00021 #include "G4UImessenger.hh" 00022 #include "globals.hh" 00023 00024 class BesMdcDigitizerMessenger: public G4UImessenger 00025 { 00026 public: 00027 BesMdcDigitizerMessenger(BesMdcDigitizer* ); 00028 ~BesMdcDigitizerMessenger(); 00029 00030 public: 00031 void SetNewValue(G4UIcommand * command,G4String newValues); 00032 00033 private: 00034 BesMdcDigitizer * mdcDigitizer; 00035 G4UIdirectory * noiseDirectory; 00036 G4UIcmdWithAnInteger * noiseFlag; 00037 G4UIcmdWithAnInteger * noiseType; 00038 G4UIcmdWithADouble * noiseLevel; 00039 00040 G4UIdirectory * digiDirectory; 00041 G4UIcmdWithAnInteger * smearFlag; 00042 G4UIcmdWithADouble * mdcDRes; 00043 00044 G4UIdirectory * effDirectory; 00045 G4UIcmdWithAnInteger * effFlag; 00046 G4UIcommand * layerEff; 00047 }; 00048 00049 #endif 00050 00051 00052 00053 00054