Base class to hold systematic errors.
More...
|
| Holder (const char *name, const char *title, Bool_t rel, UInt_t option, UInt_t id) |
| CTOR with name and title. More...
|
|
| Holder (const Holder &other) |
| Copy constructorr. More...
|
|
Holder & | operator= (const Holder &other) |
| Assignment operator. More...
|
|
virtual Graph * | StackError (Graph *g, Bool_t ignoreErr, Bool_t quad) const =0 |
| Create new graph with stacked errors. More...
|
|
virtual void | SumError (Graph *g, Int_t i, Bool_t ignoreErr, Bool_t quad, UInt_t opt) const =0 |
| Sum errors at point. More...
|
|
virtual UInt_t | GetDOption () const |
|
virtual void | SetDOption (EDrawOption_t opt) |
| Set the draw option. More...
|
|
virtual Bool_t | IsRelative () const |
| Check if this is a relative error. More...
|
|
virtual void | Print (Option_t *option="") 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 |
| Do add errors. More...
|
|
void | SetAttributes (Graph *g) const |
| Set attributes. More...
|
|
| ClassDef (Holder, 3) |
|
Base class to hold systematic errors.
Definition at line 5649 of file GraphSysErr.C.
GraphSysErr::Holder::Holder |
( |
| ) |
|
|
inline |
virtual GraphSysErr::Holder::~Holder |
( |
| ) |
|
|
inlinevirtual |
GraphSysErr::Holder::Holder |
( |
const char * |
name, |
|
|
const char * |
title, |
|
|
Bool_t |
rel, |
|
|
UInt_t |
option, |
|
|
UInt_t |
id |
|
) |
| |
|
inlineprotected |
CTOR with name and title.
- Parameters
-
name | Name |
title | Title |
rel | Relative or absolue |
option | Draw Option |
id | Identifier |
Definition at line 5686 of file GraphSysErr.C.
GraphSysErr::Holder::Holder |
( |
const Holder & |
other | ) |
|
|
inlineprotected |
GraphSysErr::Holder::ClassDef |
( |
Holder |
, |
|
|
3 |
|
|
) |
| |
|
protected |
void GraphSysErr::Holder::CopyAttr |
( |
Holder * |
h | ) |
|
|
inline |
void GraphSysErr::Holder::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 |
|
inlineprotected |
Do add errors.
- Parameters
-
xMode | X-mode |
curExl | Currently summed/stacked X low error |
curExh | Currently summed/stacked X high error |
curEyl | Currently summed/stacked Y low error |
curEyh | Currently summed/stacked Y high error |
ignoreErr | If true, ignore errors on currently stack errors |
quad | If true, add in quadrature |
sqOld | If false, assume current errors are squared already |
exl | Input: this sources X low error, Output: new value |
exh | Input: this sources X high error, Output: new value |
eyl | Input: this sources Y low error, Output: new value |
eyh | Input: this sources Y high error, Output: new value |
Definition at line 5818 of file GraphSysErr.C.
References GraphSysErr::kDraw, and GraphSysErr::kVerbose.
virtual UInt_t GraphSysErr::Holder::GetDOption |
( |
| ) |
const |
|
inlineprotectedvirtual |
virtual Bool_t GraphSysErr::Holder::IsRelative |
( |
| ) |
const |
|
inlineprotectedvirtual |
Check if this is a relative error.
- Returns
- true if declared relative
Definition at line 5769 of file GraphSysErr.C.
Referenced by GraphSysErr::Average(), GraphSysErr::Export(), GraphSysErr::ExportPoint(), GraphSysErr::FindCompat(), GraphSysErr::GetCommonErrorYDown(), GraphSysErr::GetCommonErrorYUp(), GraphSysErr::Import(), GraphSysErr::IsRelative(), GraphSysErr::Print(), GraphSysErr::Ratio(), GraphSysErr::SavePrimitive(), and GraphSysErr::Scale().
virtual void GraphSysErr::Holder::ls |
( |
Option_t * |
option | ) |
const |
|
inlineprotectedvirtual |
Holder& GraphSysErr::Holder::operator= |
( |
const Holder & |
other | ) |
|
|
inlineprotected |
virtual void GraphSysErr::Holder::Print |
( |
Option_t * |
option = "" | ) |
const |
|
inlineprotectedvirtual |
void GraphSysErr::Holder::SetAttributes |
( |
Graph * |
g | ) |
const |
|
inlineprotected |
virtual void GraphSysErr::Holder::SetDOption |
( |
EDrawOption_t |
opt | ) |
|
|
inlineprotectedvirtual |
virtual Graph* GraphSysErr::Holder::StackError |
( |
Graph * |
g, |
|
|
Bool_t |
ignoreErr, |
|
|
Bool_t |
quad |
|
) |
| const |
|
protectedpure virtual |
virtual void GraphSysErr::Holder::SumError |
( |
Graph * |
g, |
|
|
Int_t |
i, |
|
|
Bool_t |
ignoreErr, |
|
|
Bool_t |
quad, |
|
|
UInt_t |
opt |
|
) |
| const |
|
protectedpure virtual |
UShort_t GraphSysErr::Holder::XMode |
( |
Int_t |
opt = -1 | ) |
const |
|
inlineprotected |
Definition at line 5790 of file GraphSysErr.C.
References GraphSysErr::kArrow, GraphSysErr::kBar, GraphSysErr::kBox, GraphSysErr::kCurve, GraphSysErr::kFill, GraphSysErr::kHat, GraphSysErr::kNone, GraphSysErr::kNormal, GraphSysErr::kNoTick, and GraphSysErr::kRect.
Referenced by GraphSysErr::GetYandError(), and GraphSysErr::MakeMulti().
UInt_t GraphSysErr::Holder::fOption |
|
protected |
Bool_t GraphSysErr::Holder::fRelative |
|
protected |
The documentation for this struct was generated from the following file: