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

Public Member Functions

 ChiSqMap2D (TString name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins, Double_t ylow, Double_t yhigh)
 
void SetParNames (TString xpar, TString ypar)
 
void SetLabel (TString label)
 
TString GetLabel () const
 
Double_t GetFitX () const
 
Double_t GetFitY () const
 
Double_t GetFitXErrorUp () const
 
Double_t GetFitXErrorLow () const
 
Double_t GetFitYErrorUp () const
 
Double_t GetFitYErrorLow () const
 
Double_t GetEstErrorX (Double_t thres=0.1, Bool_t around_fit=kTRUE) const
 
Double_t GetEstErrorY (Double_t thres=0.1, Bool_t around_fit=kTRUE) const
 
Double_t GetEstX () const
 
Double_t GetEstY () const
 
TH2D * GetHist () const
 
void SetXFit (Double_t Value, Double_t errLow=0, Double_t errHigh=-1)
 
void SetYFit (Double_t Value, Double_t errLow=0, Double_t errHigh=-1)
 
void GetMin (Double_t &x, Double_t &y) const
 
void Draw (Option_t *opt="")
 
void GetXYE (Double_t &x, Double_t &eX, Double_t &y, Double_t &eY) 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
 

Static Public Member Functions

static TString ChiLabel ()
 
static TString ChiNDFLabel ()
 

Detailed Description

Definition at line 20 of file ChiSqMap2D.h.

Constructor & Destructor Documentation

◆ ChiSqMap2D() [1/2]

Hal::ChiSqMap2D::ChiSqMap2D ( )
protected

Definition at line 27 of file ChiSqMap2D.cxx.

◆ ChiSqMap2D() [2/2]

Hal::ChiSqMap2D::ChiSqMap2D ( TString name,
Int_t xbins,
Double_t xlow,
Double_t xhigh,
Int_t ybins,
Double_t ylow,
Double_t yhigh )
Parameters
namename of ma
xbinsnumber of x-bins
xlowlow edge of first x-bin
xhighhigh edge of last x-bin
ybinsy bins
ylowlow edge of first y-bin
yhighhigh edge of last y-bin

Definition at line 37 of file ChiSqMap2D.cxx.

◆ ~ChiSqMap2D()

Hal::ChiSqMap2D::~ChiSqMap2D ( )
virtual

Definition at line 217 of file ChiSqMap2D.cxx.

Member Function Documentation

◆ ChiLabel()

static TString Hal::ChiSqMap2D::ChiLabel ( )
inlinestatic
Returns
label for chi-square test

Definition at line 69 of file ChiSqMap2D.h.

◆ ChiNDFLabel()

static TString Hal::ChiSqMap2D::ChiNDFLabel ( )
inlinestatic
Returns
label for chi-square test value normalized by NDF

Definition at line 74 of file ChiSqMap2D.h.

◆ Draw()

void Hal::ChiSqMap2D::Draw ( Option_t * opt = "")
Parameters
optmin - draw min value on chi2 map as a square fit - draw min fitted by parabola around found minimum nolin - draw without fitted parameters

Definition at line 64 of file ChiSqMap2D.cxx.

◆ GetEstErrorX()

Double_t Hal::ChiSqMap2D::GetEstErrorX ( Double_t thres = 0.1,
Bool_t around_fit = kTRUE ) const

calculate uncertainty estimated as an thres% change

Parameters
thresthreshold of uncertainty, if negative uses "hessian like method"
around_fitif true estimate around fit, otherwise estimate around global minimum
Returns
0 if calculation failed

Definition at line 227 of file ChiSqMap2D.cxx.

◆ GetEstErrorY()

Double_t Hal::ChiSqMap2D::GetEstErrorY ( Double_t thres = 0.1,
Bool_t around_fit = kTRUE ) const

calculate uncertainty estimated as an thres% change

Parameters
thresthreshold of uncertainty, if negative uses "hessian like method"
around_fitif true estimate around fit, otherwise estimate around global minimum
Returns
0 if calculation failed

Definition at line 255 of file ChiSqMap2D.cxx.

◆ GetEstX()

Double_t Hal::ChiSqMap2D::GetEstX ( ) const
Returns
minimum on chi2 with parabola interpolation

Definition at line 283 of file ChiSqMap2D.cxx.

◆ GetEstY()

Double_t Hal::ChiSqMap2D::GetEstY ( ) const
Returns
minimum on chi2 with parabola interpolation

Definition at line 303 of file ChiSqMap2D.cxx.

◆ GetFitX()

Double_t Hal::ChiSqMap2D::GetFitX ( ) const
Returns
value of X parameter

Definition at line 161 of file ChiSqMap2D.cxx.

◆ GetFitXErrorLow()

Double_t Hal::ChiSqMap2D::GetFitXErrorLow ( ) const
Returns
high X-paremeter error

Definition at line 176 of file ChiSqMap2D.cxx.

◆ GetFitXErrorUp()

Double_t Hal::ChiSqMap2D::GetFitXErrorUp ( ) const
Returns
low X-paremeter error

Definition at line 171 of file ChiSqMap2D.cxx.

◆ GetFitY()

Double_t Hal::ChiSqMap2D::GetFitY ( ) const
Returns
value of Y parameter

Definition at line 166 of file ChiSqMap2D.cxx.

◆ GetFitYErrorLow()

Double_t Hal::ChiSqMap2D::GetFitYErrorLow ( ) const
Returns
low Y-paremeter error

Definition at line 186 of file ChiSqMap2D.cxx.

◆ GetFitYErrorUp()

Double_t Hal::ChiSqMap2D::GetFitYErrorUp ( ) const
Returns
high Y-paremeter error

Definition at line 181 of file ChiSqMap2D.cxx.

◆ GetHist()

TH2D * Hal::ChiSqMap2D::GetHist ( ) const
inline

histogram with chi-square map

Definition at line 135 of file ChiSqMap2D.h.

◆ GetLabel()

TString Hal::ChiSqMap2D::GetLabel ( ) const
inline
Returns
label

Definition at line 65 of file ChiSqMap2D.h.

◆ GetMin()

void Hal::ChiSqMap2D::GetMin ( Double_t & x,
Double_t & y ) const

return minimal values

Parameters
x
y

Definition at line 201 of file ChiSqMap2D.cxx.

◆ GetXYE()

void Hal::ChiSqMap2D::GetXYE ( Double_t & x,
Double_t & eX,
Double_t & y,
Double_t & eY ) const

find min max and calculate statistic uncertainty by revering hessian

Parameters
x
eX
y
eY

Definition at line 323 of file ChiSqMap2D.cxx.

◆ SetLabel()

void Hal::ChiSqMap2D::SetLabel ( TString label)
inline

set label it should describe value of minimized value

Parameters
label

Definition at line 60 of file ChiSqMap2D.h.

◆ SetParNames()

void Hal::ChiSqMap2D::SetParNames ( TString xpar,
TString ypar )
Parameters
xparname of x parameter
yparname of y parameter

Definition at line 123 of file ChiSqMap2D.cxx.

◆ SetXFit()

void Hal::ChiSqMap2D::SetXFit ( Double_t Value,
Double_t errLow = 0,
Double_t errHigh = -1 )

set fitted parameter on X-axis

Parameters
Valueparameter value
errLowlower error
errHighhigher error if negative then high error = low error

Definition at line 42 of file ChiSqMap2D.cxx.

◆ SetYFit()

void Hal::ChiSqMap2D::SetYFit ( Double_t Value,
Double_t errLow = 0,
Double_t errHigh = -1 )

set fitted parameter on Y-axis

Parameters
Valueparameter value
errLowlower error
errHighhigher error if negative then high error = low error

Definition at line 53 of file ChiSqMap2D.cxx.


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