32 #include "tools/histo/axis" 
   58                                    G4int dimension)
 const 
   60   return baseHisto.get_axis(dimension).bins();
 
   65                                     G4int dimension)
 const 
   69   return baseHisto.get_axis(dimension).lower_edge();
 
   74                                     G4int dimension)
 const 
   78   return baseHisto.get_axis(dimension).upper_edge();
 
   83                                       G4int dimension)
 const 
   85   G4int nbins = baseHisto.get_axis(dimension).bins();
 
   87     G4String functionName = 
"G4BaseToolsManager::Get";
 
   89     functionName += 
"Width";
 
   91     description << 
"    nbins = 0 (for " << 
fHnType << 
").";
 
   96   return ( baseHisto.get_axis(dimension).upper_edge() 
 
   97            - baseHisto.get_axis(dimension).lower_edge() )/nbins;
 
  104   return baseHisto.set_title(title);
 
  111   if ( dimension == 0 ) {
 
  112     baseHisto.add_annotation(tools::histo::key_axis_x_title(), title);
 
  114   else if ( dimension == 1 ) {  
 
  115     baseHisto.add_annotation(tools::histo::key_axis_y_title(), title);
 
  117   else if ( dimension == 2 ) {  
 
  118     baseHisto.add_annotation(tools::histo::key_axis_z_title(), title);
 
  127   return baseHisto.title();
 
  133                                           G4int dimension)
 const  
  137   if ( dimension == 0 ) {
 
  138     result = baseHisto.annotation(tools::histo::key_axis_x_title(), title);
 
  140   else if ( dimension == 1 ) {  
 
  141     result = baseHisto.annotation(tools::histo::key_axis_y_title(), title);
 
  143   else if ( dimension == 2 ) {  
 
  144     result = baseHisto.annotation(tools::histo::key_axis_z_title(), title);
 
  150     G4String functionName = 
"G4BaseToolsManager::Get";
 
  152     functionName += axis;
 
  153     functionName += 
"Title";
 
  155     description << 
"    Failed to get " << axis << 
" axis " << 
fHnType << 
" title.";
 
std::ostringstream G4ExceptionDescription
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)