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);
112 return fPainter->ExecuteEvent(event, px, py);
120 static char mess[] = {
"5d data set"};
272 range.first = src[0];
273 range.second = src[0];
275 for (
Long64_t i = 1; i < size; ++i) {
276 range.first =
TMath::Min(range.first, src[i]);
277 range.second =
TMath::Max(range.second, src[i]);
TAxis * GetYAxis() const
Y axis for plot.
3-D histogram with a float per channel (see TH1 documentation)}
UInt_t SelectedSize() const
Size of selected sub-range.
std::pair< Double_t, Double_t > Range_t
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
const Rgl::Range_t & GetV4Range() const
V4 range.
Short_t Min(Short_t a, Short_t b)
const Rgl::Range_t & GetZRange() const
V3 range (Z).
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Action.
TGL5DPainter * GetRealPainter() const
Get access to painter (for GUI-editor).
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
Double_t V3(UInt_t ind) const
V3 from sub-range, converted to unit cube.
Double_t V1ToUnitCube(Double_t v1) const
V1 to unit cube.
const Rgl::Range_t & GetXRange() const
V1 range (X).
virtual Long64_t GetSelectedRows()
TTreeFormula * GetVar(Int_t i)
The TNamed class is the base class for all named ROOT classes.
char * GetObjectInfo(Int_t px, Int_t py) const
Info for status bar.
Double_t V2(UInt_t ind) const
V2 from sub-range, converted to unit cube.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
void SelectPoints(Double_t v4Level, Double_t range)
"Select" sub-range from source data
std::auto_ptr< TGLHistPainter > fPainter
Double_t V3ToUnitCube(Double_t v3) const
V3 to unit cube.
Class to manage histogram axis.
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Check, if the object is under cursor.
TAxis * GetZAxis() const
Z axis for plot.
TAxis * GetXAxis() const
X axis for plot.
virtual void Copy(TObject &axis) const
Copy axis structure to another axis.
void Paint(Option_t *option)
Paint.
TGL5DPainter implements "gl5d" option for TTree::Draw.
The histogram painter class using OpenGL.
Double_t V1(UInt_t ind) const
V1 from sub-range, converted to unit cube.
virtual Double_t * GetVal(Int_t i)
Short_t Max(Short_t a, Short_t b)
A TTree object has a header with a name and a title.
Double_t V2ToUnitCube(Double_t v2) const
V2 to unit cube.
virtual void Set(Int_t nbins, Double_t xmin, Double_t xmax)
Initialize axis with fix bins.
const Rgl::Range_t & GetYRange() const
V2 range (Y).
std::vector< UInt_t > fIndices
TGL5DDataSet(TTree *inputData)
Constructor.