Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::PicTree Class Reference
Inheritance diagram for Hal::PicTree:
Hal::Object

Public Member Functions

void AddPoint (Int_t depth, Int_t number, Int_t style, Double_t ratio)
 
void AddLink (std::initializer_list< Int_t > depths, std::initializer_list< Int_t > ids, Int_t style)
 
void SaveAs (TString path)
 
Double_t GetWidth () const
 
Double_t GetHeight () const
 
std::vector< std::vector< std::pair< double, double > > > GetCoords () const
 
- Public Member Functions inherited from Hal::Object
 Object ()
 
virtual TString GetExtractType () const
 
virtual TString HTMLExtract (Int_t, TString="") const
 
virtual void HTMLExtractIntoTable (Int_t, HtmlTable &, TString="", TString="") const
 
virtual void Add (const Object *pack)
 
virtual Long64_t Merge (TCollection *collection)
 
virtual Bool_t CanBeTableElement () const
 

Detailed Description

Definition at line 18 of file PicTree.h.

Constructor & Destructor Documentation

◆ PicTree()

Hal::PicTree::PicTree ( )

Definition at line 30 of file PicTree.cxx.

◆ ~PicTree()

virtual Hal::PicTree::~PicTree ( )
inlinevirtual

Definition at line 84 of file PicTree.h.

Member Function Documentation

◆ AddLink()

void Hal::PicTree::AddLink ( std::initializer_list< Int_t > depths,
std::initializer_list< Int_t > ids,
Int_t style )

adds link

Parameters
depthsdepth of data {from, to}
idsposition of circles {from, to}
style0 for normal link 1 for background

Definition at line 32 of file PicTree.cxx.

◆ AddPoint()

void Hal::PicTree::AddPoint ( Int_t depth,
Int_t number,
Int_t style,
Double_t ratio )

add point drawn as circle

Parameters
depthdepth of circle (x)
numberposition of circle (y)
style0 for normal data, 1 for background
ratioratio of passed objects

Definition at line 35 of file PicTree.cxx.

◆ GetCoords()

std::vector< std::vector< std::pair< double, double > > > Hal::PicTree::GetCoords ( ) const
inline
Returns
array of coordinates (calcualted during calling SaveAs [tier level][collection] first -> x second ->y coordinate

Definition at line 83 of file PicTree.h.

◆ GetHeight()

Double_t Hal::PicTree::GetHeight ( ) const
inline
Returns
height of picture

Definition at line 78 of file PicTree.h.

◆ GetWidth()

Double_t Hal::PicTree::GetWidth ( ) const
inline
Returns
width of picture

Definition at line 73 of file PicTree.h.

◆ SaveAs()

void Hal::PicTree::SaveAs ( TString path)

save picture

Parameters
path

Definition at line 39 of file PicTree.cxx.


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