AliPhysics  32e057f (32e057f)
GraphSysErr::Holder Struct Referenceabstract
Inheritance diagram for GraphSysErr::Holder:

Public Member Functions

 Holder ()
 
virtual ~Holder ()
 
void CopyAttr (Holder *h)
 

Protected Member Functions

 Holder (const char *name, const char *title, Bool_t rel, UInt_t option, UInt_t id)
 
 Holder (const Holder &other)
 
Holderoperator= (const Holder &other)
 
virtual GraphStackError (Graph *g, Bool_t ignoreErr, Bool_t quad) const =0
 
virtual void SumError (Graph *g, Int_t i, Bool_t ignoreErr, Bool_t quad, UInt_t opt) const =0
 
virtual UInt_t GetDOption () const
 
virtual void SetDOption (EDrawOption_t opt)
 
virtual Bool_t IsRelative () const
 
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
 
void SetAttributes (Graph *g) const
 

Protected Attributes

Bool_t fRelative
 
UInt_t fOption
 

Friends

struct GraphSysErr
 

Detailed Description

Base class to hold systematic errors

Definition at line 5659 of file GraphSysErr.C.

Constructor & Destructor Documentation

GraphSysErr::Holder::Holder ( )
inline

CTOR

Definition at line 5666 of file GraphSysErr.C.

virtual GraphSysErr::Holder::~Holder ( )
inlinevirtual

DTOR

Definition at line 5676 of file GraphSysErr.C.

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
nameName
titleTitle
relRelative or absolue
optionDraw Option
idIdentifier

Definition at line 5696 of file GraphSysErr.C.

GraphSysErr::Holder::Holder ( const Holder other)
inlineprotected

Copy constructorr

Parameters
otherObject to copy from

Definition at line 5711 of file GraphSysErr.C.

Member Function Documentation

void GraphSysErr::Holder::CopyAttr ( Holder h)
inline

Definition at line 5677 of file GraphSysErr.C.

Referenced by GraphSysErr::Ratio().

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
xModeX-mode
curExlCurrently summed/stacked X low error
curExhCurrently summed/stacked X high error
curEylCurrently summed/stacked Y low error
curEyhCurrently summed/stacked Y high error
ignoreErrIf true, ignore errors on currently stack errors
quadIf true, add in quadrature
sqOldIf false, assume current errors are squared already
exlInput: this sources X low error, Output: new value
exhInput: this sources X high error, Output: new value
eylInput: this sources Y low error, Output: new value
eyhInput: this sources Y high error, Output: new value

Definition at line 5828 of file GraphSysErr.C.

virtual UInt_t GraphSysErr::Holder::GetDOption ( ) const
inlineprotectedvirtual
Returns
Get the Option

Definition at line 5767 of file GraphSysErr.C.

Referenced by GraphSysErr::MakeMulti().

virtual Bool_t GraphSysErr::Holder::IsRelative ( ) const
inlineprotectedvirtual
virtual void GraphSysErr::Holder::ls ( Option_t option) const
inlineprotectedvirtual

Definition at line 5795 of file GraphSysErr.C.

Holder& GraphSysErr::Holder::operator= ( const Holder other)
inlineprotected

Assignment operator

Parameters
otherObject to assign from
Returns
reference to this object

Definition at line 5727 of file GraphSysErr.C.

Referenced by GraphSysErr::HolderP2P::operator=(), and GraphSysErr::HolderCommon::operator=().

virtual void GraphSysErr::Holder::Print ( Option_t option = "") const
inlineprotectedvirtual

Reimplemented in GraphSysErr::HolderCommon, and GraphSysErr::HolderP2P.

Definition at line 5781 of file GraphSysErr.C.

void GraphSysErr::Holder::SetAttributes ( Graph g) const
inlineprotected

Set attributes

Parameters
gon graph

Definition at line 5877 of file GraphSysErr.C.

virtual void GraphSysErr::Holder::SetDOption ( EDrawOption_t  opt)
inlineprotectedvirtual

Set the draw option

Parameters
optOption

Definition at line 5773 of file GraphSysErr.C.

Referenced by GraphSysErr::SetSysOption().

virtual Graph* GraphSysErr::Holder::StackError ( Graph g,
Bool_t  ignoreErr,
Bool_t  quad 
) const
protectedpure virtual

Create new graph with stacked errors

Parameters
gPrevious errors
ignoreErrIf true, ignore previous errors
quadIf true, add in quadrature
Returns
Newly allocated graph

Implemented in GraphSysErr::HolderCommon, and GraphSysErr::HolderP2P.

Referenced by GraphSysErr::MakeMulti().

virtual void GraphSysErr::Holder::SumError ( Graph g,
Int_t  i,
Bool_t  ignoreErr,
Bool_t  quad,
UInt_t  opt 
) const
protectedpure virtual

Sum errors at point. Point i of g is updated

Parameters
gWhere to sum
iPoint
ignoreErrIf true, ignore exusisting errros
quadAdd in quadrature
optOption

Implemented in GraphSysErr::HolderCommon, and GraphSysErr::HolderP2P.

Referenced by GraphSysErr::MakeMulti().

UShort_t GraphSysErr::Holder::XMode ( Int_t  opt = -1) const
inlineprotected

Definition at line 5800 of file GraphSysErr.C.

Referenced by GraphSysErr::GetYandError(), and GraphSysErr::MakeMulti().

Friends And Related Function Documentation

friend struct GraphSysErr
friend

Containing class is a friemd

Definition at line 5662 of file GraphSysErr.C.

Member Data Documentation

UInt_t GraphSysErr::Holder::fOption
protected

Options

Definition at line 5889 of file GraphSysErr.C.

Referenced by CopyAttr(), and operator=().

Bool_t GraphSysErr::Holder::fRelative
protected

Relative error flag

Definition at line 5887 of file GraphSysErr.C.

Referenced by operator=().


The documentation for this struct was generated from the following file: