37 : fMessenger(nullptr),
43 fDefaultHeight((
G4int)(29.7
f/21.0
f*fDefaultWidth)),
44 fDefaultStyle(
"ROOT_default"),
48 fAvailableStyles(
"ROOT_default hippodrow inlib_default"),
51 fDefaultHeight((
G4int)(29.7
f/21.0
f*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);
75 if ( columns > rows ||
80 <<
"Layout: " << columns <<
" x " << rows <<
" was ignored." <<
G4endl
81 <<
"Suported layouts: " <<
G4endl
82 <<
" columns <= rows" <<
G4endl
84 <<
" rows = 1 .. " << fMaxRows <<
G4endl;
108 <<
"Style: " << style <<
" was ignored." <<
G4endl
117 if (
fStyle ==
"ROOT_default" ) {
std::ostringstream G4ExceptionDescription
G4String fAvailableStyles
void SetStyle(const G4String &style)
void SetDimensions(G4int width, G4int height)
void SetLayout(G4int columns, G4int rows)
std::unique_ptr< G4PlotMessenger > fMessenger
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)