#include <HistoMessenger.hh>
|
| HistoMessenger (HistoManager *) |
|
| ~HistoMessenger () |
|
void | SetNewValue (G4UIcommand *, G4String) |
|
| HistoMessenger (HistoManager *) |
|
| ~HistoMessenger () |
|
virtual void | SetNewValue (G4UIcommand *, G4String) |
|
| HistoMessenger (Histo *) |
|
| ~HistoMessenger () |
|
virtual void | SetNewValue (G4UIcommand *, G4String) |
|
| HistoMessenger (Histo *) |
|
virtual | ~HistoMessenger () |
|
virtual void | SetNewValue (G4UIcommand *, G4String) |
|
| HistoMessenger (Histo *) |
|
| ~HistoMessenger () |
|
virtual void | SetNewValue (G4UIcommand *, G4String) |
|
| HistoMessenger (Histo *) |
|
virtual | ~HistoMessenger () |
|
virtual void | SetNewValue (G4UIcommand *, G4String) |
|
| HistoMessenger (Histo *) |
|
virtual | ~HistoMessenger () |
|
virtual void | SetNewValue (G4UIcommand *, G4String) |
|
| HistoMessenger (HistoManager *) |
|
| ~HistoMessenger () |
|
void | SetNewValue (G4UIcommand *, G4String) |
|
| G4UImessenger () |
|
| G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) |
|
virtual | ~G4UImessenger () |
|
virtual G4String | GetCurrentValue (G4UIcommand *command) |
|
G4bool | operator== (const G4UImessenger &messenger) const |
|
Definition at line 44 of file advanced/amsEcal/src/HistoMessenger.cc.
References G4UIcmdWithAString::SetCandidates(), G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), G4UIcmdWithAnInteger::SetParameterName(), G4UIparameter::SetParameterRange(), and G4UIcommand::SetRange().
45 :histoManager (manager)
51 factoryCmd->
SetGuidance(
"set name for the histograms file");
54 typeCmd->
SetGuidance(
"set histograms file type: hbook, root, XML");
58 optionCmd->
SetGuidance(
"set option for the histograms file");
60 histoCmd =
new G4UIcommand(
"/ams/histo/setHisto",
this);
61 histoCmd->
SetGuidance(
"Set bining of the histo number ih :");
62 histoCmd->
SetGuidance(
" nbBins; valMin; valMax; unit (of vmin and vmax)");
65 ih->
SetGuidance(
"histo number : from 1 to MaxHisto-1");
75 valMin->
SetGuidance(
"valMin, expressed in choosen unit");
79 valMax->
SetGuidance(
"valMax, expressed in choosen unit");
83 unit->
SetGuidance(
"if omitted, vmin and vmax are assumed dimensionless");
88 prhistoCmd->
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 SetCandidates(const char *candidateList)
void SetGuidance(const char *theGuidance)
HistoMessenger::~HistoMessenger |
( |
| ) |
|
HistoMessenger::~HistoMessenger |
( |
| ) |
|
HistoMessenger::HistoMessenger |
( |
Histo * |
hist | ) |
|
HistoMessenger::~HistoMessenger |
( |
| ) |
|
HistoMessenger::HistoMessenger |
( |
Histo * |
| ) |
|
virtual HistoMessenger::~HistoMessenger |
( |
| ) |
|
|
virtual |
HistoMessenger::HistoMessenger |
( |
Histo * |
| ) |
|
HistoMessenger::~HistoMessenger |
( |
| ) |
|
HistoMessenger::HistoMessenger |
( |
Histo * |
| ) |
|
virtual HistoMessenger::~HistoMessenger |
( |
| ) |
|
|
virtual |
HistoMessenger::HistoMessenger |
( |
Histo * |
| ) |
|
virtual HistoMessenger::~HistoMessenger |
( |
| ) |
|
|
virtual |
HistoMessenger::~HistoMessenger |
( |
| ) |
|
Reimplemented from G4UImessenger.
Definition at line 119 of file advanced/amsEcal/src/HistoMessenger.cc.
References G4UIcmdWithAnInteger::GetNewIntValue(), HistoManager::PrintHisto(), HistoManager::RemoveHisto(), HistoManager::SetFileName(), HistoManager::SetFileOption(), HistoManager::SetFileType(), HistoManager::SetHisto(), HistoManager::SetNtuple(), and G4UIcommand::ValueOf().
121 if (command == factoryCmd)
124 if (command == typeCmd)
127 if (command == optionCmd)
130 if (command == histoCmd)
132 std::istringstream is(newValues);
134 is >> ih >> nbBins >> vmin >> vmax >> unts;
138 histoManager->
SetHisto (ih,nbBins,vmin*vUnit,vmax*vUnit,unit);
141 if (command == prhistoCmd)
144 if (command == rmhistoCmd)
147 if (command == ntuplCmd)
static G4int GetNewIntValue(const char *paramString)
void SetFileType(const G4String &name)
void SetHisto(G4int, G4int, G4double, G4double, const G4String &unit="none")
static G4double ValueOf(const char *unitName)
void SetFileOption(const G4String &name)
void SetFileName(const G4String &name)
The documentation for this class was generated from the following files: