AliPhysics  9c7580a (9c7580a)
SysErrorAdder Struct Referenceabstract
Inheritance diagram for SysErrorAdder:

Public Types

enum  {
  kTriggerFill = 1001, kMergingFill = 3001, kDensityFill = 3002, kEmpiricalFill = 3144,
  kHadronFill = 3244, kEMFill = 3344, kDiffRatFill = 3001, kDiffMassFill = 3002,
  kOtherFill = 0
}
 

Public Member Functions

 SysErrorAdder (const TString &sys, UShort_t sNN, const TString &trig)
 
virtual ~SysErrorAdder ()
 
virtual const char * GetTriggerName () const
 
virtual const char * GetTriggerString () const
 
Int_t ModColor (Color_t n, UShort_t off) const
 
void ModError (GraphSysErr *gse, Int_t id, Style_t fill, TLegend *l, UShort_t off=64) const
 
void AddLegend (TLegend *l, Int_t id, const char *title, Style_t fill) const
 
virtual Int_t MakeTrigger (GraphSysErr *gse, TLegend *l) const
 
Int_t MakeMerging (GraphSysErr *gse, TLegend *l) const
 
Int_t MakeDensity (GraphSysErr *gse, TLegend *l) const
 
virtual Int_t MakeEmpirical (GraphSysErr *gse, TLegend *l) const
 
virtual Int_t MakeHadron (GraphSysErr *gse, TLegend *l) const
 
virtual const char * MakeName (Double_t eff) const
 
virtual Double_t GetMerging (Short_t) const
 
virtual Double_t GetDensity (Short_t w) const
 
virtual Double_t GetEmpirical () const
 
virtual Double_t GetHadron (Double_t eta) const
 
virtual void GetTrigger (Double_t &low, Double_t &high) const =0
 
virtual GraphSysErrMake (TH1 *h, TLegend *l, Double_t eff=1, Bool_t verb=false)
 

Static Public Member Functions

static SysErrorAdderCreate (const TString &t, const TString &s, UShort_t e, const TString &c)
 

Public Attributes

TString fSys
 
UShort_t fSNN
 
TString fTrig
 

Detailed Description

Definition at line 15 of file SysErrorAdder.C.

Member Enumeration Documentation

anonymous enum

Fill styles

Enumerator
kTriggerFill 
kMergingFill 
kDensityFill 
kEmpiricalFill 
kHadronFill 
kEMFill 
kDiffRatFill 
kDiffMassFill 
kOtherFill 

Definition at line 20 of file SysErrorAdder.C.

Constructor & Destructor Documentation

SysErrorAdder::SysErrorAdder ( const TString sys,
UShort_t  sNN,
const TString trig 
)
inline

Constructor

Parameters
sysSystem
sNNCollision energy
trigTrigger

Definition at line 44 of file SysErrorAdder.C.

virtual SysErrorAdder::~SysErrorAdder ( )
inlinevirtual

Destructor

Definition at line 52 of file SysErrorAdder.C.

Member Function Documentation

void SysErrorAdder::AddLegend ( TLegend *  l,
Int_t  id,
const char *  title,
Style_t  fill 
) const
inline

Add legend entry

Parameters
lLegend
idIdentifier
titleTitle
fillFill style

Definition at line 111 of file SysErrorAdder.C.

Referenced by CENTAdder::MakeEmpirical(), and ModError().

SysErrorAdder * SysErrorAdder::Create ( const TString t,
const TString s,
UShort_t  e,
const TString c 
)
static

Create a systematic uncertainty adder

Parameters
tTrigger type
sSystem type
eCollision energy
cCentrality method
Returns
Newly created object

Definition at line 749 of file SysErrorAdder.C.

Referenced by ExtractGSEs(), and Make().

virtual Double_t SysErrorAdder::GetDensity ( Short_t  w) const
inlinevirtual
Returns
The systematic error from density calculator

Definition at line 210 of file SysErrorAdder.C.

Referenced by Make(), and MakeDensity().

virtual Double_t SysErrorAdder::GetEmpirical ( ) const
inlinevirtual
Returns
The systematic error from empirical correction

Definition at line 214 of file SysErrorAdder.C.

Referenced by Make(), MakeEmpirical(), and CENTAdder::MakeEmpirical().

virtual Double_t SysErrorAdder::GetHadron ( Double_t  eta) const
inlinevirtual
Returns
The systematic error from empirical correction

Printf("Eta=%f -> %f", eta, ret);

Definition at line 218 of file SysErrorAdder.C.

Referenced by Make(), and MakeHadron().

virtual Double_t SysErrorAdder::GetMerging ( Short_t  ) const
inlinevirtual
Returns
The systematic error from merging

Definition at line 206 of file SysErrorAdder.C.

Referenced by Make(), and MakeMerging().

virtual void SysErrorAdder::GetTrigger ( Double_t low,
Double_t high 
) const
pure virtual

Get trigger systematic error

Parameters
lowOn return, the low error
highOn return, the high error

Implemented in CENTAdder, NSDAdder, INELGt0Adder, INELAdder, BareAdder, and OfflineAdder.

Referenced by GetHadron(), and MakeTrigger().

virtual const char* SysErrorAdder::GetTriggerName ( ) const
inlinevirtual

Trigger name

Returns
The trigger name

Reimplemented in CENTAdder.

Definition at line 58 of file SysErrorAdder.C.

Referenced by MakeTrigger().

virtual const char* SysErrorAdder::GetTriggerString ( ) const
inlinevirtual

Reimplemented in CENTAdder.

Definition at line 59 of file SysErrorAdder.C.

Referenced by ConvertOne(), Create(), MakeName(), and WithSysError().

virtual GraphSysErr* SysErrorAdder::Make ( TH1 h,
TLegend *  l,
Double_t  eff = 1,
Bool_t  verb = false 
)
inlinevirtual

Create a graph

Parameters
hhistogram
lOption Legend to add to
effEfficiency
verbBe verbose
Returns
Graph

Reimplemented in CENTAdder.

Definition at line 241 of file SysErrorAdder.C.

Referenced by ConvertOne(), DoOne(), CENTAdder::Make(), and WithSysError().

Int_t SysErrorAdder::MakeDensity ( GraphSysErr gse,
TLegend *  l 
) const
inline

Declare the systematic error from the denisty calculation

Parameters
gseGraph
lLegend
Returns
Id of systmatic error or -1

Definition at line 162 of file SysErrorAdder.C.

Referenced by Make().

virtual Int_t SysErrorAdder::MakeEmpirical ( GraphSysErr gse,
TLegend *  l 
) const
inlinevirtual

Declare the systematic error from the empirical correction

Parameters
gseGraph
lLegend
Returns
Id of systmatic error or -1

Reimplemented in CENTAdder.

Definition at line 177 of file SysErrorAdder.C.

Referenced by Make(), and CENTAdder::MakeEmpirical().

virtual Int_t SysErrorAdder::MakeHadron ( GraphSysErr gse,
TLegend *  l 
) const
inlinevirtual

Declare the systematic error from the hadron chemistry

Parameters
gseGraph
lLegend
Returns
Identifier

Definition at line 192 of file SysErrorAdder.C.

Referenced by Make().

Int_t SysErrorAdder::MakeMerging ( GraphSysErr gse,
TLegend *  l 
) const
inline

Declare the systematic error from the merging

Parameters
gseGraph
lLegend
Returns
Id of systmatic error or -1

Definition at line 147 of file SysErrorAdder.C.

Referenced by Make().

virtual const char* SysErrorAdder::MakeName ( Double_t  eff) const
inlinevirtual

Reimplemented in NSDAdder, and INELGt0Adder.

Definition at line 199 of file SysErrorAdder.C.

Referenced by Make().

virtual Int_t SysErrorAdder::MakeTrigger ( GraphSysErr gse,
TLegend *  l 
) const
inlinevirtual

Declare the systematic error from the trigger

Parameters
gseGraph
lLegend
Returns
Id of systmatic error or -1

Reimplemented in CENTAdder, NSDAdder, INELGt0Adder, INELAdder, BareAdder, and OfflineAdder.

Definition at line 129 of file SysErrorAdder.C.

Referenced by Make(), BareAdder::MakeTrigger(), INELAdder::MakeTrigger(), INELGt0Adder::MakeTrigger(), NSDAdder::MakeTrigger(), and CENTAdder::MakeTrigger().

Int_t SysErrorAdder::ModColor ( Color_t  n,
UShort_t  off 
) const
inline

Definition at line 60 of file SysErrorAdder.C.

void SysErrorAdder::ModError ( GraphSysErr gse,
Int_t  id,
Style_t  fill,
TLegend *  l,
UShort_t  off = 64 
) const
inline

Modify an error

Parameters
gseGraph
idIdentifier
fillFill style
lLegend
offOff-set

Definition at line 81 of file SysErrorAdder.C.

Referenced by MakeDensity(), MakeEmpirical(), MakeHadron(), MakeMerging(), MakeTrigger(), INELAdder::MakeTrigger(), INELGt0Adder::MakeTrigger(), NSDAdder::MakeTrigger(), and CENTAdder::MakeTrigger().

Member Data Documentation

TString SysErrorAdder::fSys

System

Definition at line 32 of file SysErrorAdder.C.

Referenced by CENTAdder::CENTAdder(), INELAdder::INELAdder(), Make(), and NSDAdder::NSDAdder().


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