12 #ifndef ROOT_TParallelCoord
13 #define ROOT_TParallelCoord
TEntryList * fInitEntries
void Init()
An axis used when displaying a candle chart.
void PaintEntries(TParallelCoordSelect *sel=NULL)
Loop over the entries and paint them.
A TParallelCoordSelect is a specialised TList to hold TParallelCoordRanges used by TParallelCoord...
void CleanUpSelections(TParallelCoordRange *range)
Clean up the selections from the ranges which could have been deleted when a variable has been delete...
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
void SetLineColor(Color_t col)
TParallelCoordSelect * GetCurrentSelection()
Return the selection currently being edited.
static void BuildParallelCoord(TSelectorDraw *selector, Bool_t candle)
Call constructor and add the variables.
TParallelCoordSelect * GetSelection(const char *title)
Get a selection from its title.
void SetAxisHistogramHeight(Double_t h=0.5)
Set the same histogram axis height for all axis.
void SetLineWidth(Width_t wid)
void SetAxisHistogramLineWidth(Int_t lw=2)
Set the same histogram axis line width for all axis.
virtual void Draw(Option_t *options="")
Draw the parallel coordinates graph.
static const char * filename()
void SetLiveRangesUpdate(Bool_t)
If true, the pad is updated while the motion of a dragged range.
void SetWeightCut(Int_t w=0)
A TParallelCoordRange is a range used for parallel coordinates plots.
void ResetTree()
Reset the tree entry list to the initial one..
void SetCurrentFirst(Long64_t)
Set the first entry to be displayed.
void SetVertDisplay(Bool_t vert=kTRUE)
Set the vertical or horizontal display.
void SetCurrentN(Long64_t)
Set the number of entry to be displayed.
Double_t GetGlobalMin()
return the global minimum.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
TParallelCoordSelect * fCurrentSelection
void SetAxisHistogramBinning(Int_t n=100)
Set the same histogram axis binning for all axis.
TEntryList * fCurrentEntries
Int_t GetNbins()
get the binning of the histograms.
void ApplySelectionToTree()
Apply the current selection to the tree.
The TNamed class is the base class for all named ROOT classes.
void SetInitEntries(TEntryList *entries)
void SetCurrentEntries(TEntryList *entries)
virtual void Paint(Option_t *options="")
Paint the parallel coordinates graph.
void SaveTree(const char *filename="", Bool_t overwrite=kFALSE)
Save the tree in a file if fTreeFileName == "".
void SetGlobalMax(Double_t max)
Force all variables to adopt the same max.
Bool_t GetVertDisplay() const
void RemoveVariable(TParallelCoordVar *var)
Delete a variable from the graph.
Long64_t GetCurrentFirst()
static void SetEntryList(TParallelCoord *para, TEntryList *enlist)
Set the entry lists of "para".
Double_t GetGlobalMax()
return the global maximum.
void SetCandleChart(Bool_t can)
Set a candle chart display.
void AddSelection(const char *title)
Add a selection.
Int_t GetWeightCut() const
void SetGlobalScale(Bool_t gl)
Constraint all axes to the same scale.
TString fTreeName
Pointer to the TTree.
virtual void ExecuteEvent(Int_t entry, Int_t px, Int_t py)
Execute the corresponding entry.
void SetGlobalLogScale(Bool_t)
All axes in log scale.
Bool_t TestBit(UInt_t f) const
TGaxis * fCandleAxis
Current Selection being edited.
TTree * GetTree()
return the tree if fTree is defined.
void SetGlobalMin(Double_t min)
Force all variables to adopt the same min.
~TParallelCoord()
Destructor.
void AddVariable(Double_t *val, const char *title="")
Add a variable.
A specialized TSelector for TTree::Draw.
void UnzoomAll()
Unzoom all variables.
A Pave (see TPave) with text, lines or/and boxes inside.
ClassDef(TParallelCoord, 1)
Bool_t GetCurveDisplay() const
TParallelCoordSelect * SetCurrentSelection(const char *title)
Set the selection being edited.
void SetTree(TTree *tree)
virtual void SetCurveDisplay(Bool_t curve=1)
void SetDotsSpacing(Int_t s=0)
Set dots spacing.
void DeleteSelection(TParallelCoordSelect *sel)
Delete a selection.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Bool_t GetGlobalLogScale()
void SavePrimitive(std::ostream &out, Option_t *options)
Save the TParallelCoord in a macro.
Parallel Coordinates class.
void SetAxesPosition()
Update the position of the axes.
Double_t * GetVariable(const char *var)
Get the variables values from its title.
Int_t GetDotsSpacing() const
A TTree object has a header with a name and a title.
void SetNentries(Long64_t n)
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute the distance from the TParallelCoord.
A List of entry numbers in a TTree or TChain.
TEntryList * GetEntryList(Bool_t sel=kTRUE)
Get the whole entry list or one for a selection.
void SaveEntryLists(const char *filename="", Bool_t overwrite=kFALSE)
Save the entry lists in a root file "filename.root".