#include <HistoMessenger.hh>
Definition at line 51 of file HistoMessenger.hh.
Definition at line 48 of file HistoMessenger.cc.
59 fFileNameCmd->
SetGuidance(
"set name for the histograms file");
61 fHistoCmd =
new G4UIcommand(
"/testem/histo/setHisto",
this);
62 fHistoCmd->
SetGuidance(
"Set bining of the histo number ih :");
63 fHistoCmd->
SetGuidance(
" nbBins; valMin; valMax; unit (of vmin and vmax)");
66 ih->
SetGuidance(
"histo number : from 1 to kMaxHisto");
84 unit->
SetGuidance(
"if omitted, vmin and vmax are assumed dimensionless");
89 fPrtHistoCmd->
SetGuidance(
"print histo #id on ascii file");
void SetParameter(G4UIparameter *const newParameter)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterRange(const char *theRange)
void SetDefaultValue(const char *theDefaultValue)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void SetGuidance(const char *theGuidance)
HistoMessenger::~HistoMessenger |
( |
| ) |
|
HistoMessenger::HistoMessenger |
( |
Histo * |
hist | ) |
|
Definition at line 46 of file HistoMessenger.cc.
57 fFactoryCmd->
SetGuidance(
"set name for the histograms file");
60 fFileCmd->
SetGuidance(
"set type (hbook, XML) for the histograms file");
62 fHistoCmd =
new G4UIcommand(
"/testem/histo/setHisto",
this);
63 fHistoCmd->
SetGuidance(
"Set bining of the histo number ih :");
64 fHistoCmd->
SetGuidance(
" nbBins; valMin; valMax; unit (of vmin and vmax)");
67 ih->
SetGuidance(
"histo number : from 0 to MaxHisto-1");
84 unit->
SetGuidance(
"if omitted, vmin and vmax are assumed dimensionless");
void SetParameter(G4UIparameter *const newParameter)
void SetParameterRange(const char *theRange)
void SetDefaultValue(const char *theDefaultValue)
void SetGuidance(const char *aGuidance)
void SetGuidance(const char *theGuidance)
virtual HistoMessenger::~HistoMessenger |
( |
| ) |
|
|
virtual |
HistoMessenger::HistoMessenger |
( |
Histo * |
| ) |
|
HistoMessenger::~HistoMessenger |
( |
| ) |
|
HistoMessenger::HistoMessenger |
( |
Histo * |
| ) |
|
virtual HistoMessenger::~HistoMessenger |
( |
| ) |
|
|
virtual |
HistoMessenger::HistoMessenger |
( |
Histo * |
| ) |
|
virtual HistoMessenger::~HistoMessenger |
( |
| ) |
|
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 106 of file HistoMessenger.cc.
108 if (command == fFileNameCmd)
111 if (command == fHistoCmd)
113 const char* t = newValues;
114 std::istringstream is(t);
115 is >> ih >> nbBins >> vmin >> vmax >> unit;
116 fHistoManager->
SetHisto (ih,nbBins,vmin,vmax,unit);
119 if (command == fPrtHistoCmd)
static G4int GetNewIntValue(const char *paramString)
void SetHisto(G4int, G4int, G4double, G4double, const G4String &unit="none")
void SetFileName(const G4String &name)
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/examples/extended/electromagnetic/TestEm17/include/HistoMessenger.hh
- source/geant4.10.03.p03/examples/extended/electromagnetic/TestEm9/include/HistoMessenger.hh
- source/geant4.10.03.p03/examples/extended/exoticphysics/monopole/include/HistoMessenger.hh
- source/geant4.10.03.p03/examples/extended/hadronic/Hadr01/include/HistoMessenger.hh
- source/geant4.10.03.p03/examples/extended/hadronic/Hadr02/include/HistoMessenger.hh
- source/geant4.10.03.p03/examples/extended/electromagnetic/TestEm17/src/HistoMessenger.cc
- source/geant4.10.03.p03/examples/extended/electromagnetic/TestEm9/src/HistoMessenger.cc
- source/geant4.10.03.p03/examples/extended/exoticphysics/monopole/src/HistoMessenger.cc
- source/geant4.10.03.p03/examples/extended/hadronic/Hadr01/src/HistoMessenger.cc
- source/geant4.10.03.p03/examples/extended/hadronic/Hadr02/src/HistoMessenger.cc