//bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// // // // // // MaGe Simulation // // // // This code implementation is the intellectual property of the // // MAJORANA and Gerda Collaborations. It is based on Geant4, an // // intellectual property of the RD44 GEANT4 collaboration. // // // // ********************* // // // // Neither the authors of this software system, nor their employing // // institutes, nor the agencies providing financial support for this // // work make any representation or warranty, express or implied, // // regarding this software system or assume any liability for its use. // // By copying, distributing or modifying the Program (or any work based // // on on the Program) you indicate your acceptance of this statement, // // and all its terms. // // // //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// //---------------------------------------------------------------------------// /** * AUTHOR: Matthias Laubenstein * CONTACT: * FIRST SUBMISSION: * * REVISION: * 03-08-2010, Added in MaGe, Luciano */ // --------------------------------------------------------------------------- #ifndef _MGEMIDETECTORMESSENGER_HH #define _MGEMIDETECTORMESSENGER_HH // --------------------------------------------------------------------------- #include "globals.hh" #include "G4UImessenger.hh" // --------------------------------------------------------------------------- class B1DetectorConstruction; class G4UIdirectory; class G4UIcmdWithAString; class G4UIcmdWithADoubleAndUnit; class G4UIcmdWithADouble; class MGEMIDetectorMessenger : public G4UImessenger { public: //default constructor //MGEMIDetectorMessenger(MGEMIDetector*); MGEMIDetectorMessenger(B1DetectorConstruction* ); // destructor ~MGEMIDetectorMessenger(); // methods void SetNewValue(G4UIcommand *cmd, G4String newvalue); private: B1DetectorConstruction* fDetectorPointer; G4UIdirectory* fDetectorDir; G4UIcmdWithAString* fSampleMaterialCmd; }; // --------------------------------------------------------------------------- #endif