#include <G4PlotParameters.hh>
Definition at line 41 of file G4PlotParameters.hh.
 
      
        
          | G4PlotParameters::G4PlotParameters  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 36 of file G4PlotParameters.cc.
   37  : fMessenger(
nullptr),
 
   40 #if defined(TOOLS_USE_FREETYPE) 
   43    fDefaultHeight((
G4int)(29.7f/21.0f*fDefaultWidth)),
 
   44    fDefaultStyle(
"ROOT_default"),
 
   48    fAvailableStyles(
"ROOT_default hippodrow inlib_default"), 
 
   51    fDefaultHeight((
G4int)(29.7f/21.0f*fDefaultWidth)),
 
   52    fDefaultStyle(
"inlib_default"),
 
   56    fAvailableStyles(
"inlib_default"),
 
   58    fColumns(fDefaultColumns), 
 
   60    fWidth(fDefaultWidth), 
 
   61    fHeight(fDefaultHeight),
 
   62    fScale(fDefaultScale),
 
   65    fMessenger = G4Analysis::make_unique<G4PlotMessenger>(
this);
 
 
 
 
  
  
      
        
          | G4String G4PlotParameters::GetAvailableStyles  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4int G4PlotParameters::GetColumns  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4int G4PlotParameters::GetHeight  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4int G4PlotParameters::GetMaxColumns  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4int G4PlotParameters::GetMaxRows  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4int G4PlotParameters::GetRows  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4float G4PlotParameters::GetScale  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4String G4PlotParameters::GetStyle  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4int G4PlotParameters::GetWidth  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
Definition at line 73 of file G4PlotParameters.cc.
   75   if ( columns > rows ||
 
   76        columns < 1 || columns > fMaxColumns || 
 
   77        rows < 1 || rows > fMaxRows ) {
 
   80       << 
"Layout: " << columns << 
" x " << rows << 
" was ignored." << 
G4endl 
   81       << 
"Suported layouts: " << 
G4endl 
   82       << 
"  columns <= rows" << 
G4endl 
   83       << 
"  columns = 1 .. " << fMaxColumns << 
G4endl 
   84       << 
"  rows    = 1 .. " << fMaxRows << 
G4endl;
 
std::ostringstream G4ExceptionDescription
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
Definition at line 101 of file G4PlotParameters.cc.
  105   if ( fAvailableStyles.find(style) == std::string::npos ) {
 
  108       << 
"Style: " << style << 
" was ignored." << 
G4endl 
  109       << 
"Supported styles: " << fAvailableStyles << 
G4endl;
 
  117   if ( fStyle == 
"ROOT_default" ) {
 
  118     fScale = fDefaultScale;
 
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: