![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
This is a class that contains the basic info about a calibration. Calibrations here are TGraphErrors that are fit, with the resulting fit function being the calibrating function.
Definition at line 28 of file TCalGraph.h.
Public Member Functions | |
TCalGraph () | |
TCalGraph (const char *name, const char *title) | |
TCalGraph (const TCalGraph &) | |
TCalGraph (TCalGraph &&) noexcept=default | |
~TCalGraph ()=default | |
Int_t | AddLists (const TCalList &cal_list, const TSourceList &src_list) |
void | AddPoint (const TCalPoint &cal_point) |
void | Clear (Option_t *opt="") override |
void | ClearAllPoints (Option_t *opt="") |
void | Draw (Option_t *opt="") override |
Int_t | FindClosestPointX (const Double_t &x_val) |
Double_t | FindDistToClosestPointX (const Double_t &x_val) |
TCalGraph & | operator= (const TCalGraph &)=default |
TCalGraph & | operator= (TCalGraph &&) noexcept=default |
void | Print (Option_t *opt="") const override |
Protected Member Functions | |
std::map< UInt_t, std::pair< TCalPoint, TCalPoint > > & | CompareMap () |
Private Member Functions | |
virtual void | BuildGraph ()=0 |
void | CorrectMissingPoints (TCalList &cal_list, TCalList &src_list) |
Private Attributes | |
std::map< UInt_t, std::pair< TCalPoint, TCalPoint > > | fCompareMap |
TCalGraph::TCalGraph | ( | ) |
Definition at line 6 of file TCalGraph.cxx.
References Clear().
|
inline |
Definition at line 31 of file TCalGraph.h.
TCalGraph::TCalGraph | ( | const TCalGraph & | copy | ) |
Definition at line 11 of file TCalGraph.cxx.
|
defaultnoexcept |
|
default |
Int_t TCalGraph::AddLists | ( | const TCalList & | cal_list, |
const TSourceList & | src_list ) |
Definition at line 63 of file TCalGraph.cxx.
References TCalList::AddPoint(), CorrectMissingPoints(), DGREEN, DRED, fCompareMap, TCalList::Map(), and RESET_COLOR.
void TCalGraph::AddPoint | ( | const TCalPoint & | cal_point | ) |
Definition at line 36 of file TCalGraph.cxx.
References TCalPoint::Area(), TCalPoint::AreaErr(), TCalPoint::Centroid(), and TCalPoint::CentroidErr().
|
privatepure virtual |
Implemented in TEfficiencyGraph.
Referenced by Draw().
|
override |
Definition at line 30 of file TCalGraph.cxx.
References fCompareMap.
Referenced by TCalGraph(), and TEfficiencyGraph::Clear().
void TCalGraph::ClearAllPoints | ( | Option_t * | opt = "" | ) |
Definition at line 129 of file TCalGraph.cxx.
Referenced by TEfficiencyGraph::BuildGraph().
Definition at line 57 of file TCalGraph.h.
References fCompareMap.
Referenced by TEfficiencyGraph::BuildGraph().
Definition at line 113 of file TCalGraph.cxx.
References fCompareMap, and TCalList::Map().
Referenced by AddLists().
|
inlineoverride |
Definition at line 46 of file TCalGraph.h.
References BuildGraph().
Int_t TCalGraph::FindClosestPointX | ( | const Double_t & | x_val | ) |
Definition at line 43 of file TCalGraph.cxx.
Referenced by FindDistToClosestPointX().
Double_t TCalGraph::FindDistToClosestPointX | ( | const Double_t & | x_val | ) |
Definition at line 57 of file TCalGraph.cxx.
References FindClosestPointX().
|
override |
Definition at line 16 of file TCalGraph.cxx.
References DBLUE, DGREEN, DRED, fCompareMap, and RESET_COLOR.
Referenced by TEfficiencyGraph::Print().
Definition at line 64 of file TCalGraph.h.
Referenced by AddLists(), Clear(), CompareMap(), CorrectMissingPoints(), and Print().