ROOT   6.08/07 Reference Guide
THistPainter Class Reference

The histogram painter class.

Implements all histograms' drawing's options.

## Introduction

Histograms are drawn via the THistPainter class. Each histogram has a pointer to its own painter (to be usable in a multithreaded program). When the canvas has to be redrawn, the Paint function of each objects in the pad is called. In case of histograms, TH1::Paint invokes directly THistPainter::Paint.

To draw a histogram h it is enough to do:

h->Draw();


h can be of any kind: 1D, 2D or 3D. To choose how the histogram will be drawn, the Draw() method can be invoked with an option. For instance to draw a 2D histogram as a lego plot it is enough to do:

h->Draw("lego");


THistPainter offers many options to paint 1D, 2D and 3D histograms.

When the Draw() method of a histogram is called for the first time (TH1::Draw), it creates a THistPainter object and saves a pointer to this "painter" as a data member of the histogram. The THistPainter class specializes in the drawing of histograms. It is separated from the histogram so that one can have histograms without the graphics overhead, for example in a batch program. Each histogram having its own painter (rather than a central singleton painter painting all histograms), allows two histograms to be drawn in two threads without overwriting the painter's values.

When a displayed histogram is filled again, there is no need to call the Draw() method again; the image will be refreshed the next time the pad will be updated.

A pad is updated after one of these three actions:

1. a carriage control on the ROOT command line,
2. a click inside the pad,
3. a call to TPad::Update.

By default a call to TH1::Draw() clears the pad of all objects before drawing the new image of the histogram. One can use the SAME option to leave the previous display intact and superimpose the new histogram. The same histogram can be drawn with different graphics options in different pads.

When a displayed histogram is deleted, its image is automatically removed from the pad.

To create a copy of the histogram when drawing it, one can use TH1::DrawClone(). This will clone the histogram and allow to change and delete the original one without affecting the clone.

### Histograms' plotting options

Most options can be concatenated with or without spaces or commas, for example:

h->Draw("E1 SAME");


The options are not case sensitive:

h->Draw("e1 same");


The default drawing option can be set with TH1::SetOption and retrieve using TH1::GetOption:

root [0] h->Draw();          // Draw "h" using the standard histogram representation.
root [1] h->Draw("E");       // Draw "h" using error bars
root [3] h->SetOption("E");  // Change the default drawing option for "h"
root [4] h->Draw();          // Draw "h" using error bars
root [5] h->GetOption();     // Retrieve the default drawing option for "h"
(const Option_t* 0xa3ff948)"E"


#### Options supported for 1D and 2D histograms

Option Description
"E" Draw error bars.
"AXIS" Draw only axis.
"AXIG" Draw only grid (if the grid is requested).
"HIST" When an histogram has errors it is visualized by default with error bars. To visualize it without errors use the option "HIST" together with the required option (eg "hist same c"). The "HIST" option can also be used to plot only the histogram and not the associated function(s).
"FUNC" When an histogram has a fitted function, this option allows to draw the fit result only.
"SAME" Superimpose on previous picture in the same pad.
"LEGO" Draw a lego plot with hidden line removal.
"LEGO1" Draw a lego plot with hidden surface removal.
"LEGO2" Draw a lego plot using colors to show the cell contents When the option "0" is used with any LEGO option, the empty bins are not drawn.
"LEGO3" Draw a lego plot with hidden surface removal, like LEGO1 but the border lines of each lego-bar are not drawn.
"LEGO4" Draw a lego plot with hidden surface removal, like LEGO1 but without the shadow effect on each lego-bar.
"TEXT" Draw bin contents as text (format set via gStyle->SetPaintTextFormat).
"TEXTnn" Draw bin contents as text at angle nn (0 < nn < 90).
"X+" The X-axis is drawn on the top side of the plot.
"Y+" The Y-axis is drawn on the right side of the plot.

#### Options supported for 1D histograms

Option Description
" " Default.
"AH" Draw histogram without axis. "A" can be combined with any drawing option. For instance, "AC" draws the histogram as a smooth Curve without axis.
"][" When this option is selected the first and last vertical lines of the histogram are not drawn.
"B" Bar chart option.
"BAR" Like option "B", but bars can be drawn with a 3D effect.
"HBAR" Like option "BAR", but bars are drawn horizontally.
"C" Draw a smooth Curve through the histogram bins.
"E0" Draw error bars. Markers are drawn for bins with 0 contents.
"E1" Draw error bars with perpendicular lines at the edges.
"E2" Draw error bars with rectangles.
"E3" Draw a fill area through the end points of the vertical error bars.
"E4" Draw a smoothed filled area through the end points of the error bars.
"E5" Like E3 but ignore the bins with 0 contents.
"E6" Like E4 but ignore the bins with 0 contents.
"X0" When used with one of the "E" option, it suppress the error bar along X as gStyle->SetErrorX(0) would do.
"L" Draw a line through the bin contents.
"P" Draw current marker at each bin except empty bins.
"P0" Draw current marker at each bin including empty bins.
"PIE" Draw histogram as a Pie Chart.
"*H" Draw histogram with a * at each bin.
"LF2" Draw histogram like with option "L" but with a fill area. Note that "L" draws also a fill area if the hist fill color is set but the fill area corresponds to the histogram contour.

#### Options supported for 2D histograms

Option Description
" " Default (scatter plot).
"BOX" A box is drawn for each cell with surface proportional to the content's absolute value. A negative content is marked with a X.
"BOX1" A button is drawn for each cell with surface proportional to content's absolute value. A sunken button is drawn for negative values a raised one for positive.
"COL" A box is drawn for each cell with a color scale varying with contents. All the none empty bins are painted. Empty bins are not painted unless some bins have a negative content because in that case the null bins might be not empty. TProfile2D histograms are handled differently because, for this type of 2D histograms, it is possible to know if an empty bin has been filled or not. So even if all the bins' contents are positive some empty bins might be painted. And vice versa, if some bins have a negative content some empty bins might be not painted.
"COLZ" Same as "COL". In addition the color palette is also drawn.
"COL2" Alternative rendering algorithm to "COL". Can significantly improve rendering performance for large, non-sparse 2-D histograms.
"COLZ2" Same as "COL2". In addition the color palette is also drawn.
"CANDLE" Draw a candle plot along X axis.
"CANDLEX" Same as "CANDLE".
"CANDLEY" Draw a candle plot along Y axis.
"VIOLIN" Draw a violin plot along X axis.
"VIOLINX" Same as "VIOLIN".
"VIOLINY" Draw a violin plot along Y axis.
"CONT" Draw a contour plot (same as CONT0).
"CONT0" Draw a contour plot using surface colors to distinguish contours.
"CONT1" Draw a contour plot using line styles to distinguish contours.
"CONT2" Draw a contour plot using the same line style for all contours.
"CONT3" Draw a contour plot using fill area colors.
"CONT4" Draw a contour plot using surface colors (SURF option at theta = 0).
"CONT5" (TGraph2D only) Draw a contour plot using Delaunay triangles.
"LIST" Generate a list of TGraph objects for each contour.
"CYL" Use Cylindrical coordinates. The X coordinate is mapped on the angle and the Y coordinate on the cylinder length.
"POL" Use Polar coordinates. The X coordinate is mapped on the angle and the Y coordinate on the radius.
"SPH" Use Spherical coordinates. The X coordinate is mapped on the latitude and the Y coordinate on the longitude.
"PSR" Use PseudoRapidity/Phi coordinates. The X coordinate is mapped on Phi.
"SURF" Draw a surface plot with hidden line removal.
"SURF1" Draw a surface plot with hidden surface removal.
"SURF2" Draw a surface plot using colors to show the cell contents.
"SURF3" Same as SURF with in addition a contour view drawn on the top.
"SURF4" Draw a surface using Gouraud shading.
"SURF5" Same as SURF3 but only the colored contour is drawn. Used with option CYL, SPH or PSR it allows to draw colored contours on a sphere, a cylinder or a in pseudo rapidity space. In cartesian or polar coordinates, option SURF3 is used.
"FB" With LEGO or SURFACE, suppress the Front-Box.
"BB" With LEGO or SURFACE, suppress the Back-Box.
"A" With LEGO or SURFACE, suppress the axis.
"SCAT" Draw a scatter-plot (default).
"[cutg]" Draw only the sub-range selected by the TCutG named "cutg".

#### Options supported for 3D histograms

Option Description
" " Default (scatter plot).
"ISO" Draw a Gouraud shaded 3d iso surface through a 3d histogram. It paints one surface at the value computed as follow: SumOfWeights/(NbinsX*NbinsY*NbinsZ).
"BOX" Draw a for each cell with volume proportional to the content's absolute value.
"LEGO" Same as BOX.

#### Options supported for histograms' stacks (THStack)

Option Description
" " Default, the histograms are drawn on top of each other (as lego plots for 2D histograms).
"NOSTACK" Histograms in the stack are all paint in the same pad as if the option SAME had been specified.
"NOSTACKB" Histograms are drawn next to each other as bar charts.
"PADS" The current pad/canvas is subdivided into a number of pads equal to the number of histograms in the stack and each histogram is paint into a separate pad.

### Setting the Style

Histograms use the current style (gStyle). When one changes the current style and would like to propagate the changes to the histogram, TH1::UseCurrentStyle should be called. Call UseCurrentStyle on each histogram is needed.

To force all the histogram to use the current style use:

gROOT->ForceStyle();


All the histograms read after this call will use the current style.

### Setting line, fill, marker, and text attributes

The histogram classes inherit from the attribute classes: TAttLine, TAttFill and TAttMarker. See the description of these classes for the list of options.

### Setting Tick marks on the histogram axis

The TPad::SetTicks method specifies the type of tick marks on the axis. If tx = gPad->GetTickx() and ty = gPad->GetTicky() then:

tx = 1;   tick marks on top side are drawn (inside)
tx = 2;   tick marks and labels on top side are drawn
ty = 1;   tick marks on right side are drawn (inside)
ty = 2;   tick marks and labels on right side are drawn


By default only the left Y axis and X bottom axis are drawn (tx = ty = 0)

TPad::SetTicks(tx,ty) allows to set these options. See also The TAxis functions to set specific axis attributes.

In case multiple color filled histograms are drawn on the same pad, the fill area may hide the axis tick marks. One can force a redraw of the axis over all the histograms by calling:

gPad->RedrawAxis();


### Giving titles to the X, Y and Z axis

h->GetXaxis()->SetTitle("X axis title");
h->GetYaxis()->SetTitle("Y axis title");


The histogram title and the axis titles can be any TLatex string. The titles are part of the persistent histogram.

### The option "SAME"

By default, when an histogram is drawn, the current pad is cleared before drawing. In order to keep the previous drawing and draw on top of it the option SAME should be use. The histogram drawn with the option SAME uses the coordinates system available in the current pad.

This option can be used alone or combined with any valid drawing option but some combinations must be use with care.

#### Limitations

• It does not work when combined with the LEGO and SURF options unless the histogram plotted with the option SAME has exactly the same ranges on the X, Y and Z axis as the currently drawn histogram. To superimpose lego plots histograms' stacks should be used.

### Superimposing two histograms with different scales in the same pad

The following example creates two histograms, the second histogram is the bins integral of the first one. It shows a procedure to draw the two histograms in the same pad and it draws the scale of the second histogram using a new vertical axis on the right side. See also the tutorial transpad.C for a variant of this example.

{
TCanvas *c1 = new TCanvas("c1","c1",600,400);
// create/fill draw h1
TH1F *h1 = new TH1F("h1","Superimposing two histograms with different scales",100,-3,3);
Int_t i;
for (i=0;i<10000;i++) h1->Fill(gRandom->Gaus(0,1));
h1->Draw();
c1->Update();
// create hint1 filled with the bins integral of h1
TH1F *hint1 = new TH1F("hint1","h1 bins integral",100,-3,3);
Float_t sum = 0;
for (i=1;i<=100;i++) {
sum += h1->GetBinContent(i);
hint1->SetBinContent(i,sum);
}
// scale hint1 to the pad coordinates
Float_t rightmax = 1.1*hint1->GetMaximum();
hint1->SetLineColor(kRed);
hint1->Scale(scale);
hint1->Draw("same");
// draw an axis on the right side
axis->Draw();
return c1;
}

### Statistics Display

The type of information shown in the histogram statistics box can be selected with:

gStyle->SetOptStat(mode);


The mode has up to nine digits that can be set to on (1 or 2), off (0).

mode = ksiourmen  (default = 000001111)
k = 1;  kurtosis printed
k = 2;  kurtosis and kurtosis error printed
s = 1;  skewness printed
s = 2;  skewness and skewness error printed
i = 1;  integral of bins printed
i = 2;  integral of bins with option "width" printed
o = 1;  number of overflows printed
u = 1;  number of underflows printed
r = 1;  standard deviation printed
r = 2;  standard deviation and standard deviation error printed
m = 1;  mean value printed
m = 2;  mean and mean error values printed
e = 1;  number of entries printed
n = 1;  name of histogram is printed


For example:

gStyle->SetOptStat(11);


displays only the name of histogram and the number of entries, whereas:

gStyle->SetOptStat(1101);


displays the name of histogram, mean value and standard deviation.

WARNING 1: never do:

gStyle->SetOptStat(0001111);


gStyle->SetOptStat(1111);


because 0001111 will be taken as an octal number!

WARNING 2: for backward compatibility with older versions

gStyle->SetOptStat(1);


is taken as:

gStyle->SetOptStat(1111)


To print only the name of the histogram do:

gStyle->SetOptStat(1000000001);


NOTE that in case of 2D histograms, when selecting only underflow (10000) or overflow (100000), the statistics box will show all combinations of underflow/overflows and not just one single number.

The parameter mode can be any combination of the letters kKsSiIourRmMen

k :  kurtosis printed
K :  kurtosis and kurtosis error printed
s :  skewness printed
S :  skewness and skewness error printed
i :  integral of bins printed
I :  integral of bins with option "width" printed
o :  number of overflows printed
u :  number of underflows printed
r :  standard deviation printed
R :  standard deviation and standard deviation error printed
m :  mean value printed
M :  mean value mean error values printed
e :  number of entries printed
n :  name of histogram is printed


For example, to print only name of histogram and number of entries do:

gStyle->SetOptStat("ne");


To print only the name of the histogram do:

gStyle->SetOptStat("n");


The default value is:

gStyle->SetOptStat("nemr");


When a histogram is painted, a TPaveStats object is created and added to the list of functions of the histogram. If a TPaveStats object already exists in the histogram list of functions, the existing object is just updated with the current histogram parameters.

Once a histogram is painted, the statistics box can be accessed using h->FindObject("stats"). In the command line it is enough to do:

Root > h->Draw()
Root > TPaveStats *st = (TPaveStats*)h->FindObject("stats")


because after h->Draw() the histogram is automatically painted. But in a script file the painting should be forced using gPad->Update() in order to make sure the statistics box is created:

h->Draw();
TPaveStats *st = (TPaveStats*)h->FindObject("stats");


Without gPad->Update() the line h->FindObject("stats") returns a null pointer.

When a histogram is drawn with the option SAME, the statistics box is not drawn. To force the statistics box drawing with the option SAME, the option SAMES must be used. If the new statistics box hides the previous statistics box, one can change its position with these lines (h being the pointer to the histogram):

Root > TPaveStats *st = (TPaveStats*)h->FindObject("stats")
Root > st->SetX1NDC(newx1); //new x start position
Root > st->SetX2NDC(newx2); //new x end position


To change the type of information for an histogram with an existing TPaveStats one should do:

st->SetOptStat(mode);


Where mode has the same meaning than when calling gStyle->SetOptStat(mode) (see above).

One can delete the statistics box for a histogram TH1* h with:

h->SetStats(0)


and activate it again with:

h->SetStats(1).


#### TH3 as boxes (spheres)

The supported options are:

Option Description
"GLBOX" TH3 as a set of boxes, size of box is proportional to bin content.
"GLBOX1" The same as "glbox", but spheres are drawn instead of boxes.

#### TH3 as iso-surface(s)

The supported option is:

Option Description
"GLISO" TH3 is drawn using iso-surfaces.

#### TF3 (implicit function)

The supported option is:

Option Description
"GLTF3" Draw a TF3.

#### Parametric surfaces

\$ROOTSYS/tutorials/gl/glparametric.C shows how to create parametric equations and visualize the surface.

#### Interaction with the plots

All the interactions are implemented via standard methods DistancetoPrimitive() and ExecuteEvent(). That's why all the interactions with the OpenGL plots are possible only when the mouse cursor is in the plot's area (the plot's area is the part of a the pad occupied by gl-produced picture). If the mouse cursor is not above gl-picture, the standard pad interaction is performed.

#### Selectable parts

Different parts of the plot can be selected:

• xoz, yoz, xoy back planes: When such a plane selected, it's highlighted in green if the dynamic slicing by this plane is supported, and it's highlighted in red, if the dynamic slicing is not supported.
• The plot itself: On surfaces, the selected surface is outlined in red. (TF3 and ISO are not outlined). On lego plots, the selected bin is highlighted. The bin number and content are displayed in pad's status bar. In box plots, the box or sphere is highlighted and the bin info is displayed in pad's status bar.

#### Rotation and zooming

• Rotation: When the plot is selected, it can be rotated by pressing and holding the left mouse button and move the cursor.
• Zoom/Unzoom: Mouse wheel or 'j', 'J', 'k', 'K' keys.

#### Panning

The selected plot can be moved in a pad's area by pressing and holding the left mouse button and the shift key.

#### Box cut

Surface, iso, box, TF3 and parametric painters support box cut by pressing the 'c' or 'C' key when the mouse cursor is in a plot's area. That will display a transparent box, cutting away part of the surface (or boxes) in order to show internal part of plot. This box can be moved inside the plot's area (the full size of the box is equal to the plot's surrounding box) by selecting one of the box cut axes and pressing the left mouse button to move it.

#### Plot specific interactions (dynamic slicing etc.)

Currently, all gl-plots support some form of slicing. When back plane is selected (and if it's highlighted in green) you can press and hold left mouse button and shift key and move this back plane inside plot's area, creating the slice. During this "slicing" plot becomes semi-transparent. To remove all slices (and projected curves for surfaces) double click with left mouse button in a plot's area.

#### Surface with option "GLSURF"

The surface profile is displayed on the slicing plane. The profile projection is drawn on the back plane by pressing 'p' or 'P' key.

#### TF3

The contour plot is drawn on the slicing plane. For TF3 the color scheme can be changed by pressing 's' or 'S'.

#### Box

The contour plot corresponding to slice plane position is drawn in real time.

#### Iso

Slicing is similar to "GLBOX" option.

#### Parametric plot

No slicing. Additional keys: 's' or 'S' to change color scheme - about 20 color schemes supported ('s' for "scheme"); 'l' or 'L' to increase number of polygons ('l' for "level" of details), 'w' or 'W' to show outlines ('w' for "wireframe").

Definition at line 51 of file THistPainter.h.

## Public Member Functions

THistPainter ()
Default constructor. More...

virtual ~THistPainter ()
Default destructor. More...

virtual std::vector< THistRenderingRegionComputeRenderingRegions (TAxis *pAxis, Int_t nPixels, bool isLog)
Returns the rendering regions for an axis to use in the COL2 option. More...

virtual void DefineColorLevels (Int_t ndivz)
Define the color levels used to paint legos, surfaces etc.. More...

virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
Compute the distance from the point px,py to a line. More...

virtual void DrawPanel ()
Display a panel with all histogram drawing options. More...

virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
Execute the actions corresponding to event. More...

virtual TListGetContourList (Double_t contour) const
Get a contour (as a list of TGraphs) using the Delaunay triangulation. More...

virtual char * GetObjectInfo (Int_t px, Int_t py) const
Display the histogram info (bin number, contents, integral up to bin corresponding to cursor position px,py. More...

virtual TListGetStack () const

virtual Bool_t IsInside (Int_t x, Int_t y)
Return kTRUE if the cell ix, iy is inside one of the graphical cuts. More...

virtual Bool_t IsInside (Double_t x, Double_t y)
Return kTRUE if the point x, y is inside one of the graphical cuts. More...

virtual Int_t MakeChopt (Option_t *option)
Decode string choptin and fill Hoption structure. More...

virtual Int_t MakeCuts (char *cutsopt)
Decode string choptin and fill Graphical cuts structure. More...

virtual void Paint (Option_t *option="")
Control routine to paint any kind of histograms More...

virtual void Paint2DErrors (Option_t *option)
Draw 2D histograms errors. More...

virtual void PaintArrows (Option_t *option)
Control function to draw a table as an arrow plot More...

virtual void PaintAxis (Bool_t drawGridOnly=kFALSE)
Draw axis (2D case) of an histogram. More...

virtual void PaintBar (Option_t *option)
Draw a bar-chart in a normal pad. More...

virtual void PaintBarH (Option_t *option)
Draw a bar char in a rotated pad (X vertical, Y horizontal) More...

virtual void PaintBoxes (Option_t *option)
Control function to draw a 2D histogram as a box plot More...

virtual void PaintCandlePlot (Option_t *option)
Control function to draw a 2D histogram as a candle (box) plot. More...

virtual void PaintColorLevels (Option_t *option)
Control function to draw a 2D histogram as a color plot. More...

virtual void PaintColorLevelsFast (Option_t *option)
Rendering scheme for the COL2 and COLZ2 options More...

virtual void PaintContour (Option_t *option)
Control function to draw a 2D histogram as a contour plot. More...

virtual Int_t PaintContourLine (Double_t elev1, Int_t icont1, Double_t x1, Double_t y1, Double_t elev2, Int_t icont2, Double_t x2, Double_t y2, Double_t *xarr, Double_t *yarr, Int_t *itarr, Double_t *levels)
Fill the matrix xarr and yarr for Contour Plot. More...

virtual void PaintErrors (Option_t *option)
Draw 1D histograms error bars. More...

virtual void PaintFrame ()
Calculate range and clear pad (canvas). More...

virtual void PaintFunction (Option_t *option)
Paint functions associated to an histogram. More...

virtual void PaintH3 (Option_t *option="")
Control function to draw a 3D histograms. More...

virtual void PaintH3Iso ()
Control function to draw a 3D histogram with Iso Surfaces. More...

virtual void PaintHist (Option_t *option)
Control routine to draw 1D histograms More...

virtual Int_t PaintInit ()
Compute histogram parameters used by the drawing routines. More...

virtual Int_t PaintInitH ()
Compute histogram parameters used by the drawing routines for a rotated pad. More...

virtual void PaintLego (Option_t *option)
Control function to draw a 2D histogram as a lego plot. More...

virtual void PaintLegoAxis (TGaxis *axis, Double_t ang)
Draw the axis for legos and surface plots. More...

virtual void PaintPalette ()
Paint the color palette on the right side of the pad. More...

virtual void PaintScatterPlot (Option_t *option)
Control function to draw a 2D histogram as a scatter plot. More...

virtual void PaintStat (Int_t dostat, TF1 *fit)
Draw the statistics box for 1D and profile histograms. More...

virtual void PaintStat2 (Int_t dostat, TF1 *fit)
Draw the statistics box for 2D histograms. More...

virtual void PaintStat3 (Int_t dostat, TF1 *fit)
Draw the statistics box for 3D histograms. More...

virtual void PaintSurface (Option_t *option)
Control function to draw a 2D histogram as a surface plot. More...

virtual void PaintTable (Option_t *option)
Control function to draw 2D/3D histograms (tables). More...

virtual void PaintText (Option_t *option)
Control function to draw a 1D/2D histograms with the bin values. More...

virtual void PaintTF3 ()
Control function to draw a 3D implicit functions. More...

virtual void PaintTH2PolyBins (Option_t *option)
Control function to draw a TH2Poly bins' contours. More...

virtual void PaintTH2PolyColorLevels (Option_t *option)
Control function to draw a TH2Poly as a color plot. More...

virtual void PaintTH2PolyScatterPlot (Option_t *option)
Control function to draw a TH2Poly as a scatter plot. More...

virtual void PaintTH2PolyText (Option_t *option)
Control function to draw a TH2Poly as a text plot. More...

virtual void PaintTitle ()
Draw the histogram title. More...

virtual void PaintTriangles (Option_t *option)
Control function to draw a table using Delaunay triangles. More...

virtual void PaintViolinPlot (Option_t *option)
Control function to draw a 2D histogram as a violin plot More...

virtual void ProcessMessage (const char *mess, const TObject *obj)
Process message mess. More...

virtual void RecalculateRange ()
Recompute the histogram range following graphics operations. More...

virtual void RecursiveRemove (TObject *)
Recursively remove this object from a list. More...

virtual void SetHistogram (TH1 *h)
Set current histogram to h More...

virtual void SetShowProjection (const char *option, Int_t nbins)
Set projection. More...

virtual void SetStack (TList *stack)

virtual void ShowProjection3 (Int_t px, Int_t py)
Show projection (specified by fShowProjection) of a TH3. More...

virtual void ShowProjectionX (Int_t px, Int_t py)
Show projection onto X. More...

virtual void ShowProjectionY (Int_t px, Int_t py)
Show projection onto Y. More...

virtual Int_t TableInit ()
Initialize various options to draw 2D histograms. More...

Public Member Functions inherited from TVirtualHistPainter
TVirtualHistPainter ()

virtual ~TVirtualHistPainter ()

Public Member Functions inherited from TObject
TObject ()
TObject constructor. More...

TObject (const TObject &object)
TObject copy ctor. More...

virtual ~TObject ()
TObject destructor. More...

void AbstractMethod (const char *method) const
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...

Append graphics object to current pad. More...

virtual void Browse (TBrowser *b)
Browse object. May be overridden for another default action. More...

virtual const char * ClassName () const
Returns name of class to which the object belongs. More...

virtual void Clear (Option_t *="")

virtual TObjectClone (const char *newname="") const
Make a clone of an object using the Streamer facility. More...

virtual Int_t Compare (const TObject *obj) const
Compare abstract method. More...

virtual void Copy (TObject &object) const
Copy this to obj. More...

virtual void Delete (Option_t *option="")
Delete this object. More...

virtual void Draw (Option_t *option="")
Default Draw method for all objects. More...

virtual void DrawClass () const
Draw class inheritance tree of the class to which this object belongs. More...

virtual TObjectDrawClone (Option_t *option="") const
Draw a clone of this object in the current pad. More...

virtual void Dump () const
Dump contents of object on stdout. More...

virtual void Error (const char *method, const char *msgfmt,...) const
Issue error message. More...

virtual void Execute (const char *method, const char *params, Int_t *error=0)
Execute method on this object with the given parameter string, e.g. More...

virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
Execute method on this object with parameters stored in the TObjArray. More...

virtual void Fatal (const char *method, const char *msgfmt,...) const
Issue fatal error message. More...

virtual TObjectFindObject (const char *name) const
Must be redefined in derived classes. More...

virtual TObjectFindObject (const TObject *obj) const
Must be redefined in derived classes. More...

virtual Option_tGetDrawOption () const
Get option used by the graphics system to draw this object. More...

virtual const char * GetIconName () const
Returns mime type name of object. More...

virtual const char * GetName () const
Returns name of object. More...

virtual Option_tGetOption () const

virtual const char * GetTitle () const
Returns title of object. More...

virtual UInt_t GetUniqueID () const
Return the unique object id. More...

virtual Bool_t HandleTimer (TTimer *timer)
Execute action in response of a timer timing out. More...

virtual ULong_t Hash () const
Return hash value for this object. More...

virtual void Info (const char *method, const char *msgfmt,...) const
Issue info message. More...

virtual Bool_t InheritsFrom (const char *classname) const
Returns kTRUE if object inherits from class "classname". More...

virtual Bool_t InheritsFrom (const TClass *cl) const
Returns kTRUE if object inherits from TClass cl. More...

virtual void Inspect () const
Dump contents of this object in a graphics canvas. More...

void InvertBit (UInt_t f)

virtual Bool_t IsEqual (const TObject *obj) const
Default equal comparison (objects are equal if they have the same address in memory). More...

virtual Bool_t IsFolder () const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...

Bool_t IsOnHeap () const

virtual Bool_t IsSortable () const

Bool_t IsZombie () const

virtual void ls (Option_t *option="") const
The ls function lists the contents of a class on stdout. More...

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). More...

virtual Bool_t Notify ()
This method must be overridden to handle object notification. More...

void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
Use this method to declare a method obsolete. More...

void operator delete (void *ptr)
Operator delete. More...

void operator delete[] (void *ptr)
Operator delete []. More...

voidoperator new (size_t sz)

voidoperator new (size_t sz, void *vp)

voidoperator new[] (size_t sz)

voidoperator new[] (size_t sz, void *vp)

TObjectoperator= (const TObject &rhs)
TObject assignment operator. More...

virtual void Pop ()
Pop on object drawn in a pad to the top of the display list. More...

virtual void Print (Option_t *option="") const
This method must be overridden when a class wants to print itself. More...

virtual Int_t Read (const char *name)
Read contents of object with specified name from the current directory. More...

void ResetBit (UInt_t f)

virtual void SaveAs (const char *filename="", Option_t *option="") const
Save this object in the file specified by filename. More...

virtual void SavePrimitive (std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out". More...

void SetBit (UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f. More...

void SetBit (UInt_t f)

virtual void SetDrawOption (Option_t *option="")
Set drawing option for object. More...

virtual void SetUniqueID (UInt_t uid)
Set the unique object id. More...

virtual void SysError (const char *method, const char *msgfmt,...) const
Issue system error message. More...

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. More...

virtual void Warning (const char *method, const char *msgfmt,...) const
Issue warning message. More...

virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory. More...

virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
Write this object to the current directory. More...

## Static Public Member Functions

static const char * GetBestFormat (Double_t v, Double_t e, const char *f)
This function returns the best format to print the error value (e) knowing the parameter value (v) and the format (f) used to print it. More...

static void PaintSpecialObjects (const TObject *obj, Option_t *option)
Static function to paint special objects like vectors and matrices. More...

static Int_t ProjectAitoff2xy (Double_t l, Double_t b, Double_t &Al, Double_t &Ab)
Static function. More...

static Int_t ProjectMercator2xy (Double_t l, Double_t b, Double_t &Al, Double_t &Ab)
Static function. More...

static Int_t ProjectParabolic2xy (Double_t l, Double_t b, Double_t &Al, Double_t &Ab)
Static function code from Ernst-Jan Buis. More...

static Int_t ProjectSinusoidal2xy (Double_t l, Double_t b, Double_t &Al, Double_t &Ab)
Static function code from Ernst-Jan Buis. More...

Static Public Member Functions inherited from TVirtualHistPainter
static TVirtualHistPainterHistPainter (TH1 *obj)
Static function returning a pointer to the current histogram painter. More...

static void SetPainter (const char *painter)
Static function to set an alternative histogram painter. More...

Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
Return destructor only flag. More...

static Bool_t GetObjectStat ()
Get status of object stat flag. More...

static void SetDtorOnly (void *obj)
Set destructor only flag. More...

static void SetObjectStat (Bool_t stat)
Turn on/off tracking of objects in the TObjectTable. More...

## Protected Attributes

TCutGfCuts [kMaxCuts]

Int_t fCutsOpt [kMaxCuts]

TListfFunctions

TGraph2DPainterfGraph2DPainter

TH1fH

TPainter3dAlgorithmsfLego

Int_t fNcuts

TPiefPie

TString fShowOption

Int_t fShowProjection

TListfStack

TAxisfXaxis

Double_tfXbuf

TAxisfYaxis

Double_tfYbuf

TAxisfZaxis

Public Types inherited from TObject
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }

enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }

enum  EStatusBits {
kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}

Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
Interface to ErrorHandler (protected). More...

void MakeZombie ()

#include <THistPainter.h>

Inheritance diagram for THistPainter:
[legend]

## ◆ THistPainter()

 THistPainter::THistPainter ( )

Default constructor.

Definition at line 2764 of file THistPainter.cxx.

## ◆ ~THistPainter()

 THistPainter::~THistPainter ( )
virtual

Default destructor.

Definition at line 2812 of file THistPainter.cxx.

## ◆ ComputeRenderingRegions()

 std::vector< THistRenderingRegion > THistPainter::ComputeRenderingRegions ( TAxis * pAxis, Int_t nPixels, bool isLog )
virtual

Returns the rendering regions for an axis to use in the COL2 option.

The algorithm analyses the size of the axis compared to the size of the rendering region. It figures out the boundaries to use for each color of the rendering region. Only one axis is computed here.

This allows for a single computation of the boundaries before iterating through all of the bins.

Parameters
 pAxis the axis to consider nPixels the number of pixels to render axis into isLog whether the axis is log scale

Definition at line 4883 of file THistPainter.cxx.

## ◆ DefineColorLevels()

 void THistPainter::DefineColorLevels ( Int_t ndivz )
virtual

Define the color levels used to paint legos, surfaces etc..

Definition at line 8538 of file THistPainter.cxx.

## ◆ DistancetoPrimitive()

 Int_t THistPainter::DistancetoPrimitive ( Int_t px, Int_t py )
virtual

Compute the distance from the point px,py to a line.

Compute the closest distance of approach from point px,py to elements of an histogram. The distance is computed in pixels units.

Algorithm: Currently, this simple model computes the distance from the mouse to the histogram contour only.

Implements TVirtualHistPainter.

Definition at line 2825 of file THistPainter.cxx.

## ◆ DrawPanel()

 void THistPainter::DrawPanel ( )
virtual

Display a panel with all histogram drawing options.

Implements TVirtualHistPainter.

Definition at line 3008 of file THistPainter.cxx.

## ◆ ExecuteEvent()

 void THistPainter::ExecuteEvent ( Int_t event, Int_t px, Int_t py )
virtual

Execute the actions corresponding to event.

This function is called when a histogram is clicked with the locator at the pixel position px,py.

Implements TVirtualHistPainter.

Definition at line 3028 of file THistPainter.cxx.

## ◆ GetBestFormat()

 const char * THistPainter::GetBestFormat ( Double_t v, Double_t e, const char * f )
static

This function returns the best format to print the error value (e) knowing the parameter value (v) and the format (f) used to print it.

Definition at line 9623 of file THistPainter.cxx.

## ◆ GetContourList()

 TList * THistPainter::GetContourList ( Double_t contour ) const
virtual

Get a contour (as a list of TGraphs) using the Delaunay triangulation.

Implements TVirtualHistPainter.

Definition at line 3254 of file THistPainter.cxx.

## ◆ GetObjectInfo()

 char * THistPainter::GetObjectInfo ( Int_t px, Int_t py ) const
virtual

Display the histogram info (bin number, contents, integral up to bin corresponding to cursor position px,py.

Implements TVirtualHistPainter.

Definition at line 3282 of file THistPainter.cxx.

## ◆ GetStack()

 virtual TList* THistPainter::GetStack ( ) const
inlinevirtual

Implements TVirtualHistPainter.

Definition at line 80 of file THistPainter.h.

## ◆ IsInside() [1/2]

 Bool_t THistPainter::IsInside ( Int_t x, Int_t y )
virtual

Return kTRUE if the cell ix, iy is inside one of the graphical cuts.

Implements TVirtualHistPainter.

Definition at line 3409 of file THistPainter.cxx.

## ◆ IsInside() [2/2]

 Bool_t THistPainter::IsInside ( Double_t x, Double_t y )
virtual

Return kTRUE if the point x, y is inside one of the graphical cuts.

Implements TVirtualHistPainter.

Definition at line 3427 of file THistPainter.cxx.

## ◆ MakeChopt()

 Int_t THistPainter::MakeChopt ( Option_t * option )
virtual

Decode string choptin and fill Hoption structure.

Definition at line 3443 of file THistPainter.cxx.

## ◆ MakeCuts()

 Int_t THistPainter::MakeCuts ( char * cutsopt )
virtual

Decode string choptin and fill Graphical cuts structure.

Implements TVirtualHistPainter.

Definition at line 3800 of file THistPainter.cxx.

## ◆ Paint()

 void THistPainter::Paint ( Option_t * option = "" )
virtual

Implements TVirtualHistPainter.

Definition at line 3847 of file THistPainter.cxx.

## ◆ Paint2DErrors()

 void THistPainter::Paint2DErrors ( Option_t * option )
virtual

Draw 2D histograms errors.

Definition at line 5982 of file THistPainter.cxx.

## ◆ PaintArrows()

 void THistPainter::PaintArrows ( Option_t * option )
virtual

Definition at line 4035 of file THistPainter.cxx.

## ◆ PaintAxis()

 void THistPainter::PaintAxis ( Bool_t drawGridOnly = kFALSE )
virtual

Draw axis (2D case) of an histogram.

If drawGridOnly is TRUE, only the grid is painted (if needed). This allows to draw the grid and the axis separately. In THistPainter::Paint this feature is used to make sure that the grid is drawn in the background and the axis tick marks in the foreground of the pad.

Definition at line 4129 of file THistPainter.cxx.

## ◆ PaintBar()

 void THistPainter::PaintBar ( Option_t * option )
virtual

Definition at line 4406 of file THistPainter.cxx.

## ◆ PaintBarH()

 void THistPainter::PaintBarH ( Option_t * option )
virtual

Definition at line 4452 of file THistPainter.cxx.

## ◆ PaintBoxes()

 void THistPainter::PaintBoxes ( Option_t * option )
virtual

Definition at line 4525 of file THistPainter.cxx.

## ◆ PaintCandlePlot()

 void THistPainter::PaintCandlePlot ( Option_t * option )
virtual

Definition at line 4704 of file THistPainter.cxx.

## ◆ PaintColorLevels()

 void THistPainter::PaintColorLevels ( Option_t * option )
virtual

Definition at line 5169 of file THistPainter.cxx.

## ◆ PaintColorLevelsFast()

 void THistPainter::PaintColorLevelsFast ( Option_t * option )
virtual

Definition at line 4988 of file THistPainter.cxx.

## ◆ PaintContour()

 void THistPainter::PaintContour ( Option_t * option )
virtual

Definition at line 5308 of file THistPainter.cxx.

## ◆ PaintContourLine()

 Int_t THistPainter::PaintContourLine ( Double_t elev1, Int_t icont1, Double_t x1, Double_t y1, Double_t elev2, Int_t icont2, Double_t x2, Double_t y2, Double_t * xarr, Double_t * yarr, Int_t * itarr, Double_t * levels )
virtual

Fill the matrix xarr and yarr for Contour Plot.

Definition at line 5649 of file THistPainter.cxx.

## ◆ PaintErrors()

 void THistPainter::PaintErrors ( Option_t * option )
virtual

Definition at line 5706 of file THistPainter.cxx.

## ◆ PaintFrame()

 void THistPainter::PaintFrame ( )
virtual

Calculate range and clear pad (canvas).

Definition at line 6143 of file THistPainter.cxx.

## ◆ PaintFunction()

 void THistPainter::PaintFunction ( Option_t * option )
virtual

Definition at line 6166 of file THistPainter.cxx.

## ◆ PaintH3()

 void THistPainter::PaintH3 ( Option_t * option = "" )
virtual

Definition at line 6348 of file THistPainter.cxx.

## ◆ PaintH3Iso()

 void THistPainter::PaintH3Iso ( )
virtual

Definition at line 6828 of file THistPainter.cxx.

## ◆ PaintHist()

 void THistPainter::PaintHist ( Option_t * option )
virtual

Definition at line 6206 of file THistPainter.cxx.

## ◆ PaintInit()

 Int_t THistPainter::PaintInit ( )
virtual

Compute histogram parameters used by the drawing routines.

Definition at line 6427 of file THistPainter.cxx.

## ◆ PaintInitH()

 Int_t THistPainter::PaintInitH ( )
virtual

Compute histogram parameters used by the drawing routines for a rotated pad.

Definition at line 6663 of file THistPainter.cxx.

## ◆ PaintLego()

 void THistPainter::PaintLego ( Option_t * option )
virtual

Definition at line 6946 of file THistPainter.cxx.

## ◆ PaintLegoAxis()

 void THistPainter::PaintLegoAxis ( TGaxis * axis, Double_t ang )
virtual

Draw the axis for legos and surface plots.

Definition at line 7155 of file THistPainter.cxx.

## ◆ PaintPalette()

 void THistPainter::PaintPalette ( )
virtual

Definition at line 7337 of file THistPainter.cxx.

## ◆ PaintScatterPlot()

 void THistPainter::PaintScatterPlot ( Option_t * option )
virtual

Definition at line 7376 of file THistPainter.cxx.

## ◆ PaintSpecialObjects()

 void THistPainter::PaintSpecialObjects ( const TObject * obj, Option_t * option )
static

Static function to paint special objects like vectors and matrices.

This function is called via gROOT->ProcessLine to paint these objects without having a direct dependency of the graphics or histogramming system.

Definition at line 7492 of file THistPainter.cxx.

## ◆ PaintStat()

 void THistPainter::PaintStat ( Int_t dostat, TF1 * fit )
virtual

Implements TVirtualHistPainter.

Definition at line 7530 of file THistPainter.cxx.

## ◆ PaintStat2()

 void THistPainter::PaintStat2 ( Int_t dostat, TF1 * fit )
virtual

Definition at line 7753 of file THistPainter.cxx.

## ◆ PaintStat3()

 void THistPainter::PaintStat3 ( Int_t dostat, TF1 * fit )
virtual

Definition at line 7972 of file THistPainter.cxx.

## ◆ PaintSurface()

 void THistPainter::PaintSurface ( Option_t * option )
virtual

Definition at line 8189 of file THistPainter.cxx.

## ◆ PaintTable()

 void THistPainter::PaintTable ( Option_t * option )
virtual

Definition at line 8566 of file THistPainter.cxx.

## ◆ PaintText()

 void THistPainter::PaintText ( Option_t * option )
virtual

Definition at line 8979 of file THistPainter.cxx.

## ◆ PaintTF3()

 void THistPainter::PaintTF3 ( )
virtual

Definition at line 9076 of file THistPainter.cxx.

## ◆ PaintTH2PolyBins()

 void THistPainter::PaintTH2PolyBins ( Option_t * option )
virtual

Control function to draw a TH2Poly bins' contours.

• option = "F" draw the bins as filled areas.
• option = "L" draw the bins as line.
• option = "P" draw the bins as markers.

Definition at line 8654 of file THistPainter.cxx.

## ◆ PaintTH2PolyColorLevels()

 void THistPainter::PaintTH2PolyColorLevels ( Option_t * option )
virtual

Definition at line 8711 of file THistPainter.cxx.

## ◆ PaintTH2PolyScatterPlot()

 void THistPainter::PaintTH2PolyScatterPlot ( Option_t * option )
virtual

Definition at line 8807 of file THistPainter.cxx.

## ◆ PaintTH2PolyText()

 void THistPainter::PaintTH2PolyText ( Option_t * option )
virtual

Definition at line 8920 of file THistPainter.cxx.

## ◆ PaintTitle()

 void THistPainter::PaintTitle ( )
virtual

Draw the histogram title.

The title is drawn according to the title alignment returned by GetTitleAlign(). It is a 2 digits integer): hv

where h is the horizontal alignment and v is the vertical alignment.

• h can get the values 1 2 3 for left, center, and right
• v can get the values 1 2 3 for bottom, middle and top

for instance the default alignment is: 13 (left top)

Definition at line 9146 of file THistPainter.cxx.

## ◆ PaintTriangles()

 void THistPainter::PaintTriangles ( Option_t * option )
virtual

Control function to draw a table using Delaunay triangles.

Definition at line 8438 of file THistPainter.cxx.

## ◆ PaintViolinPlot()

 void THistPainter::PaintViolinPlot ( Option_t * option )
virtual

Definition at line 4759 of file THistPainter.cxx.

## ◆ ProcessMessage()

 void THistPainter::ProcessMessage ( const char * mess, const TObject * obj )
virtual

Process message mess.

Implements TVirtualHistPainter.

Definition at line 9222 of file THistPainter.cxx.

## ◆ ProjectAitoff2xy()

 Int_t THistPainter::ProjectAitoff2xy ( Double_t l, Double_t b, Double_t & Al, Double_t & Ab )
static

Static function.

Convert Right Ascension, Declination to X,Y using an AITOFF projection. This procedure can be used to create an all-sky map in Galactic coordinates with an equal-area Aitoff projection. Output map coordinates are zero longitude centered. Also called Hammer-Aitoff projection (first presented by Ernst von Hammer in 1892)

source: GMT

code from Ernst-Jan Buis

Definition at line 9251 of file THistPainter.cxx.

## ◆ ProjectMercator2xy()

 Int_t THistPainter::ProjectMercator2xy ( Double_t l, Double_t b, Double_t & Al, Double_t & Ab )
static

Static function.

Probably the most famous of the various map projections, the Mercator projection takes its name from Mercator who presented it in 1569. It is a cylindrical, conformal projection with no distortion along the equator. The Mercator projection has been used extensively for world maps in which the distortion towards the polar regions grows rather large, thus incorrectly giving the impression that, for example, Greenland is larger than South America. In reality, the latter is about eight times the size of Greenland. Also, the Former Soviet Union looks much bigger than Africa or South America. One may wonder whether this illusion has had any influence on U.S. foreign policy.' (Source: GMT) code from Ernst-Jan Buis

Definition at line 9286 of file THistPainter.cxx.

## ◆ ProjectParabolic2xy()

 Int_t THistPainter::ProjectParabolic2xy ( Double_t l, Double_t b, Double_t & Al, Double_t & Ab )
static

Static function code from Ernst-Jan Buis.

Definition at line 9309 of file THistPainter.cxx.

## ◆ ProjectSinusoidal2xy()

 Int_t THistPainter::ProjectSinusoidal2xy ( Double_t l, Double_t b, Double_t & Al, Double_t & Ab )
static

Static function code from Ernst-Jan Buis.

Definition at line 9298 of file THistPainter.cxx.

## ◆ RecalculateRange()

 void THistPainter::RecalculateRange ( )
virtual

Recompute the histogram range following graphics operations.

Definition at line 9320 of file THistPainter.cxx.

## ◆ RecursiveRemove()

 virtual void THistPainter::RecursiveRemove ( TObject * obj )
inlinevirtual

Recursively remove this object from a list.

Typically implemented by classes that can contain multiple references to a same object.

Reimplemented from TObject.

Definition at line 133 of file THistPainter.h.

## ◆ SetHistogram()

 void THistPainter::SetHistogram ( TH1 * h )
virtual

Set current histogram to h

Implements TVirtualHistPainter.

Definition at line 9431 of file THistPainter.cxx.

## ◆ SetShowProjection()

 void THistPainter::SetShowProjection ( const char * option, Int_t nbins )
virtual

Set projection.

Implements TVirtualHistPainter.

Definition at line 9676 of file THistPainter.cxx.

## ◆ SetStack()

 virtual void THistPainter::SetStack ( TList * stack )
inlinevirtual

Implements TVirtualHistPainter.

Definition at line 135 of file THistPainter.h.

## ◆ ShowProjection3()

 void THistPainter::ShowProjection3 ( Int_t px, Int_t py )
virtual

Show projection (specified by fShowProjection) of a TH3.

The drawing option for the projection is in fShowOption.

First implementation; R.Brun

Full implementation: Tim Tran (timtr.nosp@m.an@j.nosp@m.lab.o.nosp@m.rg) April 2006

Definition at line 9874 of file THistPainter.cxx.

## ◆ ShowProjectionX()

 void THistPainter::ShowProjectionX ( Int_t px, Int_t py )
virtual

Show projection onto X.

Definition at line 9703 of file THistPainter.cxx.

## ◆ ShowProjectionY()

 void THistPainter::ShowProjectionY ( Int_t px, Int_t py )
virtual

Show projection onto Y.

Definition at line 9786 of file THistPainter.cxx.

## ◆ TableInit()

 Int_t THistPainter::TableInit ( )
virtual

Initialize various options to draw 2D histograms.

Definition at line 9445 of file THistPainter.cxx.

## ◆ fCuts

 TCutG* THistPainter::fCuts[kMaxCuts]
protected

Definition at line 66 of file THistPainter.h.

## ◆ fCutsOpt

 Int_t THistPainter::fCutsOpt[kMaxCuts]
protected

Definition at line 65 of file THistPainter.h.

## ◆ fFunctions

 TList* THistPainter::fFunctions
protected

Definition at line 58 of file THistPainter.h.

## ◆ fGraph2DPainter

 TGraph2DPainter* THistPainter::fGraph2DPainter
protected

Definition at line 60 of file THistPainter.h.

## ◆ fH

 TH1* THistPainter::fH
protected

Definition at line 54 of file THistPainter.h.

## ◆ fLego

 TPainter3dAlgorithms* THistPainter::fLego
protected

Definition at line 59 of file THistPainter.h.

## ◆ fNcuts

 Int_t THistPainter::fNcuts
protected

Definition at line 64 of file THistPainter.h.

## ◆ fPie

 TPie* THistPainter::fPie
protected

Definition at line 61 of file THistPainter.h.

## ◆ fShowOption

 TString THistPainter::fShowOption
protected

Definition at line 69 of file THistPainter.h.

## ◆ fShowProjection

 Int_t THistPainter::fShowProjection
protected

Definition at line 68 of file THistPainter.h.

## ◆ fStack

 TList* THistPainter::fStack
protected

Definition at line 67 of file THistPainter.h.

## ◆ fXaxis

 TAxis* THistPainter::fXaxis
protected

Definition at line 55 of file THistPainter.h.

## ◆ fXbuf

 Double_t* THistPainter::fXbuf
protected

Definition at line 62 of file THistPainter.h.

## ◆ fYaxis

 TAxis* THistPainter::fYaxis
protected

Definition at line 56 of file THistPainter.h.

## ◆ fYbuf

 Double_t* THistPainter::fYbuf
protected

Definition at line 63 of file THistPainter.h.

## ◆ fZaxis

 TAxis* THistPainter::fZaxis
protected

Definition at line 57 of file THistPainter.h.

The documentation for this class was generated from the following files: