ROOT logo
AliRoot » PWGHF » CORRELATIONHF » AliHFDmesonCorrAverage

class AliHFDmesonCorrAverage: public TNamed

 class to average D meson -hadron correlations

 Author: A. Rossi, andrea.rossi@cern.ch

Function Members (Methods)

public:
AliHFDmesonCorrAverage()
AliHFDmesonCorrAverage(const char* name)
AliHFDmesonCorrAverage(const AliHFDmesonCorrAverage&)
virtual~AliHFDmesonCorrAverage()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidCalculateAverage()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TH1D*GetAverageHisto()
AliHFDhadronCorrSystUnc*GetAverageSystUncertainty()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TH1D*GetWeightsUsedDplus()
TH1D*GetWeightsUsedDstar()
TH1D*GetWeightsUsedDzero()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
voidInitAverageHisto(TH1D* h)
Bool_tInitSystematicUncertainty(Int_t system = -1, Int_t year = -1)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
AliHFDmesonCorrAverage&operator=(const AliHFDmesonCorrAverage&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
TH1D*ReflectHisto(TH1D* h)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidSetArithmeticAverage(Bool_t averType)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetDplusHisto(TH1D* h)
voidSetDplusSystUnc(AliHFDhadronCorrSystUnc* sys)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
voidSetDstarHisto(TH1D* h)
voidSetDstarSystUnc(AliHFDhadronCorrSystUnc* sys)
static voidTObject::SetDtorOnly(void* obj)
voidSetDzeroHisto(TH1D* h)
voidSetDzeroSystUnc(AliHFDhadronCorrSystUnc* sys)
voidSetIncludeDplus(Bool_t inclDplus)
voidSetIncludeDstar(Bool_t inclDstar)
voidSetIncludeDzero(Bool_t inclDzero)
voidSetMethod(Int_t method)
voidSetMomentumRanges(Double_t minptD, Double_t maxptD, Double_t minptAsso, Double_t maxptAsso)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetSystAreAlreadySet(Bool_t syst)
voidSetSystem(Int_t sys, Int_t year)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
voidSetWeights()

Data Members

protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
Bool_tfArithmeticAverageflag to perform arithmetic average
Bool_tfSystAlreadySetSet it to kTRUE when systematic uncertainties from external files are set
AliHFDhadronCorrSystUnc*fSystDaverageAverage syst unc
AliHFDhadronCorrSystUnc*fSystDplusDzero syst unc
AliHFDhadronCorrSystUnc*fSystDstarDzero syst unc
AliHFDhadronCorrSystUnc*fSystDzeroDzero syst unc
TGraphAsymmErrors*fgrFDSystAverage
TGraphAsymmErrors*fgrNonFDSystAverage
TGraphAsymmErrors*fgrTotSystAverage
TH1D*fhDaverageD average
TH1D*fhDplusDplus input histo
TH1D*fhDstarDstar input histo
TH1D*fhDzeroDzero input histo
TH1D*fhUsedWeightsDplushistogram with final weights used for Dplus
TH1D*fhUsedWeightsDstarhistogram with final weights used for Dstar
TH1D*fhUsedWeightsDzerohistogram with final weights used for Dzero
Bool_tfincludeDplusflag to include Dplus
Bool_tfincludeDstarflag to include Dstar
Bool_tfincludeDzeroflag to include Dzero
Int_tfmethodflag to use abs uncertainty (first digit (unit)=0) or rel uncertainty (first digit=1) and stat only (second digit=0) or stat+uncorr syst (2nd digit =1)
Int_tfnbinsphinbins phi
Double_tfptmaxAssomax associated pt
Double_tfptmaxDmax D pt
Double_tfptminAssomin associated track pt
Double_tfptminDmin D pt
Int_tfsyssystem (0=pp, 1=pPb)
Double_t*fweightsDplusStatDplus weights used
Double_t*fweightsDplusSystBkgDplus weights used
Double_t*fweightsDplusSystYieldDplus weights used
Double_t*fweightsDstarStatDstar weights used
Double_t*fweightsDstarSystBkgDstar weights used
Double_t*fweightsDstarSystYieldDstar weights used
Double_t*fweightsDzeroStatDzero weights used
Double_t*fweightsDzeroSystBkgDzero weights used
Double_t*fweightsDzeroSystYieldDzero weights used
Int_tfyearyear (2010 for pp@7 TeV, 2013 for pPb@5.02 TeV)

Class Charts

Inheritance Chart:
TNamed
AliHFDmesonCorrAverage

Function documentation

AliHFDmesonCorrAverage()
AliHFDmesonCorrAverage(const char* name)
~AliHFDmesonCorrAverage()
Bool_t InitSystematicUncertainty(Int_t system = -1, Int_t year = -1)
void InitAverageHisto(TH1D* h)
void CalculateAverage()
TH1D* ReflectHisto(TH1D* h)
void SetWeights()
AliHFDmesonCorrAverage()
void SetIncludeDzero(Bool_t inclDzero)
{fincludeDzero=inclDzero;}
void SetIncludeDstar(Bool_t inclDstar)
{fincludeDstar=inclDstar;}
void SetIncludeDplus(Bool_t inclDplus)
{fincludeDplus=inclDplus;}
void SetDzeroHisto(TH1D* h)
{fhDzero=(TH1D*)h->Clone("hInputDzero");}
void SetDplusHisto(TH1D* h)
{fhDplus=(TH1D*)h->Clone("hInputDplus");}
void SetDstarHisto(TH1D* h)
{fhDstar=(TH1D*)h->Clone("hInputDstar");}
void SetArithmeticAverage(Bool_t averType)
{fArithmeticAverage=averType;}
void SetMethod(Int_t method)
{fmethod=method;}
void SetSystem(Int_t sys, Int_t year)
{fsys=sys;fyear=year;}
void SetMomentumRanges(Double_t minptD, Double_t maxptD, Double_t minptAsso, Double_t maxptAsso)
{fptminD=minptD;fptmaxD=maxptD;fptminAsso=minptAsso;fptmaxAsso=maxptAsso;}
TH1D * GetAverageHisto()
{return fhDaverage;}
TH1D * GetWeightsUsedDzero()
TH1D * GetWeightsUsedDstar()
TH1D * GetWeightsUsedDplus()
void SetDzeroSystUnc(AliHFDhadronCorrSystUnc* sys)
{fSystDzero=(AliHFDhadronCorrSystUnc*)sys->Clone("fSystDzero");}
void SetDplusSystUnc(AliHFDhadronCorrSystUnc* sys)
{fSystDplus=(AliHFDhadronCorrSystUnc*)sys->Clone("fSystDplus");}
void SetDstarSystUnc(AliHFDhadronCorrSystUnc* sys)
{fSystDstar=(AliHFDhadronCorrSystUnc*)sys->Clone("fSystDstar");}
void SetSystAreAlreadySet(Bool_t syst)
AliHFDhadronCorrSystUnc* GetAverageSystUncertainty()
{return fSystDaverage;}