Wrapper class around ROOT TStyle.  
 More...
#include <JStyle.hh>
Wrapper class around ROOT TStyle. 
Definition at line 22 of file JStyle.hh.
 
  
  
      
        
          | JROOT::JStyle::JStyle  | 
          ( | 
          const char *  | 
          title,  | 
         
        
           | 
           | 
          const UInt_t  | 
          x,  | 
         
        
           | 
           | 
          const UInt_t  | 
          y,  | 
         
        
           | 
           | 
          const JParameters &  | 
          parameters = JParameters()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | title | title  | 
    | x | number of pixels in X  | 
    | y | number of pixels in Y  | 
    | parameters | parameters  | 
  
   
Definition at line 102 of file JStyle.hh.
  108       const Double_t font_size    = (Double_t) 
y * 0.7e-4 * 
parameters.fontSize;
 
  109       const Double_t title_offset = 1.5                   * 
parameters.titleOffset;
 
  110       const Double_t tick_length  = 3.0e-5                * 
parameters.tickLength;
 
  118       SetCanvasBorderMode(0);
 
  119       SetCanvasBorderSize(0);
 
  125       for (
const auto option : { 
"X", 
"Y", 
"Z"}) {
 
  126         SetTickLength (tick_length * (
x < 
y ? 
x : 
y), option);
 
  127         SetLabelSize  (font_size,                     option);
 
  128         SetTitleOffset(title_offset,                  option);
 
  129         SetTitleSize  (font_size,                     option);
 
  136       SetStatBorderSize(1);
 
  137       SetStatFontSize(font_size);
 
  141       SetPaintTextFormat(
"3.0f");
 
  144       SetTitleFillColor(0);
 
  147       SetTitleBorderSize(0);
 
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
 
 
 
 
  
  
      
        
          | void JROOT::JStyle::setFontSize  | 
          ( | 
          const Double_t  | 
          factor | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Scale font sizes. 
- Parameters
 - 
  
  
 
Definition at line 156 of file JStyle.hh.
  158       for (
const auto option : { 
"X", 
"Y", 
"Z"}) {
 
  159         SetLabelSize(GetLabelSize(option) * factor, option);
 
  160         SetTitleSize(GetTitleSize(option) * factor, option);
 
 
 
 
The documentation for this class was generated from the following file: