57 fActoryCmd->
SetGuidance(
"set name for the histograms file");
61 fIleCmd->
SetGuidance(
"set type (aida, hbook or root) for the histograms file");
64 fHistoCmd =
new G4UIcommand(
"/histo/setHisto",
this);
65 fHistoCmd->
SetGuidance(
"Set bining of the fHisto number ih :");
66 fHistoCmd->
SetGuidance(
" nbBins; valMin; valMax; unit (of vmin and vmax)");
71 ih->
SetGuidance(
"fHisto number : from 0 to MaxexrdmHisto");
89 unit->
SetGuidance(
"if omitted, vmin and vmax are assumed dimensionless");
110 if (command == fActoryCmd)
113 if (command == fIleCmd)
116 if (command == fHistoCmd)
118 const char* t = newValues;
119 std::istringstream is(t);
120 is >> ih >> nbBins >> vmin >> vmax >> unts;
124 fHisto->
SetHisto1D(ih,nbBins,vmin,vmax,vUnit);
void SetParameter(G4UIparameter *const newParameter)
virtual ~exrdmHistoMessenger()
Definition of the exrdmHisto class.
void SetParameterRange(const char *theRange)
void SetFileType(const G4String &)
void SetDefaultValue(const char *theDefaultValue)
Definition of the exrdmHistoMessenger class.
void SetHisto1D(G4int, G4int, G4double, G4double, G4double)
void SetFileName(const G4String &)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
static G4double ValueOf(const char *unitName)
exrdmHistoMessenger(exrdmHisto *)
virtual void SetNewValue(G4UIcommand *, G4String)
void SetGuidance(const char *theGuidance)