![]() |
AliPhysics
7c37cfa (7c37cfa)
|
Public Member Functions | |
HolderCommon () | |
![]() | |
Holder () | |
virtual | ~Holder () |
void | CopyAttr (Holder *h) |
Protected Member Functions | |
HolderCommon (const char *name, const char *title, Bool_t rel, UInt_t opt, UInt_t id) | |
HolderCommon (const HolderCommon &other) | |
HolderCommon & | operator= (const HolderCommon &other) |
void | SavePrimitive (std::ostream &out, Option_t *option="") |
virtual void | Print (Option_t *option="") const |
ClassDef (HolderCommon, 3) | |
Setting errors | |
void | Set (Double_t ey) |
void | Set (Double_t eyl, Double_t eyh) |
Double_t | GetYDown (Double_t y=0) const |
Double_t | GetYUp (Double_t y=0) const |
Sum, add, stack | |
void | AddError (Double_t y, UShort_t xMode, Bool_t ignoreErr, Bool_t quad, Bool_t sqOld, Double_t &exl, Double_t &exh, Double_t &eyl, Double_t &eyh) const |
Graph * | BarError (Graph *g, Bool_t quad, Double_t x, Double_t y) const |
void | StackPointError (Double_t y, UShort_t xMode, Bool_t ignoreErr, Bool_t quad, Double_t &exl, Double_t &exh, Double_t &eyl, Double_t &eyh) const |
Graph * | StackError (Graph *g, Bool_t ignoreErr, Bool_t quad) const |
void | SumPointError (Double_t y, UShort_t xMode, Bool_t ignoreErr, Bool_t quad, Double_t &exl, Double_t &exh, Double_t &eyl, Double_t &eyh) const |
void | SumError (Graph *g, Int_t i, Bool_t ignoreErr, Bool_t quad, UInt_t opt) const |
![]() | |
Holder (const char *name, const char *title, Bool_t rel, UInt_t option, UInt_t id) | |
Holder (const Holder &other) | |
Holder & | operator= (const Holder &other) |
virtual UInt_t | GetDOption () const |
virtual void | SetDOption (EDrawOption_t opt) |
virtual Bool_t | IsRelative () const |
virtual void | ls (Option_t *option) const |
UShort_t | XMode (Int_t opt=-1) const |
void | DoAdd (UShort_t xMode, Double_t curExl, Double_t curExh, Double_t curEyl, Double_t curEyh, Bool_t ignoreErr, Bool_t quad, Bool_t sqOld, Double_t &exl, Double_t &exh, Double_t &eyl, Double_t &eyh) const |
void | SetAttributes (Graph *g) const |
ClassDef (Holder, 3) | |
Protected Attributes | |
Double_t | fEyl |
Double_t | fEyh |
![]() | |
Bool_t | fRelative |
UInt_t | fOption |
Friends | |
struct | GraphSysErr |
Holder of common errors
Definition at line 6297 of file GraphSysErr.C.
|
inline |
CTOR
Definition at line 6304 of file GraphSysErr.C.
|
inlineprotected |
CTOR with name and title
name | Name |
title | Title |
rel | Relative or absolue |
opt | Draw Option |
id | Identifier |
Definition at line 6317 of file GraphSysErr.C.
|
inlineprotected |
|
inlineprotected |
Add errors together at point
y | Point value |
xMode | X-mode |
quad | If true, add in quadrature |
ignoreErr | If true, ignore errors on g |
sqOld | If true and quad true, square old |
y | Y value at point |
exl | On return, the left-hand X errors |
exh | On return, the right-hand X errors |
eyl | On return, the downward Y errors |
eyh | On return, the upward Y errors |
Definition at line 6412 of file GraphSysErr.C.
Referenced by BarError(), StackPointError(), and SumPointError().
|
inlineprotected |
Make a graph for showing next to data
g | PRevious errors |
quad | If true, add in quadrature |
x | Middle X coordinate |
y | Middle Y coordinate |
Definition at line 6449 of file GraphSysErr.C.
Referenced by GraphSysErr::MakeMulti().
|
protected |
Get the down error
y | Value to evaluate at if the error is relative |
Definition at line 6377 of file GraphSysErr.C.
Referenced by AddError(), GraphSysErr::Average(), GraphSysErr::Export(), GraphSysErr::FindCompat(), GraphSysErr::GetCommonErrorYDown(), GraphSysErr::GetSysErrorYDown(), GraphSysErr::Ratio(), and GraphSysErr::Scale().
Get the up error
y | Value to evaluate at if the error is relative |
Definition at line 6388 of file GraphSysErr.C.
Referenced by AddError(), GraphSysErr::Average(), GraphSysErr::Export(), GraphSysErr::FindCompat(), GraphSysErr::GetCommonErrorYUp(), GraphSysErr::GetSysErrorYUp(), GraphSysErr::Ratio(), and GraphSysErr::Scale().
|
inlineprotected |
Assignment operator
other | Object to assign from |
Definition at line 6340 of file GraphSysErr.C.
|
inlineprotectedvirtual |
Reimplemented from GraphSysErr::Holder.
Definition at line 6575 of file GraphSysErr.C.
Referenced by GraphSysErr::FindCompat().
|
inlineprotected |
Definition at line 6560 of file GraphSysErr.C.
Referenced by GraphSysErr::SavePrimitive().
|
inlineprotected |
Set symmetric error
ey | Error |
Definition at line 6358 of file GraphSysErr.C.
Referenced by GraphSysErr::DefineCommon(), GraphSysErr::Scale(), Set(), GraphSysErr::SetSysError(), and GraphSysErr::Symmetrize().
Set error
eyl | Downward error along Y |
eyh | Upward error along Y |
Definition at line 6365 of file GraphSysErr.C.
|
inlineprotectedvirtual |
Create new graph with stacked errors
g | Previous errors |
ignoreErr | If true, ignore previous errors |
quad | If true, add in quadrature |
Implements GraphSysErr::Holder.
Definition at line 6500 of file GraphSysErr.C.
|
inlineprotected |
Stack up point errors
y | Point value |
xMode | X-Mode |
ignoreErr | If true, ignore current errors |
quad | If true, add in quadrature |
exl | Input: current Output: New value |
exh | Input: current Output: New value |
eyl | Input: current Output: New value |
eyh | Input: current Output: New value |
Definition at line 6479 of file GraphSysErr.C.
Referenced by StackError().
|
inlineprotectedvirtual |
Sum errors at point. Point i of g is updated
g | Where to sum |
i | Point |
ignoreErr | If true, ignore exusisting errros |
quad | Add in quadrature |
opt | Option |
Implements GraphSysErr::Holder.
Definition at line 6548 of file GraphSysErr.C.
|
inlineprotected |
Sum up point errors
y | Point value |
xMode | X-Mode |
ignoreErr | If true, ignore current errors |
quad | If true, add in quadrature |
exl | Input: current Output: New value (possibly square) |
exh | Input: current Output: New value (possibly square) |
eyl | Input: current Output: New value (possibly square) |
eyh | Input: current Output: New value (possibly square) |
Definition at line 6531 of file GraphSysErr.C.
Referenced by GraphSysErr::GetYandError(), GraphSysErr::MakeMulti(), and SumError().
|
friend |
Containing class is a friemd
Definition at line 6300 of file GraphSysErr.C.
|
protected |
Up errors
Definition at line 6595 of file GraphSysErr.C.
Referenced by GetYUp(), operator=(), Print(), SavePrimitive(), Set(), and GraphSysErr::Symmetrize().
|
protected |
Down errors
Definition at line 6593 of file GraphSysErr.C.
Referenced by GetYDown(), operator=(), Print(), SavePrimitive(), Set(), and GraphSysErr::Symmetrize().