GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TCalList Class Reference

Definition at line 14 of file TCalList.h.

Public Member Functions

 TCalList ()
 
 TCalList (const char *name, const char *title="")
 
 TCalList (const TCalList &copy)
 
 ~TCalList () override
 
void AddPoint (const TCalPoint &point)
 
void AddPoint (const UInt_t &idx, const TCalPoint &point)
 
void Clear (Option_t *opt="") override
 
void Copy (TObject &obj) const override
 
void FillGraph (TGraph *graph) const
 
const std::map< UInt_t, TCalPoint > & Map () const
 
Int_t NPoints () const
 
void Print (Option_t *opt="") const override
 
bool SetPointIndex (const UInt_t &old_idx, const UInt_t &new_idx)
 

Private Attributes

std::map< UInt_t, TCalPointfCalList
 

#include <TCalList.h>

+ Inheritance diagram for TCalList:
+ Collaboration diagram for TCalList:

Constructor & Destructor Documentation

◆ TCalList() [1/3]

TCalList::TCalList ( )

Definition at line 10 of file TCalList.cxx.

◆ TCalList() [2/3]

TCalList::TCalList ( const char *  name,
const char *  title = "" 
)

Definition at line 18 of file TCalList.cxx.

References Clear().

◆ ~TCalList()

TCalList::~TCalList ( )
overridedefault

◆ TCalList() [3/3]

TCalList::TCalList ( const TCalList copy)

Definition at line 23 of file TCalList.cxx.

References Copy().

Member Function Documentation

◆ AddPoint() [1/2]

void TCalList::AddPoint ( const TCalPoint point)

Definition at line 37 of file TCalList.cxx.

References TCalPoint::Centroid().

Referenced by TCalGraph::AddLists(), TSourceList::AddTransition(), and Copy().

◆ AddPoint() [2/2]

void TCalList::AddPoint ( const UInt_t &  idx,
const TCalPoint point 
)

Definition at line 42 of file TCalList.cxx.

References fCalList.

◆ Clear()

void TCalList::Clear ( Option_t *  opt = "")
override

Definition at line 73 of file TCalList.cxx.

References fCalList.

Referenced by TSourceList::Clear(), Copy(), and TCalList().

◆ Copy()

void TCalList::Copy ( TObject &  obj) const
override

Definition at line 28 of file TCalList.cxx.

References AddPoint(), Clear(), and fCalList.

Referenced by TSourceList::Copy(), and TCalList().

◆ FillGraph()

void TCalList::FillGraph ( TGraph *  graph) const

Definition at line 78 of file TCalList.cxx.

References fCalList.

◆ Map()

const std::map<UInt_t, TCalPoint>& TCalList::Map ( ) const
inline

Definition at line 33 of file TCalList.h.

References fCalList.

Referenced by TCalGraph::AddLists(), and TCalGraph::CorrectMissingPoints().

◆ NPoints()

Int_t TCalList::NPoints ( ) const
inline

Definition at line 25 of file TCalList.h.

References fCalList.

◆ Print()

void TCalList::Print ( Option_t *  opt = "") const
override

Definition at line 63 of file TCalList.cxx.

References fCalList.

Referenced by TSourceList::Print().

◆ SetPointIndex()

bool TCalList::SetPointIndex ( const UInt_t &  old_idx,
const UInt_t &  new_idx 
)

Definition at line 47 of file TCalList.cxx.

References fCalList.

Member Data Documentation

◆ fCalList

std::map<UInt_t, TCalPoint> TCalList::fCalList
private

Definition at line 36 of file TCalList.h.

Referenced by AddPoint(), Clear(), Copy(), FillGraph(), Map(), NPoints(), Print(), and SetPointIndex().