12#ifndef ROOT_TScatter2D
13#define ROOT_TScatter2D
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int)
double Double_t
Double 8 bytes.
const char Option_t
Option string (const char)
#define ClassDefOverride(name, id)
Fill Area Attributes class.
Class to manage histogram axis.
Graphics object made of three arrays X, Y and Z with the same number of points each.
2-D histogram with a double per channel (see TH1 documentation)
3-D histogram with a float per channel (see TH1 documentation)
The TNamed class is the base class for all named ROOT classes.
A TScatter2D is able to draw five variables scatter plot on a single plot.
void Paint(Option_t *chopt="") override
Paint this scatter plot with its current attributes.
TH2D * GetHistogram() const
Get the graph histogram used for drawing axis.
void SetMargin(Double_t)
Set the margin around the plot in %.
Double_t * GetColor() const
Get the array of colors.
Double_t fMargin
Margin around the plot in %.
TGraph2D * fGraph
Pointer to graph holding X, Y and Z positions.
Double_t fMaxMarkerSize
Largest marker size used to paint the markers.
Double_t GetMaxMarkerSize() const
Get the largest marker size used to paint the markers.
TGraph2D * GetGraph() const
Get the graph holding X, Y and Z positions.
void Print(Option_t *chopt="") const override
Print graph and errors values.
Double_t GetMinMarkerSize() const
Get the smallest marker size used to paint the markers.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py,pz to a scatter plot.
TAxis * GetXaxis() const
Get the scatter's x axis.
~TScatter2D() override
TScatter2D default destructor.
Double_t * fSize
[fNpoints] array of marker sizes
Int_t fNpoints
Number of points of arrays fX, fY and fZ.
Double_t * GetSize() const
Get the array of marker sizes.
TAxis * GetYaxis() const
Get the scatter's y axis.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
Double_t GetMargin() const
Set the margin around the plot in %.
TAxis * GetZaxis() const
Get the scatter's z axis.
void SetMaxMarkerSize(Double_t max)
Set the largest marker size used to paint the markers.
TScatter2D()
TScatter2D default constructor.
Double_t fMinMarkerSize
Smallest marker size used to paint the markers.
Double_t * fColor
[fNpoints] array of colors
void SetMinMarkerSize(Double_t min)
Set the smallest marker size used to paint the markers.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.