Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TParallelCoordVar Class Reference

TParallelCoord axes.

Class containing a variable for the TParallelCoord.

Options can be defined each axis separately using the right mouse click. These options can be applied to every axes using the editor.

  • Axis width: If set to 0, the axis is simply a line. If higher, a color histogram is drawn on the axis.
  • Axis histogram height: If not 0, a usual bar histogram is drawn on the plot.

The order in which the variables are drawn is essential to see the clusters. The axes can be dragged to change their position. A zoom is also available. The logarithm scale is also available by right clicking on the axis.

Definition at line 24 of file TParallelCoordVar.h.

Public Types

enum  EStatusBits { kLogScale = BIT(14) , kShowBox = BIT(15) , kShowBarHisto = BIT(16) }
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0) , kOverwrite = BIT(1) , kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0) , kMustCleanup = BIT(3) , kIsReferenced = BIT(4) , kHasUUID = BIT(5) ,
  kCannotPick = BIT(6) , kNoContextMenu = BIT(8) , kInvalidObject = BIT(13)
}
 

Public Member Functions

 TParallelCoordVar ()
 Default constructor.
 
 TParallelCoordVar (Double_t *val, const char *title, Int_t id, TParallelCoord *gram)
 Normal constructor.
 
virtual ~TParallelCoordVar ()
 Destructor.
 
void AddRange ()
 
void AddRange (TParallelCoordRange *range)
 Add a range to the current selection on the axis.
 
void DeleteVariable ()
 Delete variables.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes the distance from the axis.
 
virtual void Draw (Option_t *option="")
 Draw the axis.
 
Bool_t Eval (Long64_t evtidx, TParallelCoordSelect *select)
 Check if the entry is within the range(s) of "select".
 
virtual void ExecuteEvent (Int_t entry, Int_t px, Int_t py)
 Execute the corresponding entry.
 
Bool_t GetBarHisto ()
 
Bool_t GetBoxPlot ()
 
Double_t GetCurrentAverage () const
 
Double_t GetCurrentMax () const
 
Double_t GetCurrentMin () const
 
Int_t GetEntryWeight (Long64_t evtidx)
 Get the entry weight: The weight of an entry for a given variable is the bin content of the histogram bin the entry is going through.
 
void GetEntryXY (Long64_t n, Double_t &x, Double_t &y)
 Get the position of the variable on the graph for the n'th entry.
 
Int_t GetHistBinning () const
 
Double_t GetHistHeight ()
 
Int_t GetHistLineWidth ()
 
TH1FGetHistogram ()
 Create or recreate the histogram.
 
Int_t GetId ()
 
Bool_t GetLogScale () const
 
void GetMinMaxMean ()
 Get mean, min and max of those variable.
 
Int_t GetNbins ()
 
Long64_t GetNentries () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns info about this axis.
 
TParallelCoordGetParallel ()
 
void GetQuantiles ()
 Get the box plot values (quantiles).
 
TListGetRanges ()
 
Double_t GetValuefromXY (Double_t x, Double_t y)
 Get the value corresponding to the position.
 
Double_tGetValues ()
 
Bool_t GetVert ()
 
Double_t GetX ()
 
void GetXYfromValue (Double_t value, Double_t &x, Double_t &y)
 Get a position corresponding to the value on the axis.
 
Double_t GetY ()
 
void Init ()
 Initialise the TParallelVar variables.
 
virtual void Paint (Option_t *option="")
 Paint the axis.
 
void PaintBoxPlot ()
 Paint the boxes in the case of a candle chart.
 
void PaintHistogram ()
 Paint the histogram on the axis.
 
void PaintLabels ()
 Paint the axis labels and titles.
 
virtual void Print (Option_t *option="") const
 Print the axis main data.
 
void SavePrimitive (std::ostream &out, Option_t *options)
 Save the TParallelCoordVar as a macro.
 
void SetBarHisto (Bool_t h)
 
void SetBoxPlot (Bool_t box)
 Set the axis to display a candle.
 
void SetCurrentLimits (Double_t min, Double_t max)
 Set the limits within which one the entries must be painted.
 
void SetCurrentMax (Double_t max)
 Set the current maximum of the axis.
 
void SetCurrentMin (Double_t min)
 Set the current minimum of the axis.
 
void SetHistogramBinning (Int_t n=100)
 Set the histogram binning.
 
void SetHistogramHeight (Double_t h=0)
 Set the height of the bar histogram.
 
void SetHistogramLineWidth (Int_t lw=2)
 
void SetInitMax (Double_t max)
 
void SetInitMin (Double_t min)
 
void SetLiveRangesUpdate (Bool_t on)
 If true, the pad is updated while the motion of a dragged range.
 
void SetLogScale (Bool_t log)
 Set the axis in log scale.
 
void SetTitle (const char *)
 Set the title of the TNamed.
 
void SetValues (Long64_t length, Double_t *val)
 Set the variable values.
 
void SetX (Double_t x, Bool_t gl)
 Set the X position of the axis in the case of a vertical axis.
 
void SetY (Double_t y, Bool_t gl)
 Set the Y position of the axis in the case of a horizontal axis.
 
void Unzoom ()
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor.
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 TNamed destructor.
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings ("").
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility.
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects.
 
virtual void Copy (TObject &named) const
 Copy this to obj.
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
 
virtual const char * GetName () const
 Returns name of object.
 
virtual const char * GetTitle () const
 Returns title of object.
 
virtual ULong_t Hash () const
 Return hash value for this object.
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 List TNamed name and title.
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator.
 
virtual void SetName (const char *name)
 Set the name of the TNamed.
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title).
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 IsDestructed.
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification.
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 
- Public Member Functions inherited from TAttLine
 TAttLine ()
 AttLine default constructor.
 
 TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth)
 AttLine normal constructor.
 
virtual ~TAttLine ()
 AttLine destructor.
 
void Copy (TAttLine &attline) const
 Copy this line attributes to a new TAttLine.
 
Int_t DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
 Compute distance from point px,py to a line.
 
virtual Color_t GetLineColor () const
 Return the line color.
 
virtual Style_t GetLineStyle () const
 Return the line style.
 
virtual Width_t GetLineWidth () const
 Return the line width.
 
virtual void Modify ()
 Change current line attributes if necessary.
 
virtual void ResetAttLine (Option_t *option="")
 Reset this line attributes to default values.
 
virtual void SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
 Save line attributes as C++ statement(s) on output stream out.
 
virtual void SetLineAttributes ()
 Invoke the DialogCanvas Line attributes.
 
virtual void SetLineColor (Color_t lcolor)
 Set the line color.
 
virtual void SetLineColorAlpha (Color_t lcolor, Float_t lalpha)
 Set a transparent line color.
 
virtual void SetLineStyle (Style_t lstyle)
 Set the line style.
 
virtual void SetLineWidth (Width_t lwidth)
 Set the line width.
 
- Public Member Functions inherited from TAttFill
 TAttFill ()
 AttFill default constructor.
 
 TAttFill (Color_t fcolor, Style_t fstyle)
 AttFill normal constructor.
 
virtual ~TAttFill ()
 AttFill destructor.
 
void Copy (TAttFill &attfill) const
 Copy this fill attributes to a new TAttFill.
 
virtual Color_t GetFillColor () const
 Return the fill area color.
 
virtual Style_t GetFillStyle () const
 Return the fill area style.
 
virtual Bool_t IsTransparent () const
 
virtual void Modify ()
 Change current fill area attributes if necessary.
 
virtual void ResetAttFill (Option_t *option="")
 Reset this fill attributes to default values.
 
virtual void SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
 Save fill attributes as C++ statement(s) on output stream out.
 
virtual void SetFillAttributes ()
 Invoke the DialogCanvas Fill attributes.
 
virtual void SetFillColor (Color_t fcolor)
 Set the fill area color.
 
virtual void SetFillColorAlpha (Color_t fcolor, Float_t falpha)
 Set a transparent fill color.
 
virtual void SetFillStyle (Style_t fstyle)
 Set the fill area style.
 

Private Attributes

TH1FfHistogram
 ! Histogram holding the variable distribution.
 
Double_t fHistoHeight
 Histogram Height.
 
Int_t fHistoLW
 Line width used to draw the histogram line.
 
Int_t fId
 Id identifying the variable for the editor.
 
Double_t fMaxCurrent
 Current used maximum.
 
Double_t fMaxInit
 Memory of the maximum when first initialized.
 
Double_t fMean
 Average.
 
Double_t fMed
 Median value (Q2).
 
Double_t fMinCurrent
 Current used minimum.
 
Double_t fMinInit
 Memory of the minimum when first initialized.
 
Int_t fNbins
 Number of bins in fHistogram.
 
Long64_t fNentries
 Number of stored entries values.
 
TParallelCoordfParallel
 Pointer to the TParallelCoord which owns the TParallelCoordVar.
 
Double_t fQua1
 First quantile (Q1).
 
Double_t fQua3
 Third quantile (Q3).
 
TListfRanges
 List of the TParallelRange owned by TParallelCoordVar.
 
Double_tfVal
 ![fNentries] Entries values for the variable.
 
Double_t fX1
 x1 coordinate of the axis.
 
Double_t fX2
 x2 coordinate of the axis.
 
Double_t fY1
 y1 coordinate of the axis.
 
Double_t fY2
 y2 coordinate of the axis.
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 
- Protected Types inherited from TObject
enum  { kOnlyPrepStep = BIT(3) }
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
 
void MakeZombie ()
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 Line color.
 
Style_t fLineStyle
 Line style.
 
Width_t fLineWidth
 Line width.
 
- Protected Attributes inherited from TAttFill
Color_t fFillColor
 Fill area color.
 
Style_t fFillStyle
 Fill area style.
 

#include <TParallelCoordVar.h>

Inheritance diagram for TParallelCoordVar:
[legend]

Member Enumeration Documentation

◆ EStatusBits

Enumerator
kLogScale 
kShowBox 
kShowBarHisto 

Definition at line 26 of file TParallelCoordVar.h.

Constructor & Destructor Documentation

◆ TParallelCoordVar() [1/2]

TParallelCoordVar::TParallelCoordVar ( )

Default constructor.

Definition at line 54 of file TParallelCoordVar.cxx.

◆ TParallelCoordVar() [2/2]

TParallelCoordVar::TParallelCoordVar ( Double_t val,
const char *  title,
Int_t  id,
TParallelCoord parallel 
)

Normal constructor.

By default, the title and the name are the expression given to TTree::Draw. The name can be changed by the user (the label on the plot) but not the title.

Definition at line 81 of file TParallelCoordVar.cxx.

◆ ~TParallelCoordVar()

TParallelCoordVar::~TParallelCoordVar ( )
virtual

Destructor.

Definition at line 63 of file TParallelCoordVar.cxx.

Member Function Documentation

◆ AddRange() [1/2]

void TParallelCoordVar::AddRange ( )
inline

Definition at line 60 of file TParallelCoordVar.h.

◆ AddRange() [2/2]

void TParallelCoordVar::AddRange ( TParallelCoordRange range)

Add a range to the current selection on the axis.

Definition at line 102 of file TParallelCoordVar.cxx.

◆ DeleteVariable()

void TParallelCoordVar::DeleteVariable ( )

Delete variables.

Definition at line 122 of file TParallelCoordVar.cxx.

◆ DistancetoPrimitive()

Int_t TParallelCoordVar::DistancetoPrimitive ( Int_t  px,
Int_t  py 
)
virtual

Computes the distance from the axis.

Reimplemented from TObject.

Definition at line 131 of file TParallelCoordVar.cxx.

◆ Draw()

void TParallelCoordVar::Draw ( Option_t option = "")
virtual

Draw the axis.

Reimplemented from TObject.

Definition at line 150 of file TParallelCoordVar.cxx.

◆ Eval()

Bool_t TParallelCoordVar::Eval ( Long64_t  evtidx,
TParallelCoordSelect select 
)

Check if the entry is within the range(s) of "select".

Two ranges on a single axis are conjugated as a "or": to be selected, the entry must be in one of the ranges.

Definition at line 160 of file TParallelCoordVar.cxx.

◆ ExecuteEvent()

void TParallelCoordVar::ExecuteEvent ( Int_t  entry,
Int_t  px,
Int_t  py 
)
virtual

Execute the corresponding entry.

Reimplemented from TObject.

Definition at line 182 of file TParallelCoordVar.cxx.

◆ GetBarHisto()

Bool_t TParallelCoordVar::GetBarHisto ( )
inline

Definition at line 66 of file TParallelCoordVar.h.

◆ GetBoxPlot()

Bool_t TParallelCoordVar::GetBoxPlot ( )
inline

Definition at line 67 of file TParallelCoordVar.h.

◆ GetCurrentAverage()

Double_t TParallelCoordVar::GetCurrentAverage ( ) const
inline

Definition at line 74 of file TParallelCoordVar.h.

◆ GetCurrentMax()

Double_t TParallelCoordVar::GetCurrentMax ( ) const
inline

Definition at line 73 of file TParallelCoordVar.h.

◆ GetCurrentMin()

Double_t TParallelCoordVar::GetCurrentMin ( ) const
inline

Definition at line 72 of file TParallelCoordVar.h.

◆ GetEntryWeight()

Int_t TParallelCoordVar::GetEntryWeight ( Long64_t  evtidx)

Get the entry weight: The weight of an entry for a given variable is the bin content of the histogram bin the entry is going through.

Definition at line 346 of file TParallelCoordVar.cxx.

◆ GetEntryXY()

void TParallelCoordVar::GetEntryXY ( Long64_t  n,
Double_t x,
Double_t y 
)

Get the position of the variable on the graph for the n'th entry.

Definition at line 317 of file TParallelCoordVar.cxx.

◆ GetHistBinning()

Int_t TParallelCoordVar::GetHistBinning ( ) const
inline

Definition at line 71 of file TParallelCoordVar.h.

◆ GetHistHeight()

Double_t TParallelCoordVar::GetHistHeight ( )
inline

Definition at line 77 of file TParallelCoordVar.h.

◆ GetHistLineWidth()

Int_t TParallelCoordVar::GetHistLineWidth ( )
inline

Definition at line 78 of file TParallelCoordVar.h.

◆ GetHistogram()

TH1F * TParallelCoordVar::GetHistogram ( )

Create or recreate the histogram.

Definition at line 355 of file TParallelCoordVar.cxx.

◆ GetId()

Int_t TParallelCoordVar::GetId ( )
inline

Definition at line 69 of file TParallelCoordVar.h.

◆ GetLogScale()

Bool_t TParallelCoordVar::GetLogScale ( ) const
inline

Definition at line 70 of file TParallelCoordVar.h.

◆ GetMinMaxMean()

void TParallelCoordVar::GetMinMaxMean ( )

Get mean, min and max of those variable.

Definition at line 372 of file TParallelCoordVar.cxx.

◆ GetNbins()

Int_t TParallelCoordVar::GetNbins ( )
inline

Definition at line 83 of file TParallelCoordVar.h.

◆ GetNentries()

Long64_t TParallelCoordVar::GetNentries ( ) const
inline

Definition at line 84 of file TParallelCoordVar.h.

◆ GetObjectInfo()

char * TParallelCoordVar::GetObjectInfo ( Int_t  px,
Int_t  py 
) const
virtual

Returns info about this axis.

Reimplemented from TObject.

Definition at line 394 of file TParallelCoordVar.cxx.

◆ GetParallel()

TParallelCoord * TParallelCoordVar::GetParallel ( )
inline

Definition at line 86 of file TParallelCoordVar.h.

◆ GetQuantiles()

void TParallelCoordVar::GetQuantiles ( )

Get the box plot values (quantiles).

Definition at line 429 of file TParallelCoordVar.cxx.

◆ GetRanges()

TList * TParallelCoordVar::GetRanges ( )
inline

Definition at line 87 of file TParallelCoordVar.h.

◆ GetValuefromXY()

Double_t TParallelCoordVar::GetValuefromXY ( Double_t  x,
Double_t  y 
)

Get the value corresponding to the position.

Definition at line 469 of file TParallelCoordVar.cxx.

◆ GetValues()

Double_t * TParallelCoordVar::GetValues ( )
inline

Definition at line 88 of file TParallelCoordVar.h.

◆ GetVert()

Bool_t TParallelCoordVar::GetVert ( )
inline

Definition at line 90 of file TParallelCoordVar.h.

◆ GetX()

Double_t TParallelCoordVar::GetX ( )
inline

Definition at line 81 of file TParallelCoordVar.h.

◆ GetXYfromValue()

void TParallelCoordVar::GetXYfromValue ( Double_t  value,
Double_t x,
Double_t y 
)

Get a position corresponding to the value on the axis.

Definition at line 488 of file TParallelCoordVar.cxx.

◆ GetY()

Double_t TParallelCoordVar::GetY ( )
inline

Definition at line 82 of file TParallelCoordVar.h.

◆ Init()

void TParallelCoordVar::Init ( )

Initialise the TParallelVar variables.

Definition at line 518 of file TParallelCoordVar.cxx.

◆ Paint()

void TParallelCoordVar::Paint ( Option_t option = "")
virtual

Paint the axis.

Reimplemented from TObject.

Definition at line 549 of file TParallelCoordVar.cxx.

◆ PaintBoxPlot()

void TParallelCoordVar::PaintBoxPlot ( )

Paint the boxes in the case of a candle chart.

Definition at line 563 of file TParallelCoordVar.cxx.

◆ PaintHistogram()

void TParallelCoordVar::PaintHistogram ( )

Paint the histogram on the axis.

Definition at line 663 of file TParallelCoordVar.cxx.

◆ PaintLabels()

void TParallelCoordVar::PaintLabels ( )

Paint the axis labels and titles.

Definition at line 768 of file TParallelCoordVar.cxx.

◆ Print()

void TParallelCoordVar::Print ( Option_t option = "") const
virtual

Print the axis main data.

Reimplemented from TNamed.

Definition at line 819 of file TParallelCoordVar.cxx.

◆ SavePrimitive()

void TParallelCoordVar::SavePrimitive ( std::ostream &  out,
Option_t options 
)
virtual

Save the TParallelCoordVar as a macro.

Can be used only in the context of TParallelCoord::SavePrimitive (pointer "TParallelCoord* para" is defined in TParallelCoord::SavePrimitive) with the option "pcalled".

Reimplemented from TObject.

Definition at line 831 of file TParallelCoordVar.cxx.

◆ SetBarHisto()

void TParallelCoordVar::SetBarHisto ( Bool_t  h)
inline

Definition at line 100 of file TParallelCoordVar.h.

◆ SetBoxPlot()

void TParallelCoordVar::SetBoxPlot ( Bool_t  box)

Set the axis to display a candle.

Definition at line 869 of file TParallelCoordVar.cxx.

◆ SetCurrentLimits()

void TParallelCoordVar::SetCurrentLimits ( Double_t  min,
Double_t  max 
)

Set the limits within which one the entries must be painted.

Definition at line 920 of file TParallelCoordVar.cxx.

◆ SetCurrentMax()

void TParallelCoordVar::SetCurrentMax ( Double_t  max)

Set the current maximum of the axis.

Definition at line 912 of file TParallelCoordVar.cxx.

◆ SetCurrentMin()

void TParallelCoordVar::SetCurrentMin ( Double_t  min)

Set the current minimum of the axis.

Definition at line 904 of file TParallelCoordVar.cxx.

◆ SetHistogramBinning()

void TParallelCoordVar::SetHistogramBinning ( Int_t  n = 100)

Set the histogram binning.

Definition at line 882 of file TParallelCoordVar.cxx.

◆ SetHistogramHeight()

void TParallelCoordVar::SetHistogramHeight ( Double_t  h = 0)

Set the height of the bar histogram.

Definition at line 892 of file TParallelCoordVar.cxx.

◆ SetHistogramLineWidth()

void TParallelCoordVar::SetHistogramLineWidth ( Int_t  lw = 2)
inline

Definition at line 101 of file TParallelCoordVar.h.

◆ SetInitMax()

void TParallelCoordVar::SetInitMax ( Double_t  max)
inline

Definition at line 108 of file TParallelCoordVar.h.

◆ SetInitMin()

void TParallelCoordVar::SetInitMin ( Double_t  min)
inline

Definition at line 107 of file TParallelCoordVar.h.

◆ SetLiveRangesUpdate()

void TParallelCoordVar::SetLiveRangesUpdate ( Bool_t  on)

If true, the pad is updated while the motion of a dragged range.

Definition at line 945 of file TParallelCoordVar.cxx.

◆ SetLogScale()

void TParallelCoordVar::SetLogScale ( Bool_t  log)

Set the axis in log scale.

Definition at line 955 of file TParallelCoordVar.cxx.

◆ SetTitle()

void TParallelCoordVar::SetTitle ( const char *  title)
inlinevirtual

Set the title of the TNamed.

Reimplemented from TNamed.

Definition at line 111 of file TParallelCoordVar.h.

◆ SetValues()

void TParallelCoordVar::SetValues ( Long64_t  length,
Double_t val 
)

Set the variable values.

Definition at line 977 of file TParallelCoordVar.cxx.

◆ SetX()

void TParallelCoordVar::SetX ( Double_t  x,
Bool_t  gl 
)

Set the X position of the axis in the case of a vertical axis.

and rotate the axis if it was horizontal.

Definition at line 992 of file TParallelCoordVar.cxx.

◆ SetY()

void TParallelCoordVar::SetY ( Double_t  y,
Bool_t  gl 
)

Set the Y position of the axis in the case of a horizontal axis.

and rotate the axis if it was vertical.

Definition at line 1011 of file TParallelCoordVar.cxx.

◆ Unzoom()

void TParallelCoordVar::Unzoom ( )
inline

Definition at line 115 of file TParallelCoordVar.h.

Member Data Documentation

◆ fHistogram

TH1F* TParallelCoordVar::fHistogram
private

! Histogram holding the variable distribution.

Definition at line 52 of file TParallelCoordVar.h.

◆ fHistoHeight

Double_t TParallelCoordVar::fHistoHeight
private

Histogram Height.

Definition at line 48 of file TParallelCoordVar.h.

◆ fHistoLW

Int_t TParallelCoordVar::fHistoLW
private

Line width used to draw the histogram line.

Definition at line 33 of file TParallelCoordVar.h.

◆ fId

Int_t TParallelCoordVar::fId
private

Id identifying the variable for the editor.

Definition at line 34 of file TParallelCoordVar.h.

◆ fMaxCurrent

Double_t TParallelCoordVar::fMaxCurrent
private

Current used maximum.

Definition at line 44 of file TParallelCoordVar.h.

◆ fMaxInit

Double_t TParallelCoordVar::fMaxInit
private

Memory of the maximum when first initialized.

Definition at line 41 of file TParallelCoordVar.h.

◆ fMean

Double_t TParallelCoordVar::fMean
private

Average.

Definition at line 42 of file TParallelCoordVar.h.

◆ fMed

Double_t TParallelCoordVar::fMed
private

Median value (Q2).

Definition at line 45 of file TParallelCoordVar.h.

◆ fMinCurrent

Double_t TParallelCoordVar::fMinCurrent
private

Current used minimum.

Definition at line 43 of file TParallelCoordVar.h.

◆ fMinInit

Double_t TParallelCoordVar::fMinInit
private

Memory of the minimum when first initialized.

Definition at line 40 of file TParallelCoordVar.h.

◆ fNbins

Int_t TParallelCoordVar::fNbins
private

Number of bins in fHistogram.

Definition at line 32 of file TParallelCoordVar.h.

◆ fNentries

Long64_t TParallelCoordVar::fNentries
private

Number of stored entries values.

Definition at line 35 of file TParallelCoordVar.h.

◆ fParallel

TParallelCoord* TParallelCoordVar::fParallel
private

Pointer to the TParallelCoord which owns the TParallelCoordVar.

Definition at line 51 of file TParallelCoordVar.h.

◆ fQua1

Double_t TParallelCoordVar::fQua1
private

First quantile (Q1).

Definition at line 46 of file TParallelCoordVar.h.

◆ fQua3

Double_t TParallelCoordVar::fQua3
private

Third quantile (Q3).

Definition at line 47 of file TParallelCoordVar.h.

◆ fRanges

TList* TParallelCoordVar::fRanges
private

List of the TParallelRange owned by TParallelCoordVar.

Definition at line 50 of file TParallelCoordVar.h.

◆ fVal

Double_t* TParallelCoordVar::fVal
private

![fNentries] Entries values for the variable.

Definition at line 49 of file TParallelCoordVar.h.

◆ fX1

Double_t TParallelCoordVar::fX1
private

x1 coordinate of the axis.

Definition at line 36 of file TParallelCoordVar.h.

◆ fX2

Double_t TParallelCoordVar::fX2
private

x2 coordinate of the axis.

Definition at line 37 of file TParallelCoordVar.h.

◆ fY1

Double_t TParallelCoordVar::fY1
private

y1 coordinate of the axis.

Definition at line 38 of file TParallelCoordVar.h.

◆ fY2

Double_t TParallelCoordVar::fY2
private

y2 coordinate of the axis.

Definition at line 39 of file TParallelCoordVar.h.

Libraries for TParallelCoordVar:

The documentation for this class was generated from the following files: