AliPhysics  6bc8652 (6bc8652)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CENTAdder Struct Reference
Inheritance diagram for CENTAdder:

Public Member Functions

 CENTAdder (const TString &sys, UShort_t sNN, const TString &method)
 
const char * GetTriggerName () const
 
virtual const char * GetTriggerString () const
 
virtual void GetTrigger (Double_t &low, Double_t &high) const
 
Int_t MakeTrigger (GraphSysErr *gse, TLegend *l) const
 
Double_t GetCentrality (TH1 *h, Bool_t verb=false)
 
virtual Int_t MakeEmpirical (GraphSysErr *gse, TLegend *l) const
 
virtual GraphSysErrMake (TH1 *h, TLegend *l, Double_t eff=1, Bool_t verb=false)
 
- Public Member Functions inherited from SysErrorAdder
 SysErrorAdder (const TString &sys, UShort_t sNN, const TString &trig)
 
virtual ~SysErrorAdder ()
 
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
 
Int_t MakeMerging (GraphSysErr *gse, TLegend *l) const
 
Int_t MakeDensity (GraphSysErr *gse, TLegend *l) const
 
virtual Int_t MakeHadron (GraphSysErr *gse, TLegend *l) const
 
virtual const char * MakeName () 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
 

Public Attributes

Double_t fCent
 
Double_t fValue
 
TH1fLookup
 
Double_t fCMin
 
Double_t fCMax
 
- Public Attributes inherited from SysErrorAdder
TString fSys
 
UShort_t fSNN
 
TString fTrig
 

Additional Inherited Members

- Public Types inherited from SysErrorAdder
enum  {
  kTriggerFill = 1001, kMergingFill = 3001, kDensityFill = 3002, kEmpiricalFill = 3144,
  kHadronFill = 3244, kOtherFill = 0
}
 
- Static Public Member Functions inherited from SysErrorAdder
static SysErrorAdderCreate (const TString &t, const TString &s, UShort_t e, const TString &c)
 

Detailed Description

For centrality

Definition at line 482 of file SysErrorAdder.C.

Constructor & Destructor Documentation

CENTAdder::CENTAdder ( const TString sys,
UShort_t  sNN,
const TString method 
)
inline

Constructor

Parameters
sysCollision system
sNNCollision energy
methodMEthod to use

Definition at line 498 of file SysErrorAdder.C.

Member Function Documentation

Double_t CENTAdder::GetCentrality ( TH1 h,
Bool_t  verb = false 
)
inline

Get centrality

Parameters
hHistogram
verbBe verbose
Returns
Centrality

Definition at line 586 of file SysErrorAdder.C.

Referenced by Make().

virtual void CENTAdder::GetTrigger ( Double_t low,
Double_t high 
) const
inlinevirtual

Get trigger systematic error

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

Implements SysErrorAdder.

Definition at line 566 of file SysErrorAdder.C.

const char* CENTAdder::GetTriggerName ( ) const
inlinevirtual

Trigger name

Returns
The trigger name

Reimplemented from SysErrorAdder.

Definition at line 545 of file SysErrorAdder.C.

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

Reimplemented from SysErrorAdder.

Definition at line 553 of file SysErrorAdder.C.

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

Create a graph

Parameters
hhistogram
l
eff
verb
Returns
Graph

Reimplemented from SysErrorAdder.

Definition at line 636 of file SysErrorAdder.C.

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

Declare the systematic error from the empirical correction

Parameters
gseGraph
lOptional legend
Returns
Id of systmatic error or -1

Reimplemented from SysErrorAdder.

Definition at line 616 of file SysErrorAdder.C.

Int_t CENTAdder::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 from SysErrorAdder.

Definition at line 572 of file SysErrorAdder.C.

Member Data Documentation

Double_t CENTAdder::fCent

Definition at line 484 of file SysErrorAdder.C.

Referenced by GetCentrality(), GetTrigger(), Make(), and MakeEmpirical().

Double_t CENTAdder::fCMax

Definition at line 490 of file SysErrorAdder.C.

Referenced by GetCentrality(), GetTriggerString(), and MakeTrigger().

Double_t CENTAdder::fCMin

Definition at line 489 of file SysErrorAdder.C.

Referenced by GetCentrality(), GetTriggerString(), and MakeTrigger().

TH1* CENTAdder::fLookup

Definition at line 488 of file SysErrorAdder.C.

Referenced by CENTAdder(), and GetTrigger().

Double_t CENTAdder::fValue

Definition at line 485 of file SysErrorAdder.C.


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