23#ifndef R__LESS_INCLUDES
153 a -= (
a >=
'x') ?
'x' :
'X';
154 return (
a > 2) ? 0 : (
Int_t)(
a+1);
RooFitResult * fit(const char *options)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t hmax
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t np
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
Option_t Option_t TPoint TPoint const char text
R__EXTERN TStyle * gStyle
Manages histogram axis attributes.
Fill Area Attributes class.
Using a TBrowser one can browse all ROOT objects.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
const char * Data() const
TStyle objects may be created to define special styles.
Double_t GetTimeOffset() const
Color_t GetGridColor() const
Int_t fOptFile
True if option File is selected.
Color_t GetLabelColor(Option_t *axis="X") const
Return the label color number in the axis.
void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
void SetPadBorderMode(Int_t mode=1)
void SetOptTitle(Int_t tit=1)
void SetFrameLineColor(Color_t color=1)
Color_t fGridColor
Grid line color (if 0 use axis line color)
void SetPadTopMargin(Float_t margin=0.1)
Color_t GetStatTextColor() const
void SetLegendFont(Style_t font=62)
void SetTitleX(Float_t x=0)
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
Int_t fCanvasDefW
Default canvas width.
void SetHistFillColor(Color_t color=1)
Int_t fHatchesLineWidth
Hatches line width for hatch styles > 3100.
Float_t fScreenFactor
Multiplication factor for canvas size and position.
void SetLegoInnerR(Float_t rad=0.5)
void SetOptLogx(Int_t logx=1)
Float_t fTitleFontSize
Font size in pixels for fonts with precision type 3.
void SetDateX(Float_t x=0.01)
Int_t fCanvasDefX
Default canvas top X position.
void SetStatFormat(const char *format="6.4g")
void SetPadBottomMargin(Float_t margin=0.1)
Float_t GetTitleX() const
void SetLegendFillColor(Color_t color=0)
Float_t fPadRightMargin
Pad right margin.
Float_t fPaperSizeX
PostScript paper size along X.
void SetPaintTextFormat(const char *format="g")
Int_t GetOptTitle() const
void SetCanvasBorderSize(Width_t size=1)
Float_t GetScreenFactor() const
Int_t GetShowEditor() const
void SetCanvasDefX(Int_t topx=10)
TString fPaintTextFormat
Printing format for TH2::PaintText.
Color_t GetHistLineColor() const
Color_t fStatColor
Stat fill area color.
Int_t GetNdivisions(Option_t *axis="X") const
Return number of divisions.
void SetFrameFillColor(Color_t color=1)
Int_t fFrameBorderMode
Pad frame border mode.
void SetImageScaling(Float_t s)
Int_t GetPadTickX() const
Color_t GetTitleColor(Option_t *axis="X") const
Return title color.
Style_t fHistLineStyle
Histogram line style.
Color_t GetFrameLineColor() const
void SetTitleYSize(Float_t size=0.02)
Style_t GetGridStyle() const
Int_t GetJoinLinePS() const
Returns the line join method used for PostScript, PDF and SVG output. See TPostScript::SetLineJoin fo...
void SetStatFont(Style_t font=62)
void SetEndErrorSize(Float_t np=2)
Set the size (in pixels) of the small lines drawn at the end of the error bars (TH1 or TGraphErrors).
Float_t GetStatFontSize() const
Float_t GetBarOffset() const
Float_t GetLabelSize(Option_t *axis="X") const
Return label size.
void SetStatStyle(Style_t style=1001)
void SetCapLinePS(Int_t capline=0)
Set the line cap method used for PostScript, PDF and SVG output. See TPostScript::SetLineCap for deta...
Color_t GetPadColor() const
Float_t fBarOffset
Offset of bar for graphs.
void SetHistLineStyle(Style_t styl=0)
void SetPadRightMargin(Float_t margin=0.1)
Style_t GetHistFillStyle() const
void SetCanvasColor(Color_t color=19)
TAttAxis fZaxis
Z axis attributes.
void SetTitleFont(Style_t font=62, Option_t *axis="X")
Float_t GetPadRightMargin() const
Float_t GetTickLength(Option_t *axis="X") const
Return tick length.
Int_t fDrawBorder
Flag to draw border(=1) or not (0)
void SetCanvasDefH(Int_t h=500)
void SetTitleBorderSize(Width_t size=2)
void SaveSource(const char *filename, Option_t *option=nullptr)
Save the current style in a C++ macro file.
Style_t GetFrameFillStyle() const
void SetStatTextColor(Color_t color=1)
void SetStatX(Float_t x=0)
Float_t GetTitleSize(Option_t *axis="X") const
Return title size.
Float_t GetLegoInnerR() const
Int_t AxisChoice(Option_t *axis) const
TString fTitlePS
User defined Postscript file title.
Style_t GetLabelFont(Option_t *axis="X") const
Return label font.
virtual ~TStyle()
Destructor.
void SetCanvasBorderMode(Int_t mode=1)
Int_t GetShowToolBar() const
Float_t GetTitleY() const
Style_t fFuncStyle
Function style.
void SetOptDate(Int_t datefl=1)
If optdate is non null, the current date/time will be printed in the canvas.
Int_t fPadTickX
True to set special pad ticks along X.
void SetFrameFillStyle(Style_t styl=0)
void SetCanvasDefW(Int_t w=700)
Style_t fStatFont
Font style of Stats PaveLabel.
TString fLineStyle[30]
String describing line style i (for postScript)
void SetDateY(Float_t y=0.01)
Width_t fGridWidth
Grid line width.
Float_t GetTitleOffset(Option_t *axis="X") const
Return title offset.
Color_t GetHistFillColor() const
void SetFrameBorderMode(Int_t mode=1)
Style_t GetTitleFont(Option_t *axis="X") const
Return title font.
Int_t fOptLogx
True if log scale in X.
Bool_t fStripDecimals
Strip decimals in axis labels.
Bool_t fHistMinimumZero
True if default minimum is 0, false if minimum is automatic.
Float_t GetImageScaling() const
Style_t fLegendFont
Legend font style.
void SetFuncColor(Color_t color=1)
Bool_t GetHistMinimumZero() const
TAttAxis fXaxis
X axis attributes.
void SetHeaderPS(const char *header)
Define a string to be inserted in the Postscript header.
Color_t fTitleColor
Title fill area color.
Int_t fJoinLinePS
Determines the appearance of joining lines on PostScript, PDF and SVG.
void SetPadTickY(Int_t ticky)
void SetTitleOffset(Float_t offset=1, Option_t *axis="X")
Specify a parameter offset to control the distance between the axis and the axis title.
Width_t fFrameLineWidth
Pad frame line width.
Color_t GetTitleFillColor() const
Int_t GetCanvasDefH() const
void SetColorModelPS(Int_t c=0)
Define the color model used by TPostScript and TPDF (RGB or CMYK).
Style_t GetTitleStyle() const
void SetPadTickX(Int_t tickx)
Float_t GetLabelOffset(Option_t *axis="X") const
Return label offset.
Int_t GetCanvasDefX() const
Int_t fOptTitle
True if option Title is selected.
Style_t fTitleFont
Font style of Title PaveLabel.
Bool_t GetPadGridY() const
Float_t GetTitleXSize() const
Int_t fOptDate
True if date option is selected.
Float_t fPadTopMargin
Pad top margin.
Color_t GetStatColor() const
void SetPadGridX(Bool_t gridx)
Width_t fCanvasBorderSize
Canvas border size.
void SetTitleTextColor(Color_t color=1)
Float_t GetTitleYOffset() const
Color_t fCanvasColor
Canvas color.
Float_t GetPadLeftMargin() const
Double_t GetHatchesSpacing() const
void SetPalette(Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.)
See TColor::SetPalette.
Float_t fStatY
Y position of top right corner of stat box.
void Copy(TObject &style) const override
Copy this style.
Width_t GetLegendBorderSize() const
Style_t fFrameLineStyle
Pad frame line style.
void SetStatBorderSize(Width_t size=2)
Float_t GetBarWidth() const
Int_t fCanvasBorderMode
Canvas border mode.
Bool_t GetCanvasPreferGL() const
void SetGridColor(Color_t color=0)
Int_t GetColorModelPS() const
void SetGridStyle(Style_t style=3)
void SetErrorX(Float_t errorx=0.5)
Int_t GetCanvasDefY() const
void SetTitleColor(Color_t color=1, Option_t *axis="X")
void SetNumberContours(Int_t number=20)
Set the default number of contour levels when drawing 2-d plots.
void Paint(Option_t *option="") override
Copy this style to gStyle.
Float_t fTitleX
X position of top left corner of title box.
Int_t fShowToolBar
Show toolbar.
void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
Int_t fCapLinePS
Determines the appearance of line caps on PostScript, PDF and SVG.
Width_t fFuncWidth
Function line width.
Int_t fPadTickY
True to set special pad ticks along Y.
TAttAxis fYaxis
Y axis attributes.
void SetTitleFontSize(Float_t size=0)
Float_t fImageScaling
Image scaling to produce high definition bitmap images.
Float_t GetTitleXOffset() const
void SetDrawBorder(Int_t drawborder=1)
Width_t GetFrameBorderSize() const
Width_t fHistLineWidth
Histogram line width.
void SetTimeOffset(Double_t toffset)
Change the time offset for time plotting.
Bool_t fPadGridY
True to get the grid along Y.
void SetTitlePS(const char *pstitle)
Define a string to be used in the %Title of the Postscript files.
Style_t fHistFillStyle
Histogram fill style.
void SetHistMinimumZero(Bool_t zero=kTRUE)
If the argument zero=kTRUE the minimum value for the Y axis of 1-d histograms is set to 0.
Bool_t GetPadGridX() const
Int_t GetShowEventStatus() const
void SetPadLeftMargin(Float_t margin=0.1)
Float_t fEndErrorSize
Size of lines at the end of error bars.
void SetStatH(Float_t h=0.1)
void SetPadGridY(Bool_t gridy)
Float_t GetTitleYSize() const
void SetOptLogy(Int_t logy=1)
void SetJoinLinePS(Int_t joinline=0)
Set the line join method used for PostScript, PDF and SVG output. See TPostScript::SetLineJoin for de...
Bool_t fIsReading
! Set to FALSE when userclass::UseCurrentStyle is called by the style manager
Width_t GetGridWidth() const
Width_t fFrameBorderSize
Pad frame border size.
Color_t GetFuncColor() const
void SetTitleXOffset(Float_t offset=1)
void SetLegendBorderSize(Width_t size=4)
Color_t fTitleTextColor
Title text color.
Int_t GetPadTickY() const
Width_t GetPadBorderSize() const
void SetStripDecimals(Bool_t strip=kTRUE)
Set option to strip decimals when drawing axis labels.
Width_t GetTitleBorderSize() const
void SetHistLineColor(Color_t color=1)
TString fHeaderPS
User defined additional Postscript header.
Int_t GetColorPalette(Int_t i) const
Return color number i in current palette.
virtual void cd()
Change current style.
const char * GetLineStyleString(Int_t i=1) const
Return line style string (used by PostScript).
void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis labels.
Color_t fPadColor
Pad color.
void SetFitFormat(const char *format="5.4g")
Float_t GetErrorX() const
Float_t fDateX
X position of the date in the canvas (in NDC)
Int_t fOptLogz
True if log scale in z.
void SetCanvasDefY(Int_t topy=10)
void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
void SetTitleFillColor(Color_t color=1)
TString fFitFormat
Printing format for fit parameters.
Int_t fPadBorderMode
Pad border mode.
Double_t GetLegendTextSize() const
Int_t fNumberContours
Default number of contours for 2-d plots.
void SetLineStyleString(Int_t i, const char *text)
Set line style string using the PostScript convention.
Float_t fPadLeftMargin
Pad left margin.
Float_t fTitleY
Y position of top left corner of title box.
Double_t fTimeOffset
Time offset to the beginning of an axis.
Color_t GetCanvasColor() const
Color_t fFrameLineColor
Pad frame line color.
Double_t fLegendTextSize
Legend text size. If 0 the size is computed automatically.
Int_t fShowEditor
Show pad editor.
Color_t fLegendFillColor
Legend fill color.
Double_t GetHistTopMargin() const
void SetTitleAlign(Int_t a=13)
Float_t fLineScalePS
Line scale factor when drawing lines on Postscript.
void SetBarOffset(Float_t baroff=0.5)
void SetPaperSize(EPaperSize size)
Set paper size for PostScript output.
Float_t GetEndErrorSize() const
Float_t GetPadBottomMargin() const
void SetFrameLineWidth(Width_t width=1)
void SetTickLength(Float_t length=0.03, Option_t *axis="X")
Set the tick marks length for an axis.
Double_t fHistTopMargin
Margin between histogram's top and pad's top.
void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
Int_t fOptStat
True if option Stat is selected.
Double_t fHatchesSpacing
Hatches spacing for hatch styles > 3100.
Color_t fStatTextColor
Stat text color.
Width_t GetFuncWidth() const
TAttText fAttDate
Canvas date attribute.
Width_t fStatBorderSize
Border size of Stats PaveLabel.
void Browse(TBrowser *b) override
Browse the style object.
Float_t fTitleW
Width of title box.
Width_t fPadBorderSize
Pad border size.
void SetFuncWidth(Width_t width=4)
Int_t GetDrawBorder() const
void SetOptLogz(Int_t logz=1)
const char * GetTitlePS() const
Color_t fHistLineColor
Histogram line color.
Int_t fOptFit
True if option Fit is selected.
Int_t GetCanvasDefW() const
Int_t GetCapLinePS() const
Returns the line cap method used for PostScript, PDF and SVG output. See TPostScript::SetLineCap for ...
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Function used by the TStyle manager when drawing a canvas showing the current style.
void SetFrameBorderSize(Width_t size=1)
Width_t GetStatBorderSize() const
void GetPaperSize(Float_t &xsize, Float_t &ysize) const
Set paper size for PostScript output.
Int_t GetStripDecimals() const
void SetOptFile(Int_t file=1)
void SetTitleW(Float_t w=0)
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
Color_t fFrameFillColor
Pad frame fill color.
Style_t GetHistLineStyle() const
TStyle()
Default constructor.
void SetHistTopMargin(Double_t hmax=0.05)
Float_t fTitleH
Height of title box.
void SetTitleStyle(Style_t style=1001)
void SetStatFontSize(Float_t size=0)
void SetStatColor(Color_t color=19)
Style_t fFrameFillStyle
Pad frame fill style.
void SetPadColor(Color_t color=19)
void SetStatW(Float_t w=0.19)
void SetHatchesSpacing(Double_t h)
void SetTitleH(Float_t h=0)
virtual void Reset(Option_t *option="")
Reset.
Int_t fShowEventStatus
Show event status panel.
Color_t GetTitleTextColor() const
Bool_t fPadGridX
True to get the grid along X.
void SetBarWidth(Float_t barwidth=0.5)
void SetStatY(Float_t y=0)
Style_t fTitleStyle
Fill area style of title PaveLabel.
Style_t GetLegendFont() const
void SetLegendTextSize(Double_t size=0.)
TStyle & operator=(const TStyle &style)
void SavePrimitive(std::ostream &out, Option_t *="") override
Save a main frame widget as a C++ statement(s) on output stream out.
Float_t GetTitleH() const
Style_t GetStatStyle() const
void SetTitleY(Float_t y=0.985)
void SetHistFillStyle(Style_t styl=0)
Float_t fStatFontSize
Font size in pixels for fonts with precision type 3.
Bool_t fCanvasPreferGL
If true, rendering in canvas is with GL.
Float_t fLegoInnerR
Inner radius for cylindrical legos.
Width_t GetHistLineWidth() const
Int_t fOptLogy
True if log scale in y.
Style_t GetFrameLineStyle() const
void SetIsReading(Bool_t reading=kTRUE)
Sets the fIsReading member to reading (default=kTRUE).
Style_t fGridStyle
Grid line style.
Color_t fHistFillColor
Histogram fill color.
const char * GetFitFormat() const
void SetScreenFactor(Float_t factor=1)
Int_t fCanvasDefH
Default canvas height.
void SetHatchesLineWidth(Int_t l)
Int_t GetCanvasBorderMode() const
Int_t GetPadBorderMode() const
void SetGridWidth(Width_t width=1)
Color_t fFuncColor
Function color.
const char * GetHeaderPS() const
void SetTitleYOffset(Float_t offset=1)
const char * GetStatFormat() const
void SetFuncStyle(Style_t style=1)
Width_t GetCanvasBorderSize() const
Int_t GetNumberOfColors() const
Return number of colors in the color palette.
Float_t fStatH
Height of stat box.
Float_t fStatX
X position of top right corner of stat box.
void SetTitleXSize(Float_t size=0.02)
Int_t fCanvasDefY
Default canvas top Y position.
Int_t GetNumberContours() const
void SetHistLineWidth(Width_t width=1)
Float_t fPadBottomMargin
Pad bottom margin.
const char * GetPaintTextFormat() const
Float_t GetLineScalePS() const
Float_t fErrorX
Per cent of bin width for errors along X.
void SetLabelColor(Color_t color=1, Option_t *axis="X")
Set axis labels color.
Style_t GetStatFont() const
void SetLabelSize(Float_t size=0.04, Option_t *axis="X")
Set size of axis labels.
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
Width_t fLegendBorderSize
Legend box border size.
Float_t fStatW
Width of stat box.
Float_t fBarWidth
Width of bar for graphs.
Width_t fTitleBorderSize
Border size of Title PavelLabel.
void SetPadBorderSize(Width_t size=1)
Float_t fPaperSizeY
PostScript paper size along Y.
static void BuildStyles()
Create some standard styles.
Int_t fTitleAlign
Title box alignment.
Style_t GetFuncStyle() const
Color_t GetLegendFillColor() const
Float_t GetTitleFontSize() const
void SetFrameLineStyle(Style_t styl=0)
Int_t GetHatchesLineWidth() const
Float_t fDateY
Y position of the date in the canvas (in NDC)
Color_t GetAxisColor(Option_t *axis="X") const
Return the axis color number in the axis.
Int_t GetFrameBorderMode() const
TString fStatFormat
Printing format for stats.
Float_t GetPadTopMargin() const
Int_t fColorModelPS
PostScript color model: 0 = RGB, 1 = CMYK.
void SetLineScalePS(Float_t scale=3)
Width_t GetFrameLineWidth() const
Color_t GetFrameFillColor() const
Style_t fStatStyle
Fill area style of Stats PaveLabel.
Float_t GetTitleW() const
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.