![]() |
AliPhysics
7c37cfa (7c37cfa)
|
Public Member Functions | |
HolderP2P () | |
![]() | |
Holder () | |
virtual | ~Holder () |
void | CopyAttr (Holder *h) |
Protected Member Functions | |
HolderP2P (const char *name, const char *title, Bool_t rel, UInt_t opt, UInt_t id) | |
HolderP2P (const HolderP2P &other) | |
HolderP2P & | operator= (const HolderP2P &other) |
void | SavePrimitive (std::ostream &out, Option_t *option="") |
virtual void | Print (Option_t *option="") const |
ClassDef (HolderP2P, 3) | |
Setting errors | |
void | Set (Int_t point, Graph *g, Double_t ex, Double_t ey) |
void | Set (Int_t point, Graph *g, Double_t ex1, Double_t ex2, Double_t ey1, Double_t ey2) |
Get information | |
Double_t | GetX (Int_t point) const |
Double_t | GetXLeft (Int_t point) const |
Double_t | GetXRight (Int_t point) const |
Double_t | GetY (Int_t point) const |
Double_t | GetYDown (Int_t i1, Int_t i2, Double_t ax) const |
Double_t | GetYDown (Int_t point) const |
Double_t | GetYUp (Int_t i1, Int_t i2, Double_t ax) const |
Double_t | GetYUp (Int_t point) const |
Sum, add, stack | |
void | AddError (Int_t i, 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 |
void | StackPointError (Int_t i, 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 (Int_t i, 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 | |
TGraphAsymmErrors * | fGraph |
![]() | |
Bool_t | fRelative |
UInt_t | fOption |
Friends | |
struct | GraphSysErr |
A holder for Point-to-Point systematic errors
Definition at line 5896 of file GraphSysErr.C.
|
inline |
CTOR
Definition at line 5903 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 5917 of file GraphSysErr.C.
|
inlineprotected |
|
inlineprotected |
Add errors together at point
i | Point |
xMode | X-mode |
quad | If true, add in quadrature |
ignoreErr | If true, ignore errors on g |
sqOld | If true and quad true, square old |
exl | Input current, Output: the left-hand X errors |
exh | Input current, Output: the right-hand X errors |
eyl | Input current, Output: the downward Y errors |
eyh | Input current, Output: the upward Y errors |
Definition at line 6131 of file GraphSysErr.C.
Referenced by StackPointError(), and SumPointError().
|
protected |
Get symmetric errors along X at point
point | Point |
Definition at line 6013 of file GraphSysErr.C.
Referenced by GraphSysErr::GetSysErrorX().
Get errors to the left along X at point
point | Point |
Definition at line 6025 of file GraphSysErr.C.
Referenced by GraphSysErr::GetSysErrorXLeft(), and GraphSysErr::Scale().
Get errors to the right along X at point
point | Point |
Definition at line 6037 of file GraphSysErr.C.
Referenced by GraphSysErr::GetSysErrorXRight(), and GraphSysErr::Scale().
Get symmetric errors along Y at point
point | Point |
Definition at line 6049 of file GraphSysErr.C.
Referenced by GraphSysErr::GetSysErrorY().
Get the errors downwards along Y between points i1 and i2
i1 | Left point |
i2 | Right point |
ax | Relative distance between the two points |
Definition at line 6063 of file GraphSysErr.C.
Referenced by GraphSysErr::Average(), GraphSysErr::ExportPoint(), GraphSysErr::GetSysErrorYDown(), GraphSysErr::Print(), GraphSysErr::Ratio(), and GraphSysErr::Scale().
Get errors downward along Y at point
point | Point |
Definition at line 6078 of file GraphSysErr.C.
Get the errors upwards along Y between points i1 and i2
i1 | Left point |
i2 | Right point |
ax | Relative distance between the two points |
Definition at line 6092 of file GraphSysErr.C.
Referenced by GraphSysErr::Average(), GraphSysErr::ExportPoint(), GraphSysErr::GetSysErrorYUp(), GraphSysErr::Print(), GraphSysErr::Ratio(), and GraphSysErr::Scale().
Get errors upward along Y at point
point | Point |
Definition at line 6107 of file GraphSysErr.C.
Assignement operator
other | Object to assign from |
Definition at line 5948 of file GraphSysErr.C.
|
inlineprotectedvirtual |
Reimplemented from GraphSysErr::Holder.
Definition at line 6273 of file GraphSysErr.C.
|
inlineprotected |
Definition at line 6259 of file GraphSysErr.C.
Referenced by GraphSysErr::SavePrimitive().
|
inlineprotected |
Set errors at point
point | Point |
g | Graph |
ex | Symmetric error along X |
ey | Symmetric error along Y |
Definition at line 5974 of file GraphSysErr.C.
Referenced by GraphSysErr::Average(), and GraphSysErr::SetSysError().
|
inlineprotected |
Set errors at point
point | Point |
g | Graph |
ex1 | Low erros along X |
ex2 | High errors along X |
ey1 | Low erros along Y |
ey2 | High errors along Y |
Definition at line 5988 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 6199 of file GraphSysErr.C.
|
inlineprotected |
Stack up point errors
i | Point number |
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 6175 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 6248 of file GraphSysErr.C.
|
inlineprotected |
Sum up point errors
i | Point number |
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 6231 of file GraphSysErr.C.
Referenced by GraphSysErr::GetYandError(), and SumError().
|
friend |
Containing class is a friemd
Definition at line 5899 of file GraphSysErr.C.
|
protected |
Our data
Definition at line 6288 of file GraphSysErr.C.
Referenced by AddError(), GetX(), GetXLeft(), GetXRight(), GetY(), GetYDown(), GetYUp(), HolderP2P(), operator=(), Print(), GraphSysErr::RemovePoint(), Set(), and GraphSysErr::SwapPoints().