TStyle objects may be created to define special styles.
By default ROOT creates a default style that can be accessed via the gStyle pointer.
This class includes functions to set some of the following object attributes.
- Canvas
- Pad
- Histogram axis
- Lines
- Fill areas
- Text
- Markers
- Functions
- Histogram Statistics and Titles
All objects that can be drawn in a pad inherit from one or more attribute classes like TAttLine, TAttFill, TAttText, TAttMarker. When the objects are created, their default attributes are taken from the current style. The current style is an object of the classTStyle and can be referenced via the global variable gStyle
(in TStyle.h).
ROOT provides two styles called "Default" and "Plain". The "Default" style is created simply by:
auto default =
new TStyle(
"Default",
"Default Style");
TStyle()
Default constructor.
The Plain
style can be used if you are working on a monochrome display or if you want to get a "conventional" Postscript output. These are the instructions in the ROOT constructor to create the Plain
style.
auto plain =
new TStyle(
"Plain",
"Plain Style (no colors/fill areas)");
plain->SetCanvasBorderMode(0);
plain->SetPadBorderMode(0);
plain->SetPadColor(0);
plain->SetCanvasColor(0);
plain->SetTitleColor(0);
plain->SetStatColor(0);
You can set the current style with:
gROOT->SetStyle(style_name);
You can get a pointer to an existing style with:
You can create additional styles with:
st1->Set....
R__EXTERN TStyle * gStyle
TStyle objects may be created to define special styles.
virtual void cd()
Change current style.
In your rootlogon.C file, you can redefine the default parameters via statements like:
void SetStatX(Float_t x=0)
void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis labels.
void SetStatW(Float_t w=0.19)
Note that when an object is created, its attributes are taken from the current style. For example, you may have created an histogram in a previous session, saved it in a file. Meanwhile, if you have changed the style, the histogram will be drawn with the old attributes. You can force the current style attributes to be set when you read an object from a file by calling:
before reading the objects from the file.
Let's assume you have a canvas or pad with your histogram or any other object, you can force these objects to get the attributes of the current style via:
canvas->UseCurrentStyle();
The description of the style functions should be clear from the name of the TStyle Setters or Getters. Some functions have an extended description, in particular:
- TStyle:SetLabelFont.
- TStyle:SetLineStyleString, to set the format of dashed lines.
- TStyle:SetOptStat.
- TStyle:SetPalette to change the colors palette.
- TStyle:SetTitleOffset.
Definition at line 29 of file TStyle.h.
|
| TStyle () |
| Default constructor.
|
|
| TStyle (const char *name, const char *title) |
| Create a new TStyle.
|
|
| TStyle (const TStyle &style) |
| Copy constructor.
|
|
virtual | ~TStyle () |
| Destructor.
|
|
Int_t | AxisChoice (Option_t *axis) const |
|
void | Browse (TBrowser *b) override |
| Browse the style object.
|
|
virtual void | cd () |
| Change current style.
|
|
void | Copy (TObject &style) const override |
| Copy this style.
|
|
Int_t | DistancetoPrimitive (Int_t px, Int_t py) override |
| Function used by the TStyle manager when drawing a canvas showing the current style.
|
|
TAttText * | GetAttDate () |
|
Color_t | GetAxisColor (Option_t *axis="X") const |
| Return the axis color number in the axis.
|
|
Int_t | GetAxisMaxDigits () const |
| Method returns maximum number of digits permitted for the axis labels above which the notation with 10^N is used.
|
|
Float_t | GetBarOffset () const |
|
Float_t | GetBarWidth () const |
|
Double_t | GetCandleBoxRange () const |
|
Bool_t | GetCandleScaled () const |
|
Double_t | GetCandleWhiskerRange () const |
|
Int_t | GetCanvasBorderMode () const |
|
Width_t | GetCanvasBorderSize () const |
|
Color_t | GetCanvasColor () const |
|
Int_t | GetCanvasDefH () const |
|
Int_t | GetCanvasDefW () const |
|
Int_t | GetCanvasDefX () const |
|
Int_t | GetCanvasDefY () const |
|
Bool_t | GetCanvasPreferGL () const |
|
Int_t | GetCapLinePS () const |
| Returns the line cap method used for PostScript, PDF and SVG output. See TPostScript::SetLineCap for details.
|
|
Int_t | GetColorModelPS () const |
|
Int_t | GetColorPalette (Int_t i) const |
| Return color number i in current palette.
|
|
Float_t | GetDateX () const |
|
Float_t | GetDateY () const |
|
Int_t | GetDrawBorder () const |
|
Float_t | GetEndErrorSize () const |
|
Float_t | GetErrorX () const |
|
void | GetExponentOffset (Float_t &xoff, Float_t &yoff, Option_t *axis="X") const |
| Method returns X and Y offset of the axis 10^n notation.
|
|
const char * | GetFitFormat () const |
|
Int_t | GetFrameBorderMode () const |
|
Width_t | GetFrameBorderSize () const |
|
Color_t | GetFrameFillColor () const |
|
Style_t | GetFrameFillStyle () const |
|
Color_t | GetFrameLineColor () const |
|
Style_t | GetFrameLineStyle () const |
|
Width_t | GetFrameLineWidth () const |
|
Color_t | GetFuncColor () const |
|
Style_t | GetFuncStyle () const |
|
Width_t | GetFuncWidth () const |
|
Color_t | GetGridColor () const |
|
Style_t | GetGridStyle () const |
|
Width_t | GetGridWidth () const |
|
Int_t | GetHatchesLineWidth () const |
|
Double_t | GetHatchesSpacing () const |
|
const char * | GetHeaderPS () const |
|
Color_t | GetHistFillColor () const |
|
Style_t | GetHistFillStyle () const |
|
Color_t | GetHistLineColor () const |
|
Style_t | GetHistLineStyle () const |
|
Width_t | GetHistLineWidth () const |
|
Bool_t | GetHistMinimumZero () const |
|
Double_t | GetHistTopMargin () const |
|
Float_t | GetImageScaling () const |
|
Int_t | GetJoinLinePS () const |
| Returns the line join method used for PostScript, PDF and SVG output. See TPostScript::SetLineJoin for details.
|
|
Color_t | GetLabelColor (Option_t *axis="X") const |
| Return the label color number in the axis.
|
|
Style_t | GetLabelFont (Option_t *axis="X") const |
| Return label font.
|
|
Float_t | GetLabelOffset (Option_t *axis="X") const |
| Return label offset.
|
|
Float_t | GetLabelSize (Option_t *axis="X") const |
| Return label size.
|
|
Width_t | GetLegendBorderSize () const |
|
Color_t | GetLegendFillColor () const |
|
Style_t | GetLegendFillStyle () const |
|
Style_t | GetLegendFont () const |
|
Double_t | GetLegendTextSize () const |
|
Float_t | GetLegoInnerR () const |
|
Float_t | GetLineScalePS () const |
|
const char * | GetLineStyleString (Int_t i=1) const |
| Return line style string (used by PostScript).
|
|
Int_t | GetNdivisions (Option_t *axis="X") const |
| Return number of divisions.
|
|
Int_t | GetNumberContours () const |
|
Int_t | GetNumberOfColors () const |
| Return number of colors in the color palette.
|
|
Int_t | GetOptDate () const |
|
Int_t | GetOptFile () const |
|
Int_t | GetOptFit () const |
|
Int_t | GetOptLogx () const |
|
Int_t | GetOptLogy () const |
|
Int_t | GetOptLogz () const |
|
Int_t | GetOptStat () const |
|
Int_t | GetOptTitle () const |
|
Bool_t | GetOrthoCamera () const |
|
Int_t | GetPadBorderMode () const |
|
Width_t | GetPadBorderSize () const |
|
Float_t | GetPadBottomMargin () const |
|
Color_t | GetPadColor () const |
|
Bool_t | GetPadGridX () const |
|
Bool_t | GetPadGridY () const |
|
Float_t | GetPadLeftMargin () const |
|
Float_t | GetPadRightMargin () const |
|
Int_t | GetPadTickX () const |
|
Int_t | GetPadTickY () const |
|
Float_t | GetPadTopMargin () const |
|
const char * | GetPaintTextFormat () const |
|
void | GetPaperSize (Float_t &xsize, Float_t &ysize) const |
| Set paper size for PostScript output.
|
|
Float_t | GetScreenFactor () const |
|
Int_t | GetShowEditor () const |
|
Int_t | GetShowEventStatus () const |
|
Int_t | GetShowToolBar () const |
|
Width_t | GetStatBorderSize () const |
|
Color_t | GetStatColor () const |
|
Style_t | GetStatFont () const |
|
Float_t | GetStatFontSize () const |
|
const char * | GetStatFormat () const |
|
Float_t | GetStatH () const |
|
Style_t | GetStatStyle () const |
|
Color_t | GetStatTextColor () const |
|
Float_t | GetStatW () const |
|
Float_t | GetStatX () const |
|
Float_t | GetStatY () const |
|
Int_t | GetStripDecimals () const |
|
Float_t | GetTickLength (Option_t *axis="X") const |
| Return tick length.
|
|
Double_t | GetTimeOffset () const |
|
Int_t | GetTitleAlign () const |
|
Width_t | GetTitleBorderSize () const |
|
Color_t | GetTitleColor (Option_t *axis="X") const |
| Return title color.
|
|
Color_t | GetTitleFillColor () const |
|
Style_t | GetTitleFont (Option_t *axis="X") const |
| Return title font.
|
|
Float_t | GetTitleFontSize () const |
|
Float_t | GetTitleH () const |
|
Float_t | GetTitleOffset (Option_t *axis="X") const |
| Return title offset.
|
|
const char * | GetTitlePS () const |
|
Float_t | GetTitleSize (Option_t *axis="X") const |
| Return title size.
|
|
Style_t | GetTitleStyle () const |
|
Color_t | GetTitleTextColor () const |
|
Float_t | GetTitleW () const |
|
Float_t | GetTitleX () const |
|
Float_t | GetTitleXOffset () const |
|
Float_t | GetTitleXSize () const |
|
Float_t | GetTitleY () const |
|
Float_t | GetTitleYOffset () const |
|
Float_t | GetTitleYSize () const |
|
Bool_t | GetViolinScaled () const |
|
TClass * | IsA () const override |
|
Bool_t | IsReading () const |
|
TStyle & | operator= (const TStyle &style) |
| Assignment operator.
|
|
void | Paint (Option_t *option="") override |
| Copy this style to gStyle.
|
|
virtual void | Reset (Option_t *option="") |
| Reset.
|
|
void | SavePrimitive (std::ostream &out, Option_t *="") override |
| Save a main frame widget as a C++ statement(s) on output stream out.
|
|
void | SaveSource (const char *filename, Option_t *option=nullptr) |
| Save the current style in a C++ macro file.
|
|
void | SetAxisColor (Color_t color=1, Option_t *axis="X") |
| Set color to draw the axis line and tick marks.
|
|
void | SetAxisMaxDigits (Int_t maxd=5) |
| Method set maximum number of digits permitted for the axis labels above which the notation with 10^N is used.
|
|
void | SetBarOffset (Float_t baroff=0.5) |
|
void | SetBarWidth (Float_t barwidth=0.5) |
|
void | SetCandleBoxRange (Double_t bRange=0.5) |
| By setting box-range for candle plot, one can force the box of the candle-chart to cover that given fraction of the distribution.
|
|
void | SetCandleScaled (Bool_t on=kFALSE) |
|
void | SetCandleWhiskerRange (Double_t wRange=1.0) |
| By setting whisker-range for candle plot, one can force the whiskers to cover the fraction of the distribution.
|
|
void | SetCanvasBorderMode (Int_t mode=1) |
|
void | SetCanvasBorderSize (Width_t size=1) |
|
void | SetCanvasColor (Color_t color=19) |
|
void | SetCanvasDefH (Int_t h=500) |
|
void | SetCanvasDefW (Int_t w=700) |
|
void | SetCanvasDefX (Int_t topx=10) |
|
void | SetCanvasDefY (Int_t topy=10) |
|
void | SetCanvasPreferGL (Bool_t prefer=kTRUE) |
|
void | SetCapLinePS (Int_t capline=0) |
| Set the line cap method used for PostScript, PDF and SVG output. See TPostScript::SetLineCap for details.
|
|
void | SetColorModelPS (Int_t c=0) |
| Define the color model used by TPostScript and TPDF (RGB or CMYK).
|
|
void | SetDateX (Float_t x=0.01) |
|
void | SetDateY (Float_t y=0.01) |
|
void | SetDrawBorder (Int_t drawborder=1) |
|
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).
|
|
void | SetErrorX (Float_t errorx=0.5) |
|
void | SetExponentOffset (Float_t xoff=0., Float_t yoff=0., Option_t *axis="XY") |
| Method set X and Y offset of the axis 10^n notation.
|
|
void | SetFitFormat (const char *format="5.4g") |
|
void | SetFrameBorderMode (Int_t mode=1) |
|
void | SetFrameBorderSize (Width_t size=1) |
|
void | SetFrameFillColor (Color_t color=1) |
|
void | SetFrameFillStyle (Style_t styl=0) |
|
void | SetFrameLineColor (Color_t color=1) |
|
void | SetFrameLineStyle (Style_t styl=0) |
|
void | SetFrameLineWidth (Width_t width=1) |
|
void | SetFuncColor (Color_t color=1) |
|
void | SetFuncStyle (Style_t style=1) |
|
void | SetFuncWidth (Width_t width=4) |
|
void | SetGridColor (Color_t color=0) |
|
void | SetGridStyle (Style_t style=3) |
|
void | SetGridWidth (Width_t width=1) |
|
void | SetHatchesLineWidth (Int_t l) |
|
void | SetHatchesSpacing (Double_t h) |
|
void | SetHeaderPS (const char *header) |
| Define a string to be inserted in the Postscript header.
|
|
void | SetHistFillColor (Color_t color=1) |
|
void | SetHistFillStyle (Style_t styl=0) |
|
void | SetHistLineColor (Color_t color=1) |
|
void | SetHistLineStyle (Style_t styl=0) |
|
void | SetHistLineWidth (Width_t width=1) |
|
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.
|
|
void | SetHistTopMargin (Double_t hmax=0.05) |
|
void | SetImageScaling (Float_t s) |
|
void | SetIsReading (Bool_t reading=kTRUE) |
| Sets the fIsReading member to reading (default=kTRUE).
|
|
void | SetJoinLinePS (Int_t joinline=0) |
| Set the line join method used for PostScript, PDF and SVG output. See TPostScript::SetLineJoin for details.
|
|
void | SetLabelColor (Color_t color=1, Option_t *axis="X") |
| Set axis labels color.
|
|
void | SetLabelFont (Style_t font=62, Option_t *axis="X") |
| Set font number used to draw axis labels.
|
|
void | SetLabelOffset (Float_t offset=0.005, Option_t *axis="X") |
| Set offset between axis and axis labels.
|
|
void | SetLabelSize (Float_t size=0.04, Option_t *axis="X") |
| Set size of axis labels.
|
|
void | SetLegendBorderSize (Width_t size=4) |
|
void | SetLegendFillColor (Color_t color=0) |
|
void | SetLegendFillStyle (Style_t style=1001) |
|
void | SetLegendFont (Style_t font=62) |
|
void | SetLegendTextSize (Double_t size=0.) |
|
void | SetLegoInnerR (Float_t rad=0.5) |
|
void | SetLineScalePS (Float_t scale=3) |
|
void | SetLineStyleString (Int_t i, const char *text) |
| Set line style string using the PostScript convention.
|
|
void | SetNdivisions (Int_t n=510, Option_t *axis="X") |
| Set the number of divisions to draw an axis.
|
|
void | SetNumberContours (Int_t number=20) |
| Set the default number of contour levels when drawing 2-d plots.
|
|
void | SetOptDate (Int_t datefl=1) |
| If optdate is non null, the current date/time will be printed in the canvas.
|
|
void | SetOptFile (Int_t file=1) |
|
void | SetOptFit (Int_t fit=1) |
| The type of information about fit parameters printed in the histogram statistics box can be selected via the parameter mode .
|
|
void | SetOptLogx (Int_t logx=1) |
|
void | SetOptLogy (Int_t logy=1) |
|
void | SetOptLogz (Int_t logz=1) |
|
void | SetOptStat (Int_t stat=1) |
| The type of information printed in the histogram statistics box can be selected via the parameter mode.
|
|
void | SetOptStat (Option_t *stat) |
| The parameter mode can be any combination of kKsSiourRmMen.
|
|
void | SetOptTitle (Int_t tit=1) |
|
void | SetOrthoCamera (Bool_t on=kTRUE) |
|
void | SetPadBorderMode (Int_t mode=1) |
|
void | SetPadBorderSize (Width_t size=1) |
|
void | SetPadBottomMargin (Float_t margin=0.1) |
|
void | SetPadColor (Color_t color=19) |
|
void | SetPadGridX (Bool_t gridx) |
|
void | SetPadGridY (Bool_t gridy) |
|
void | SetPadLeftMargin (Float_t margin=0.1) |
|
void | SetPadRightMargin (Float_t margin=0.1) |
|
void | SetPadTickX (Int_t tickx) |
|
void | SetPadTickY (Int_t ticky) |
|
void | SetPadTopMargin (Float_t margin=0.1) |
|
void | SetPaintTextFormat (const char *format="g") |
|
void | SetPalette (Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.) |
| See TColor::SetPalette.
|
|
void | SetPalette (TString fileName, Float_t alpha=1.) |
|
void | SetPaperSize (EPaperSize size) |
| Set paper size for PostScript output.
|
|
void | SetPaperSize (Float_t xsize=20, Float_t ysize=26) |
| Set paper size for PostScript output.
|
|
void | SetScreenFactor (Float_t factor=1) |
|
void | SetStatBorderSize (Width_t size=2) |
|
void | SetStatColor (Color_t color=19) |
|
void | SetStatFont (Style_t font=62) |
|
void | SetStatFontSize (Float_t size=0) |
|
void | SetStatFormat (const char *format="6.4g") |
|
void | SetStatH (Float_t h=0.1) |
|
void | SetStatStyle (Style_t style=1001) |
|
void | SetStatTextColor (Color_t color=1) |
|
void | SetStatW (Float_t w=0.19) |
|
void | SetStatX (Float_t x=0) |
|
void | SetStatY (Float_t y=0) |
|
void | SetStripDecimals (Bool_t strip=kTRUE) |
| Set option to strip decimals when drawing axis labels.
|
|
void | SetTickLength (Float_t length=0.03, Option_t *axis="X") |
| Set the tick marks length for an axis.
|
|
void | SetTimeOffset (Double_t toffset) |
| Change the time offset for time plotting.
|
|
void | SetTitleAlign (Int_t a=13) |
|
void | SetTitleBorderSize (Width_t size=2) |
|
void | SetTitleColor (Color_t color=1, Option_t *axis="X") |
|
void | SetTitleFillColor (Color_t color=1) |
|
void | SetTitleFont (Style_t font=62, Option_t *axis="X") |
|
void | SetTitleFontSize (Float_t size=0) |
|
void | SetTitleH (Float_t h=0) |
|
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.
|
|
void | SetTitlePS (const char *pstitle) |
| Define a string to be used in the %Title of the Postscript files.
|
|
void | SetTitleSize (Float_t size=0.02, Option_t *axis="X") |
|
void | SetTitleStyle (Style_t style=1001) |
|
void | SetTitleTextColor (Color_t color=1) |
|
void | SetTitleW (Float_t w=0) |
|
void | SetTitleX (Float_t x=0) |
|
void | SetTitleXOffset (Float_t offset=1) |
|
void | SetTitleXSize (Float_t size=0.02) |
|
void | SetTitleY (Float_t y=0.985) |
|
void | SetTitleYOffset (Float_t offset=1) |
|
void | SetTitleYSize (Float_t size=0.02) |
|
void | SetViolinScaled (Bool_t on=kTRUE) |
|
void | Streamer (TBuffer &) override |
| Stream an object of class TObject.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
void | ToggleEditor () |
|
void | ToggleEventStatus () |
|
void | ToggleToolBar () |
|
| TNamed () |
|
| TNamed (const char *name, const char *title) |
|
| TNamed (const TNamed &named) |
| TNamed copy ctor.
|
|
| TNamed (const TString &name, const TString &title) |
|
virtual | ~TNamed () |
| TNamed destructor.
|
|
void | Clear (Option_t *option="") override |
| Set name and title to empty strings ("").
|
|
TObject * | Clone (const char *newname="") const override |
| Make a clone of an object using the Streamer facility.
|
|
Int_t | Compare (const TObject *obj) const override |
| Compare two TNamed objects.
|
|
virtual void | FillBuffer (char *&buffer) |
| Encode TNamed into output buffer.
|
|
const char * | GetName () const override |
| Returns name of object.
|
|
const char * | GetTitle () const override |
| Returns title of object.
|
|
ULong_t | Hash () const override |
| Return hash value for this object.
|
|
Bool_t | IsSortable () const override |
|
void | ls (Option_t *option="") const override |
| List TNamed name and title.
|
|
TNamed & | operator= (const TNamed &rhs) |
| TNamed assignment operator.
|
|
void | Print (Option_t *option="") const override |
| Print TNamed name and title.
|
|
virtual void | SetName (const char *name) |
| Set the name of the TNamed.
|
|
virtual void | SetNameTitle (const char *name, const char *title) |
| Set all the TNamed parameters (name and title).
|
|
virtual void | SetTitle (const char *title="") |
| Set the title of the TNamed.
|
|
virtual Int_t | Sizeof () const |
| Return size of the TNamed part of the TObject.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TObject () |
| TObject constructor.
|
|
| TObject (const TObject &object) |
| TObject copy ctor.
|
|
virtual | ~TObject () |
| TObject destructor.
|
|
void | AbstractMethod (const char *method) const |
| Use this method to implement an "abstract" method that you don't want to leave purely abstract.
|
|
virtual void | AppendPad (Option_t *option="") |
| Append graphics object to current pad.
|
|
ULong_t | CheckedHash () |
| Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
|
|
virtual const char * | ClassName () const |
| Returns name of class to which the object belongs.
|
|
virtual void | Delete (Option_t *option="") |
| Delete this object.
|
|
virtual void | Draw (Option_t *option="") |
| Default Draw method for all objects.
|
|
virtual void | DrawClass () const |
| Draw class inheritance tree of the class to which this object belongs.
|
|
virtual TObject * | DrawClone (Option_t *option="") const |
| Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1) .
|
|
virtual void | Dump () const |
| Dump contents of object on stdout.
|
|
virtual void | Error (const char *method, const char *msgfmt,...) const |
| Issue error message.
|
|
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| Execute method on this object with the given parameter string, e.g.
|
|
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| Execute method on this object with parameters stored in the TObjArray.
|
|
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| Execute action corresponding to an event at (px,py).
|
|
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| Issue fatal error message.
|
|
virtual TObject * | FindObject (const char *name) const |
| Must be redefined in derived classes.
|
|
virtual TObject * | FindObject (const TObject *obj) const |
| Must be redefined in derived classes.
|
|
virtual Option_t * | GetDrawOption () const |
| Get option used by the graphics system to draw this object.
|
|
virtual const char * | GetIconName () const |
| Returns mime type name of object.
|
|
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| Returns string containing info about the object at position (px,py).
|
|
virtual Option_t * | GetOption () const |
|
virtual UInt_t | GetUniqueID () const |
| Return the unique object id.
|
|
virtual Bool_t | HandleTimer (TTimer *timer) |
| Execute action in response of a timer timing out.
|
|
Bool_t | HasInconsistentHash () const |
| Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
|
|
virtual void | Info (const char *method, const char *msgfmt,...) const |
| Issue info message.
|
|
virtual Bool_t | InheritsFrom (const char *classname) const |
| Returns kTRUE if object inherits from class "classname".
|
|
virtual Bool_t | InheritsFrom (const TClass *cl) const |
| Returns kTRUE if object inherits from TClass cl.
|
|
virtual void | Inspect () const |
| Dump contents of this object in a graphics canvas.
|
|
void | InvertBit (UInt_t f) |
|
Bool_t | IsDestructed () const |
| IsDestructed.
|
|
virtual Bool_t | IsEqual (const TObject *obj) const |
| Default equal comparison (objects are equal if they have the same address in memory).
|
|
virtual Bool_t | IsFolder () const |
| Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
|
|
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
|
R__ALWAYS_INLINE Bool_t | IsZombie () const |
|
void | MayNotUse (const char *method) const |
| Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
|
|
virtual Bool_t | Notify () |
| This method must be overridden to handle object notification (the base implementation is no-op).
|
|
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| Use this method to declare a method obsolete.
|
|
void | operator delete (void *ptr) |
| Operator delete.
|
|
void | operator delete (void *ptr, void *vp) |
| Only called by placement new when throwing an exception.
|
|
void | operator delete[] (void *ptr) |
| Operator delete [].
|
|
void | operator delete[] (void *ptr, void *vp) |
| Only called by placement new[] when throwing an exception.
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *vp) |
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, void *vp) |
|
TObject & | operator= (const TObject &rhs) |
| TObject assignment operator.
|
|
virtual void | Pop () |
| Pop on object drawn in a pad to the top of the display list.
|
|
virtual Int_t | Read (const char *name) |
| Read contents of object with specified name from the current directory.
|
|
virtual void | RecursiveRemove (TObject *obj) |
| Recursively remove this object from a list.
|
|
void | ResetBit (UInt_t f) |
|
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| Save this object in the file specified by filename.
|
|
void | SetBit (UInt_t f) |
|
void | SetBit (UInt_t f, Bool_t set) |
| Set or unset the user status bits as specified in f.
|
|
virtual void | SetDrawOption (Option_t *option="") |
| Set drawing option for object.
|
|
virtual void | SetUniqueID (UInt_t uid) |
| Set the unique object id.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
virtual void | SysError (const char *method, const char *msgfmt,...) const |
| Issue system error message.
|
|
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
|
Int_t | TestBits (UInt_t f) const |
|
virtual void | UseCurrentStyle () |
| Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
|
|
virtual void | Warning (const char *method, const char *msgfmt,...) const |
| Issue warning message.
|
|
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| Write this object to the current directory.
|
|
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
| Write this object to the current directory.
|
|
| TAttLine () |
| AttLine default constructor.
|
|
| TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) |
| AttLine normal constructor.
|
|
virtual | ~TAttLine () |
| AttLine destructor.
|
|
void | Copy (TAttLine &attline) const |
| Copy this line attributes to a new TAttLine.
|
|
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
| Compute distance from point px,py to a line.
|
|
virtual Color_t | GetLineColor () const |
| Return the line color.
|
|
virtual Style_t | GetLineStyle () const |
| Return the line style.
|
|
virtual Width_t | GetLineWidth () const |
| Return the line width.
|
|
virtual void | Modify () |
| Change current line attributes if necessary.
|
|
virtual void | ResetAttLine (Option_t *option="") |
| Reset this line attributes to default values.
|
|
virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
| Save line attributes as C++ statement(s) on output stream out.
|
|
virtual void | SetLineAttributes () |
| Invoke the DialogCanvas Line attributes.
|
|
virtual void | SetLineColor (Color_t lcolor) |
| Set the line color.
|
|
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
| Set a transparent line color.
|
|
virtual void | SetLineStyle (Style_t lstyle) |
| Set the line style.
|
|
virtual void | SetLineWidth (Width_t lwidth) |
| Set the line width.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TAttFill () |
| AttFill default constructor.
|
|
| TAttFill (Color_t fcolor, Style_t fstyle) |
| AttFill normal constructor.
|
|
virtual | ~TAttFill () |
| AttFill destructor.
|
|
void | Copy (TAttFill &attfill) const |
| Copy this fill attributes to a new TAttFill.
|
|
virtual Color_t | GetFillColor () const |
| Return the fill area color.
|
|
virtual Style_t | GetFillStyle () const |
| Return the fill area style.
|
|
virtual Bool_t | IsTransparent () const |
|
virtual void | Modify () |
| Change current fill area attributes if necessary.
|
|
virtual void | ResetAttFill (Option_t *option="") |
| Reset this fill attributes to default values.
|
|
virtual void | SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001) |
| Save fill attributes as C++ statement(s) on output stream out.
|
|
virtual void | SetFillAttributes () |
| Invoke the DialogCanvas Fill attributes.
|
|
virtual void | SetFillColor (Color_t fcolor) |
| Set the fill area color.
|
|
virtual void | SetFillColorAlpha (Color_t fcolor, Float_t falpha) |
| Set a transparent fill color.
|
|
virtual void | SetFillStyle (Style_t fstyle) |
| Set the fill area style.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TAttMarker () |
| TAttMarker default constructor.
|
|
| TAttMarker (Color_t color, Style_t style, Size_t msize) |
| TAttMarker normal constructor.
|
|
virtual | ~TAttMarker () |
| TAttMarker destructor.
|
|
void | Copy (TAttMarker &attmarker) const |
| Copy this marker attributes to a new TAttMarker.
|
|
virtual Color_t | GetMarkerColor () const |
| Return the marker color.
|
|
virtual Size_t | GetMarkerSize () const |
| Return the marker size.
|
|
virtual Style_t | GetMarkerStyle () const |
| Return the marker style.
|
|
virtual void | Modify () |
| Change current marker attributes if necessary.
|
|
virtual void | ResetAttMarker (Option_t *toption="") |
| Reset this marker attributes to the default values.
|
|
virtual void | SaveMarkerAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1) |
| Save line attributes as C++ statement(s) on output stream out.
|
|
virtual void | SetMarkerAttributes () |
| Invoke the DialogCanvas Marker attributes.
|
|
virtual void | SetMarkerColor (Color_t mcolor=1) |
| Set the marker color.
|
|
virtual void | SetMarkerColorAlpha (Color_t mcolor, Float_t malpha) |
| Set a transparent marker color.
|
|
virtual void | SetMarkerSize (Size_t msize=1) |
| Set the marker size.
|
|
virtual void | SetMarkerStyle (Style_t mstyle=1) |
| Set the marker style.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TAttText () |
| AttText default constructor.
|
|
| TAttText (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize) |
| AttText normal constructor.
|
|
virtual | ~TAttText () |
| AttText destructor.
|
|
void | Copy (TAttText &atttext) const |
| Copy this text attributes to a new TAttText.
|
|
virtual Short_t | GetTextAlign () const |
| Return the text alignment.
|
|
virtual Float_t | GetTextAngle () const |
| Return the text angle.
|
|
virtual Color_t | GetTextColor () const |
| Return the text color.
|
|
virtual Font_t | GetTextFont () const |
| Return the text font.
|
|
virtual Float_t | GetTextSize () const |
| Return the text size.
|
|
virtual Float_t | GetTextSizePercent (Float_t size) |
| Return the text in percent of the pad size.
|
|
virtual void | Modify () |
| Change current text attributes if necessary.
|
|
virtual void | ResetAttText (Option_t *toption="") |
| Reset this text attributes to default values.
|
|
virtual void | SaveTextAttributes (std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1) |
| Save text attributes as C++ statement(s) on output stream out.
|
|
virtual void | SetTextAlign (Short_t align=11) |
| Set the text alignment.
|
|
virtual void | SetTextAngle (Float_t tangle=0) |
| Set the text angle.
|
|
virtual void | SetTextAttributes () |
| Invoke the DialogCanvas Text attributes.
|
|
virtual void | SetTextColor (Color_t tcolor=1) |
| Set the text color.
|
|
virtual void | SetTextColorAlpha (Color_t tcolor, Float_t talpha) |
| Set a transparent text color.
|
|
virtual void | SetTextFont (Font_t tfont=62) |
| Set the text font.
|
|
virtual void | SetTextSize (Float_t tsize=1) |
| Set the text size.
|
|
virtual void | SetTextSizePixels (Int_t npixels) |
| Set the text size in pixel.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|