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

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 30 of file TEfficiencyGraph.h.

Public Member Functions

 TEfficiencyGraph ()
 
 TEfficiencyGraph (const char *name, const char *title)
 
 TEfficiencyGraph (const TEfficiencyGraph &copy)
 
 ~TEfficiencyGraph () override
 
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)
 
bool IsAbsolute () const
 
TEfficiencyGraphoperator= (const TEfficiencyGraph &)=default
 
void Print (Option_t *opt="") const override
 
void SetAbsolute (const bool &flag)
 

Protected Member Functions

void BuildGraph () override
 

Protected Attributes

std::map< UInt_t, std::pair< TCalPoint, TCalPoint > > fCompareMap
 

Private Attributes

bool fIsAbsolute
 

#include <TEfficiencyGraph.h>

+ Inheritance diagram for TEfficiencyGraph:
+ Collaboration diagram for TEfficiencyGraph:

Constructor & Destructor Documentation

◆ TEfficiencyGraph() [1/3]

TEfficiencyGraph::TEfficiencyGraph ( )

Definition at line 10 of file TEfficiencyGraph.cxx.

◆ TEfficiencyGraph() [2/3]

TEfficiencyGraph::TEfficiencyGraph ( const char *  name,
const char *  title 
)
inline

Definition at line 33 of file TEfficiencyGraph.h.

◆ ~TEfficiencyGraph()

TEfficiencyGraph::~TEfficiencyGraph ( )
overridedefault

◆ TEfficiencyGraph() [3/3]

TEfficiencyGraph::TEfficiencyGraph ( const TEfficiencyGraph copy)

Definition at line 18 of file TEfficiencyGraph.cxx.

References fIsAbsolute.

Member Function Documentation

◆ AddLists()

Int_t TCalGraph::AddLists ( const TCalList cal_list,
const TSourceList src_list 
)
inherited

◆ AddPoint()

void TCalGraph::AddPoint ( const TCalPoint cal_point)
inherited

◆ BuildGraph()

void TEfficiencyGraph::BuildGraph ( )
overrideprotectedvirtual

Implements TCalGraph.

Definition at line 34 of file TEfficiencyGraph.cxx.

References TCalGraph::ClearAllPoints(), and TCalGraph::fCompareMap.

◆ Clear()

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

Definition at line 29 of file TEfficiencyGraph.cxx.

References TCalGraph::Clear().

◆ ClearAllPoints()

void TCalGraph::ClearAllPoints ( Option_t *  opt = "")
inherited

Definition at line 136 of file TCalGraph.cxx.

Referenced by BuildGraph().

◆ Draw()

void TCalGraph::Draw ( Option_t *  opt = "")
inlineoverrideinherited

Definition at line 46 of file TCalGraph.h.

References TCalGraph::BuildGraph().

◆ FindClosestPointX()

Int_t TCalGraph::FindClosestPointX ( const Double_t &  x_val)
inherited

◆ FindDistToClosestPointX()

Double_t TCalGraph::FindDistToClosestPointX ( const Double_t &  x_val)
inherited

Definition at line 64 of file TCalGraph.cxx.

References TCalGraph::FindClosestPointX().

Referenced by TEfficiencyCalibration::ScaleGuess().

◆ IsAbsolute()

bool TEfficiencyGraph::IsAbsolute ( ) const
inline

Definition at line 48 of file TEfficiencyGraph.h.

References fIsAbsolute.

Referenced by TEfficiencyCalibration::AddEfficiencyGraph().

◆ operator=()

TEfficiencyGraph& TEfficiencyGraph::operator= ( const TEfficiencyGraph )
default

◆ Print()

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

Definition at line 24 of file TEfficiencyGraph.cxx.

References TCalGraph::Print().

◆ SetAbsolute()

void TEfficiencyGraph::SetAbsolute ( const bool &  flag)
inline

Definition at line 47 of file TEfficiencyGraph.h.

References fIsAbsolute.

Member Data Documentation

◆ fCompareMap

std::map<UInt_t, std::pair<TCalPoint, TCalPoint> > TCalGraph::fCompareMap
protectedinherited

◆ fIsAbsolute

bool TEfficiencyGraph::fIsAbsolute
private

Definition at line 54 of file TEfficiencyGraph.h.

Referenced by IsAbsolute(), SetAbsolute(), and TEfficiencyGraph().