23#include "TGraphErrors.h"
31 TCalGraph(
const char* name,
const char* title) : TGraphErrors(name, title) {};
38#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 24, 0)
39 using TGraph::AddPoint;
46 void Draw(Option_t* opt =
"")
override
49 TGraphErrors::Draw(opt);
53 void Print(Option_t* opt =
"")
const override;
54 void Clear(Option_t* opt =
"")
override;
64 std::map<UInt_t, std::pair<TCalPoint, TCalPoint>>
fCompareMap;
void Draw(Option_t *opt="") override
Int_t AddLists(const TCalList &cal_list, const TSourceList &src_list)
Int_t FindClosestPointX(const Double_t &x_val)
TCalGraph(const char *name, const char *title)
TCalGraph(TCalGraph &&) noexcept=default
Double_t FindDistToClosestPointX(const Double_t &x_val)
std::map< UInt_t, std::pair< TCalPoint, TCalPoint > > & CompareMap()
void Print(Option_t *opt="") const override
void AddPoint(const TCalPoint &cal_point)
void ClearAllPoints(Option_t *opt="")
virtual void BuildGraph()=0
void CorrectMissingPoints(TCalList &cal_list, TCalList &src_list)
std::map< UInt_t, std::pair< TCalPoint, TCalPoint > > fCompareMap
void Clear(Option_t *opt="") override