size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDefOverride(name, id)
Fill Area Attributes class.
A TGraph is an object made of two arrays X and Y with npoints each.
2-D histogram with a float per channel (see TH1 documentation)}
The TNamed class is the base class for all named ROOT classes.
A TScatter is able to draw four variables scatter plot on a single plot.
TGraph * GetGraph() const
Get the graph holding X and Y positions.
Int_t fMaxSize
!Current dimension of arrays fX and fY
Double_t GetMaxMarkerSize() const
Get the largest marker size used to paint the markers.
Double_t fMaxMarkerSize
Largest marker size used to paint the markers.
void Print(Option_t *chopt="") const override
Print graph and errors values.
void Paint(Option_t *chopt="") override
Paint this scatter plot with its current attributes.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
TGraph * fGraph
Pointer to graph holding X and Y positions.
Double_t * GetSize() const
Get the array of marker sizes.
void SetHistogram(TH2F *h)
TScatter()
TScatter default constructor.
TH2F * GetHistogram() const
Get the graph histogram used for drawing axis.
Double_t * fColor
[fNpoints] array of colors
~TScatter() override
TScatter default destructor.
void SetMargin(Double_t)
Set the margin around the plot in %.
Double_t * GetColor() const
Get the array of colors.
Double_t GetMinMarkerSize() const
Get the smallest marker size used to paint the markers.
Double_t * fSize
[fNpoints] array of marker sizes
void SetMaxMarkerSize(Double_t max)
Set the largest marker size used to paint the markers.
Double_t fMargin
Margin around the plot in %.
void SetMinMarkerSize(Double_t min)
Set the smallest marker size used to paint the markers.
Double_t GetMargin() const
Set the margin around the plot in %.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to a scatter plot.
Double_t fMinMarkerSize
Smallest marker size used to paint the markers.
Int_t fNpoints
Number of points <= fMaxSize.
TH2F * fHistogram
Pointer to histogram used for drawing axis.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.