37#include "G4UIdirectory.hh"
38#include "G4UIcmdWithADoubleAndUnit.hh"
39#include "G4UIcmdWithAString.hh"
52 fFieldCommand->SetGuidance(
"Define uniform magnetic field along Z." );
57 fFieldCommand->AvailableForStates( G4State_PreInit, G4State_Idle );
62 fGDMLCommand->AvailableForStates( G4State_PreInit, G4State_Idle );
85 G4cerr <<
"VG01DetectorMessenger: ERROR> Unknown command " << G4endl;
Definition of the VG01DetectorConstruction class.
Implementation of the VG01DetectorMessenger class.
void SetMagFieldValue(const G4double fieldValue)
void SetGDMLFileName(const G4String &gdmlfile)
VG01DetectorConstruction * fDetector
G4UIdirectory * fDetectorDir
VG01DetectorMessenger(VG01DetectorConstruction *)
G4UIcmdWithADoubleAndUnit * fFieldCommand
void SetNewValue(G4UIcommand *, G4String) override
G4UIcmdWithAString * fGDMLCommand