00001 // 00002 // $Id: PrimaryGeneratorMessenger.cc 145 2008-08-17 21:36:59Z maire $ 00003 // 00004 // 00005 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00006 00007 #include "PrimaryGeneratorMessenger.hh" 00008 00009 #include "PrimaryGeneratorAction.hh" 00010 #include "G4UIdirectory.hh" 00011 00012 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00013 00014 PrimaryGeneratorMessenger::PrimaryGeneratorMessenger( 00015 PrimaryGeneratorAction* gun) 00016 :m_action(gun) 00017 { 00018 m_gunDir = new G4UIdirectory("/tutorial/gun/"); 00019 m_gunDir->SetGuidance("PrimaryGenerator control");} 00020 00021 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00022 00023 PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger() 00024 {} 00025 00026 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00027 00028 void PrimaryGeneratorMessenger::SetNewValue(G4UIcommand* /*command*/, 00029 G4String /*newValue*/) 00030 {} 00031 00032 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00033