ROOT logo
AliRoot » PWGCF » EBYE » LRC » AliLRCAnalysis

class AliLRCAnalysis: public TObject

Function Members (Methods)

public:
AliLRCAnalysis()
AliLRCAnalysis(const AliLRCAnalysis& a)
virtual~AliLRCAnalysis()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidCalculate()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
voidDrawAbs()
voidDrawAbs(const int *const mas)
voidDrawAbsPure(const int *const mas, bool drawPaveLabel)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
voidDrawHist(const int *const mDrawArray, bool drawPaveLabel, double aCoef, double bCoef, double aCoefError, double bCoefError, TH1D* profToDraw, int histType)
voidDrawRel()
voidDrawRel(const int *const mas)
voidDrawRelPure(const int *const mas, bool drawPaveLabel)
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 TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
doubleGetAabs() const
doubleGetAabsError() const
TH1D*GetAbsHisto() const
doubleGetArel() const
doubleGetArelError() const
doubleGetBabs() const
doubleGetBabsError() const
TH1D*GetBackwardValueDist() const
doubleGetBrel() const
doubleGetBrelError() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
doubleGetFitXmax() const
doubleGetFitXmin() const
TH1D*GetForwardValueDist() const
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TH1D*GetRelHisto() const
doubleGetRoundValueErrorPrecision(double value, double error, int pres) const
doubleGetRoundWithError(double value, double error) const
doubleGetRoundWithError(double value, double error, int pres) const
doubleGetRoundWithPrecision(double value, int pres) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
doubleGetXi2abs() const
doubleGetXi2rel() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::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
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_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::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)
AliLRCAnalysis&operator=(const AliLRCAnalysis& a)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
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 = "")
voidSetBinsRange(int binMin, int binMax)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFitMethod(int id)
boolSetFitRange(double xMin, double xMax)
boolSetFitRangeMax(double xMax)
boolSetFitRangeMin(double xMin)
voidSetFullFitRange()
voidSetNsigma(double nSigma)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetXmax(double xMax)
voidSetXmin(double xMin)
virtual voidShowMembers(TMemberInspector&)
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:
voidCreateHist(char* name, char* nameAbs, char* nameRel, char* atitleF, char* atitleB, char* rtitleF, char* rtitleB, TH2D* sourceHist)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
doubleIntegral(TH2D* source, int nbin) const
voidTObject::MakeZombie()
voidSetErrors(TH2D* source, const char* name)
voidSetErrors(TH2D* source, const char* name, double ptd, TH2D* nb)
voidSetErrors(TH2D* source, const char* name, double ptd, const TProfile* nb)
voidSetGraphics() const

Data Members

protected:
intfEntriesNumber of bins
TH1D*fPrAbsWork 1d histogramm in absolute var
TH1D*fPrRelWork 1d histogramm in rellation var
TH1D*fPrbBackward distribution
TH1D*fPrfForward distribution
doublefdptbWork var for error calculation
TFile*fileHistFile with histrogramms
private:
intfFitMethod0 - 1st variant, 1 - 2nd variant
doublefNsigmaN sigma for fit range
char*fSxTitle of x axis
char*fSyTitle of y axis
doublefXi2abschi square absolut
doublefXi2relchi square reletive
doublefaabsax = b the a absolut
doublefaabsErrora absolut error
doublefarelax = b the a relative
doublefarelErrora relative error
doublefbabsax = b the b absolut
doublefbabsErrorb absolut error
doublefbrelax = b the b reletive
doublefbrelErrorb reletive error
static const intfgkPlotFlagsSize of flags array used to chouse vat variables should be shown on a plot
doublefxFitMaxFitMax maximum of fit baundary
doublefxFitMinFitMin minimum of fit baundary

Class Charts

Inheritance Chart:
TObject
AliLRCAnalysis
AliLRCNN
AliLRCPtN
AliLRCPtPt

Function documentation

AliLRCAnalysis()
Empty constructor
AliLRCAnalysis(const AliLRCAnalysis& a)
Constructor
AliLRCAnalysis& operator=(const AliLRCAnalysis& a)
Operator =
~AliLRCAnalysis()
Destructor
void CreateHist(char* name, char* nameAbs, char* nameRel, char* atitleF, char* atitleB, char* rtitleF, char* rtitleB, TH2D* sourceHist)
Create absolute and relation var histogramm
void SetBinsRange(int binMin, int binMax)
Set the bin range
bool SetFitRange(double xMin, double xMax)
Set the fit range
bool SetFitRangeMin(double xMin)
Set the fit range min
bool SetFitRangeMax(double xMax)
Set the fit range min
this->fxFitMax = xMax;
void SetFullFitRange()
Set fitting on full range
void SetXmin(double xMin)
void SetXmax(double xMax)
void SetNsigma(double nSigma)
Sets fiting range in forward value RMSs
void SetFitMethod(int id)
Choose fit method
double GetFitXmin() const
double GetFitXmax() const
double GetArel() const
double GetBrel() const
double GetArelError() const
double GetBrelError() const
double GetXi2rel() const
double GetAabs() const
double GetBabs() const
double GetAabsError() const
double GetBabsError() const
double GetXi2abs() const
void Calculate()
void DrawAbs()
Draw abs var hist with ALL info
void DrawAbs(const int *const mas)
Draw abs var hist with REQUESTED BY ARRAY info
void DrawAbsPure(const int *const mas, bool drawPaveLabel)
void DrawRel()
Draw rel var hist with ALL info
void DrawRel(const int *const mas)
Draw rel var hist with REQUESTED BY ARRAY info
void DrawRelPure(const int *const mas, bool drawPaveLabel)
void DrawHist(const int *const mDrawArray, bool drawPaveLabel, double aCoef, double bCoef, double aCoefError, double bCoefError, TH1D* profToDraw, int histType)
 Method called by DrawRelPure or DrawAbsPure to draw corresponding LRC  histo
void SetGraphics() const
 Set root graph style
double Integral(TH2D* source, int nbin) const
 calculate the integrall for x bin and y bins of 2d histogramm
void SetErrors(TH2D* source, const char* name)
 Calculate errors for NN
void SetErrors(TH2D* source, const char* name, double ptd, TH2D* nb)
Calculate arrors for ptn and ptpt
void SetErrors(TH2D* source, const char* name, double ptd, const TProfile* nb)
Calculate arrors for ptn and ptpt
double GetRoundWithError(double value, double error) const
Rounding error and value with DEFAULT precision
double GetRoundWithError(double value, double error, int pres) const
Rounding error and value with REQUESTED precision
double GetRoundWithPrecision(double value, int pres) const
Rounding error and value with requested precision
double GetRoundValueErrorPrecision(double value, double error, int pres) const
Rounding error and value with requested precision
value == value, error == error
if single argument(value=0) - calculate without errors:
TH1D* GetAbsHisto() const
Returns final histo in absolute variables
TH1D* GetRelHisto() const
Returns final histo in relative variables
TH1D* GetForwardValueDist() const
Returns destribution of value used in forward window
TH1D* GetBackwardValueDist() const
Returns destribution of value used in backward window