#define ClassDefOverride(name, id)
Option_t Option_t SetLineWidth
Option_t Option_t SetFillStyle
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize wid
Option_t Option_t SetLineColor
Option_t Option_t SetFillColor
Fill Area Attributes class.
To draw Mathematical Formula.
Mother of all ROOT objects.
Defined by an array on N points in a 2-D space.
A specialized TSelector for TTree::Draw.
void SetAverageLineStyle(Style_t sty)
Set the LineStyle of the average.
TPolyLine * fAveragePoly
Polygon representing the average variables value.
void SetAverageFillColor(Color_t col)
Set the Fill Color of the average.
~TSpider() override
Destructor.
UInt_t fNy
Number of vertical spider plots.
TList * fInput
Used for fSelector.
void SetNx(UInt_t nx)
Set the X number of sub pads.
Double_t * fAve
[fNcols] Average value of each variable.
Style_t GetAverageLineStyle() const
Get the LineStyle of the average.
void SetShowRange(bool showrange)
void GotoPrevious()
Go to the previous entries.
TList * fSuperposed
Superposed spider plots.
bool GetDisplayAverage() const
void DrawSlices(Option_t *options)
Draw the slices of the segment plot.
Long64_t fFirstEntry
First entry.
void SetDisplayAverage(bool disp)
Display or not the average.
void UpdateView()
Update the polylines or the arcs for the current entries.
TTree * fTree
Pointer to the TTree to represent.
bool fSegmentDisplay
True if displaying a segment plot.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute the distance to the spider.
void SetSegmentDisplay(bool seg)
Set the segment display or not.
void SetNdivRadial(Int_t div)
Set number of radial divisions.
void SetCurrentEntries()
Set the current selected entries.
void AddVariable(const char *varexp)
Add a variable to the plot from its expression.
UInt_t fNcols
Number of variables.
bool fShowRange
Show range of variables or not.
void DrawPoly(Option_t *options)
Paint the polygon representing the current entry.
bool fAngularLabels
True if the labels are oriented according to their axis.
void DrawSlicesAverage(Option_t *options)
Draw the slices representing the average for the segment plot.
void GotoEntry(Long64_t e)
Go to a specified entry.
TCanvas * fCanvas
! Pointer to the mother pad.
Int_t fArraySize
Actual size of the arrays.
void SetAverageLineColor(Color_t col)
Set the LineColor of the average.
TArc ** fAverageSlices
! Average slices.
void SetSelectionExpression(const char *selexp)
Compile selection expression if there is one.
Long64_t fEntry
Present entry number in fTree.
void DeleteVariable(const char *varexp)
Delete a variable from its expression.
void SetAverageLineWidth(Width_t wid)
Set the LineWidth of the average.
TTreeFormulaManager * fManager
Coordinator for the formulas.
Width_t GetAverageLineWidth() const
Get the LineWidth of the average.
TList * fFormulas
List of all formulas to represent.
void SetLineStyle(Style_t sty) override
Set line style.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute the corresponding event.
Color_t GetAverageLineColor() const
Get the LineColor of the average.
TTreeFormula * fSelect
Selection condition.
void InitVariables(Long64_t firstentry, Long64_t nentries)
Browse the tree to set the min, max and average value of each variable of fVar.
Int_t FindTextAlign(Double_t theta)
Find the alignement rule to apply for TText::SetTextAlign(Short_t).
void SetVariablesExpression(const char *varexp)
Compile the variables expression from the given string varexp.
void SetAverageFillStyle(Style_t sty)
Set the FillStyle of the average.
TSelectorDraw * fSelector
! Selector.
TSpider()
Default constructor.
Double_t FindTextAngle(Double_t theta)
Determine the orientation of the polar labels according to their angle.
Color_t GetAverageFillColor() const
Get the Fill Color of the average.
void SyncFormulas()
Create a TreeFormulaManager to coordinate the formulas.
void AddSuperposed(TSpider *sp)
Allow to superpose several spider views.
Long64_t GetCurrentEntry() const
Double_t * fMax
[fNcols] Maximum value of the variables.
Double_t * fMin
[fNcols] Minimum value of the variables.
UInt_t fNx
Number of horizontal spider plots.
void SetNy(UInt_t ny)
Set the Y number of sub pads.
bool fForceDim
Force dimension.
bool GetSegmentDisplay() const
void Paint(Option_t *options) override
Paint the spider.
void InitArrays(Int_t newsize)
Check if the arrays size is enough and reallocate them if not.
Long64_t fNentries
Number of entries.
Style_t GetAverageFillStyle() const
Get the FillStyle of the average.
void SuperposeTo(TSpider *sp)
TGraphPolargram * fPolargram
Polar graph.
void GotoNext()
Go to the next entries.
void DrawPolyAverage(Option_t *options)
Paint the Polygon representing the average value of the variables.
Long64_t * fCurrentEntries
![fNx*fNy] current selected entries;
TList * fPolyList
Polygons representing the variables.
void GotoPreceding()
Go to the last entry.
bool fDisplayAverage
Display or not the average.
Long64_t GetEntriesToProcess(Long64_t firstentry, Long64_t nentries) const
return the number of entries to be processed this function checks that nentries is not bigger than th...
void GotoFollowing()
Go to the next entry.
A TTree represents a columnar dataset.