#include <G4AnalysisMessengerHelper.hh>
  
  
      
        
          | G4AnalysisMessengerHelper::G4AnalysisMessengerHelper  | 
          ( | 
          const G4String &  | 
          hnType | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
      
        
          | G4AnalysisMessengerHelper::~G4AnalysisMessengerHelper  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | std::unique_ptr< G4UIdirectory > G4AnalysisMessengerHelper::CreateHnDirectory  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
Definition at line 265 of file G4AnalysisMessengerHelper.cc.
  269   parId->SetGuidance(Update(
"OBJECT id"));
 
  270   parId->SetParameterRange(
"id>=0");
 
  273   parAxis->SetGuidance(Update(
"Histogram AXIS-axis title", axis));
 
  274   parAxis->SetDefaultValue(
"none");
 
  276   std::unique_ptr<G4UIcommand> command( 
 
  277     new G4UIcommand(Update(
"/analysis/HNTYPE_/setUAXISaxis", axis), messenger));
 
  278   command->SetGuidance(Update(
"Set AXIS-axis title for the NDIM_D LOBJECT of given id", axis));
 
  279   command->SetParameter(parId);
 
  280   command->SetParameter(parAxis);
 
 
 
 
Definition at line 166 of file G4AnalysisMessengerHelper.cc.
  170   parId->SetGuidance(Update( 
"OBJECT id"));
 
  171   parId->SetParameterRange(
"id>=0");
 
  174   parNbins->SetGuidance(
"Number of bins");
 
  177   parValMin->SetGuidance(
"Minimum value, expressed in unit");
 
  180   parValMax->SetGuidance(
"Maximum value, expressed in unit");
 
  183   parValUnit->SetGuidance(
"The unit applied to filled values and valMin, valMax");
 
  184   parValUnit->SetDefaultValue(
"none");
 
  187   parValFcn->SetParameterCandidates(
"log log10 exp none");
 
  188   G4String fcnGuidance = 
"The function applied to filled values (log, log10, exp, none).\n";
 
  189   fcnGuidance += 
"Note that the unit parameter cannot be omitted in this case,\n";
 
  190   fcnGuidance += 
"but none value should be used instead.";
 
  191   parValFcn->SetGuidance(fcnGuidance);
 
  192   parValFcn->SetDefaultValue(
"none");
 
  194   auto parValBinScheme = 
new G4UIparameter(
"valBinScheme", 
's', 
true);
 
  195   parValBinScheme->SetParameterCandidates(
"linear log");
 
  196   G4String binSchemeGuidance = 
"The binning scheme (linear, log).\n";
 
  198     += 
"Note that the unit and fcn parameters cannot be omitted in this case,\n";
 
  199   binSchemeGuidance += 
"but none value should be used instead.";
 
  200   parValBinScheme->SetGuidance(binSchemeGuidance);
 
  201   parValBinScheme->SetDefaultValue(
"linear");
 
  203   auto commandName = Update(
"/analysis/HNTYPE_/setUAXIS", axis);
 
  204   std::unique_ptr<G4UIcommand> command(
 
  205     new G4UIcommand(Update(
"/analysis/HNTYPE_/setUAXIS", axis), messenger));
 
  206   command->SetGuidance(Update(
"Set parameters for the NDIM_D LOBJECT of given id:"));
 
  207   command->SetGuidance(
 
  208     Update(
"  nAXISbins; AXISvalMin; AXISvalMax; AXISunit; AXISfunction; AXISbinScheme", axis));
 
  209   command->SetParameter(parId);
 
  210   command->SetParameter(parNbins);
 
  211   command->SetParameter(parValMin);
 
  212   command->SetParameter(parValMax);
 
  213   command->SetParameter(parValUnit);
 
  214   command->SetParameter(parValFcn);
 
  215   command->SetParameter(parValBinScheme);
 
 
 
 
Definition at line 143 of file G4AnalysisMessengerHelper.cc.
  146   parId->SetGuidance(Update(
"OBJECT id"));
 
  147   parId->SetParameterRange(
"id>=0");
 
  150   parTitle->SetGuidance(Update(
"OBJECT title"));
 
  151   parTitle->SetDefaultValue(
"none");
 
  153   std::unique_ptr<G4UIcommand> command(
 
  154     new G4UIcommand(Update(
"/analysis/HNTYPE_/setTitle"), messenger));
 
  155   command->SetGuidance(Update(
"Set title for the NDIM_D LOBJECT of given id"));
 
  156   command->SetParameter(parId);
 
  157   command->SetParameter(parTitle);
 
 
 
 
Definition at line 223 of file G4AnalysisMessengerHelper.cc.
  227   parId->SetGuidance(Update(
"OBJECT id"));
 
  228   parId->SetParameterRange(
"id>=0");
 
  231   parValMin->SetGuidance(Update(
"Minimum AXIS-value expressed in unit", axis));
 
  234   parValMax->SetGuidance(Update(
"Maximum AXIS-value expressed in unit", axis));
 
  237   parValUnit->SetGuidance(
"The unit applied to filled values and valMin, valMax");
 
  238   parValUnit->SetDefaultValue(
"none");
 
  241   parValFcn->SetParameterCandidates(
"log log10 exp none");
 
  242   G4String fcnGuidance = 
"The function applied to filled values (log, log10, exp, none).\n";
 
  243   fcnGuidance += 
"Note that the unit parameter cannot be omitted in this case,\n";
 
  244   fcnGuidance += 
"but none value should be used instead.";
 
  245   parValFcn->SetGuidance(fcnGuidance);
 
  246   parValFcn->SetDefaultValue(
"none");
 
  248   std::unique_ptr<G4UIcommand> command(
 
  249     new G4UIcommand(Update(
"/analysis/HNTYPE_/setUAXIS", axis), messenger));
 
  250   command->SetGuidance(Update(
"Set parameters for the NDIM_D LOBJECT of #id:"));
 
  251   command->SetGuidance(
 
  252     Update(
"  AXISvalMin; AXISvalMax; AXISunit; AXISfunction", axis));
 
  253   command->SetParameter(parId);
 
  254   command->SetParameter(parValMin);
 
  255   command->SetParameter(parValMax);
 
  256   command->SetParameter(parValUnit);
 
  257   command->SetParameter(parValFcn);
 
 
 
 
      
        
          | void G4AnalysisMessengerHelper::GetBinData  | 
          ( | 
          BinData &  | 
          data,  | 
        
        
           | 
           | 
          std::vector< G4String > &  | 
          parameters,  | 
        
        
           | 
           | 
          G4int &  | 
          counter  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
Definition at line 287 of file G4AnalysisMessengerHelper.cc.
  294   data.fSunit = parameters[counter++];
 
  295   data.fSfcn = parameters[counter++];
 
  296   data.fSbinScheme = parameters[counter++];
 
const XML_Char const XML_Char * data
 
static G4double ConvertToDouble(const char *st)
 
static G4int ConvertToInt(const char *st)
 
 
 
 
Definition at line 300 of file G4AnalysisMessengerHelper.cc.
  306   data.fSunit = parameters[counter++];
 
  307   data.fSfcn = parameters[counter++];
 
const XML_Char const XML_Char * data
 
static G4double ConvertToDouble(const char *st)
 
 
 
 
      
        
          | void G4AnalysisMessengerHelper::WarnAboutParameters  | 
          ( | 
          G4UIcommand *  | 
          command,  | 
        
        
           | 
           | 
          G4int  | 
          nofParameters  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
Definition at line 311 of file G4AnalysisMessengerHelper.cc.
  317     << 
"\" parameters: " << nofParameters
 
  320   G4String methodName(Update(
"G4UHNTYPE_Messenger::SetNewValue"));  
 
std::ostringstream G4ExceptionDescription
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
const G4String & GetCommandName() const 
 
G4int GetParameterEntries() const 
 
 
 
 
      
        
          | void G4AnalysisMessengerHelper::WarnAboutSetCommands  | 
          ( | 
           | ) | 
           const | 
        
      
 
Definition at line 326 of file G4AnalysisMessengerHelper.cc.
  330     << 
"Command setX, setY, setZ must be called sucessively in this order. " << 
G4endl 
  331     << 
"Command was ignored." << 
G4endl;
 
  332   G4String methodName(Update(
"G4UHNTYPE_Messenger::SetNewValue"));  
 
std::ostringstream G4ExceptionDescription
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
The documentation for this class was generated from the following files: