38 :
TNamed(
"TGL5DataSet",
"TGL5DataSet"),
40 fV1(0), fV2(0), fV3(0), fV4(0), fV5(0),
41 fV1Range(1.), fV2Range(1.), fV3Range(1.),
45 Error(
"TGL5Data",
"Null pointer tree.");
46 throw std::runtime_error(
"");
51 Info(
"TGL5DDataSet",
"Number of selected rows: %d",
Int_t(
fNP)) ;
62 Error(
"TGL5DDataSet",
"One or all of vN is a null pointer.");
63 throw std::runtime_error(
"");
83 TH3F hist(
"tmp",
"tmp", 2, -1., 1., 2, -1., 1., 2, -1., 1.);
104 return fPainter->DistancetoPrimitive(px, py);
120 static char mess[] = {
"5d data set"};
272 range.first =
src[0];
273 range.second =
src[0];
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src
Class to manage histogram axis.
void Copy(TObject &axis) const override
Copy axis structure to another axis.
virtual void Set(Int_t nbins, Double_t xmin, Double_t xmax)
Initialize axis with fix bins.
TAxis * GetZAxis() const
Z axis for plot.
const Rgl::Range_t & GetZRange() const
V3 range (Z).
void SelectPoints(Double_t v4Level, Double_t range)
"Select" sub-range from source data
Double_t V3ToUnitCube(Double_t v3) const
V3 to unit cube.
std::vector< UInt_t > fIndices
char * GetObjectInfo(Int_t px, Int_t py) const
Info for status bar.
const Rgl::Range_t & GetYRange() const
V2 range (Y).
TGL5DPainter * GetRealPainter() const
Get access to painter (for GUI-editor).
TAxis * GetYAxis() const
Y axis for plot.
Double_t V2ToUnitCube(Double_t v2) const
V2 to unit cube.
TAxis * GetXAxis() const
X axis for plot.
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Check, if the object is under cursor.
TGL5DDataSet(TTree *inputData)
Constructor.
Double_t V1ToUnitCube(Double_t v1) const
V1 to unit cube.
std::unique_ptr< TGLHistPainter > fPainter
const Rgl::Range_t & GetXRange() const
V1 range (X).
const Rgl::Range_t & GetV4Range() const
V4 range.
UInt_t SelectedSize() const
Size of selected sub-range.
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Action.
Double_t V1(UInt_t ind) const
V1 from sub-range, converted to unit cube.
Double_t V2(UInt_t ind) const
V2 from sub-range, converted to unit cube.
Double_t V3(UInt_t ind) const
V3 from sub-range, converted to unit cube.
void Paint(Option_t *option)
Paint.
TGL5DPainter implements "gl5d" option for TTree::Draw.
The histogram painter class using OpenGL.
3-D histogram with a float per channel (see TH1 documentation)}
The TNamed class is the base class for all named ROOT classes.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
@ kCanDelete
if object in a list can be deleted
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
A TTree represents a columnar dataset.
std::pair< Double_t, Double_t > Range_t
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
Short_t Min(Short_t a, Short_t b)
Returns the smallest of a and b.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.