ROOT logo
AliRoot » PWGDQ » DIELECTRON » AliDielectronHistos

class AliDielectronHistos: public TNamed

Function Members (Methods)

public:
AliDielectronHistos()
AliDielectronHistos(const char* name, const char* title)
virtual~AliDielectronHistos()
voidTObject::AbstractMethod(const char* method) const
static voidAdaptNameTitle(TH1* hist, const char* histClass)
voidAddClass(const char* histClass)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
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 voidDraw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidDrawSame(const char* histName, Option_t* opt = "leg can")
virtual voidTObject::Dump() constMENU
voidDumpToFile(const char* file = "histos.root")
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
voidFill(const char* histClass, const char* name, Double_t xval)
voidFill(const char* histClass, const char* name, Double_t xval, Double_t yval)
voidFill(const char* histClass, const char* name, Double_t xval, Double_t yval, Double_t zval)
virtual voidTNamed::FillBuffer(char*& buffer)
voidFillClass(const char* histClass, Int_t nValues, const Double_t* values)
static voidFillValues(TObject* obj, const Double_t* values)
static voidFillValues(TH1* obj, const Double_t* values)
static voidFillValues(THnBase* obj, const Double_t* values)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
TObject*GetHist(const char* histClass, const char* name) const
TObject*GetHist(const char* cutClass, const char* histClass, const char* name) const
TH1*GetHistogram(const char* histClass, const char* name) const
TH1*GetHistogram(const char* cutClass, const char* histClass, const char* name) const
const THashList*GetHistogramList() const
virtual const char*TObject::GetIconName() const
TList*GetList() 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
static Int_tGetPrecision(Double_t value)
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TBits*GetUsedVars() const
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
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)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
voidReadFromFile(const char* file = "histos.root")
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidResetHistogramList()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
Bool_tSetCutClass(const char* cutClass)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetHistogramList(THashList& list, Bool_t setOwner = kTRUE)
voidSetList(TList *const list)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetReservedWords(const char* words)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
static voidStoreVariables(TObject* obj, UInt_t* valType)
static voidStoreVariables(TH1* obj, UInt_t* valType)
static voidStoreVariables(THnBase* obj, UInt_t* valType)
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()
voidUserHistogram(const char* histClass, TObject* hist, UInt_t valTypes = kNoAutoFill)
voidUserHistogram(const char* histClass, Int_t ndim, TObjArray* limits, UInt_t* vars, UInt_t valTypeW = kNoWeights)
voidUserHistogram(const char* histClass, const char* name, const char* title, const char* binning, UInt_t valTypeX, UInt_t valTypeW = kNoWeights)
voidUserHistogram(const char* histClass, const char* name, const char* title, const TVectorD *const binsX, UInt_t valTypeX, UInt_t valTypeW = kNoWeights)
voidUserHistogram(const char* histClass, const char* name, const char* title, Int_t nbinsX, Double_t xmin, Double_t xmax)
voidUserHistogram(const char* histClass, Int_t ndim, Int_t* bins, Double_t* mins, Double_t* maxs, UInt_t* vars, UInt_t valTypeW = kNoWeights)
voidUserHistogram(const char* histClass, const char* name, const char* title, const TVectorD *const binsX, const TVectorD *const binsY, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeW = kNoWeights)
voidUserHistogram(const char* histClass, const char* name, const char* title, Int_t nbinsX, Double_t xmin, Double_t xmax, UInt_t valTypeX, Bool_t logBinX = kFALSE, UInt_t valTypeW = kNoWeights)
voidUserHistogram(const char* histClass, const char* name, const char* title, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax)
voidUserHistogram(const char* histClass, const char* name, const char* title, const TVectorD *const binsX, const TVectorD *const binsY, const TVectorD *const binsZ, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, UInt_t valTypeW = kNoWeights)
voidUserHistogram(const char* histClass, const char* name, const char* title, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax, UInt_t valTypeX, UInt_t valTypeY, Bool_t logBinX = kFALSE, Bool_t logBinY = kFALSE, UInt_t valTypeW = kNoWeights)
voidUserHistogram(const char* histClass, const char* name, const char* title, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax, Int_t nbinsZ, Double_t zmin, Double_t zmax, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, Bool_t logBinX = kFALSE, Bool_t logBinY = kFALSE, Bool_t logBinZ = kFALSE, UInt_t valTypeW = kNoWeights)
voidUserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, const char* binning, UInt_t valTypeX, TString option = "", UInt_t valTypeW = kNoWeights)
voidUserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, const TVectorD *const binsX, UInt_t valTypeX, TString option = "", UInt_t valTypeW = kNoWeights)
voidUserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, const TVectorD *const binsX, const TVectorD *const binsY, UInt_t valTypeX, UInt_t valTypeY, TString option = "", UInt_t valTypeW = kNoWeights)
voidUserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, Int_t nbinsX, Double_t xmin, Double_t xmax, UInt_t valTypeX, Bool_t logBinX = kFALSE, TString option = "", UInt_t valTypeW = kNoWeights)
voidUserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, const TVectorD *const binsX, const TVectorD *const binsY, const TVectorD *const binsZ, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, TString option = "", UInt_t valTypeW = kNoWeights)
voidUserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax, UInt_t valTypeX, UInt_t valTypeY, Bool_t logBinX = kFALSE, Bool_t logBinY = kFALSE, TString option = "", UInt_t valTypeW = kNoWeights)
voidUserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax, Int_t nbinsZ, Double_t zmin, Double_t zmax, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, Bool_t logBinX = kFALSE, Bool_t logBinY = kFALSE, Bool_t logBinZ = kFALSE, TString option = "", UInt_t valTypeW = kNoWeights)
voidUserSparse(const char* histClass, Int_t ndim, TObjArray* limits, UInt_t* vars, UInt_t valTypeW = kNoWeights)
voidUserSparse(const char* histClass, Int_t ndim, Int_t* bins, Double_t* mins, Double_t* maxs, UInt_t* vars, UInt_t valTypeW = kNoWeights)
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:
AliDielectronHistos(const AliDielectronHistos& hist)
voidFillClass(THashTable* classTable, Int_t nValues, Double_t* values)
voidFillVarArray(TObject* obj, UInt_t* valType)
Bool_tIsHistogramOk(const char* classTable, const char* name)
AliDielectronHistos&operator=(const AliDielectronHistos& hist)
voidPrintPDF(Option_t* opt)
voidPrintStructure() const
voidUserHistogramReservedWords(const char* histClass, const TObject* hist, UInt_t valTypes)

Data Members

public:
enum { kNoAutoFill
kNoProfile
kNoWeights
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
THashListfHistoList-> list of histograms
TList*fList! List of list of histograms
TString*fReservedWords! list of reserved words
TBits*fUsedVarslist of used variables

Class Charts

Inheritance Chart:
TNamed
AliDielectronHistos

Function documentation

AliDielectronHistos()
   TCollection(),

 Default constructor

AliDielectronHistos(const char* name, const char* title)
   TCollection(),

 TNamed constructor

~AliDielectronHistos()
 Destructor

void UserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, Int_t nbinsX, Double_t xmin, Double_t xmax, UInt_t valTypeX, Bool_t logBinX = kFALSE, TString option = "", UInt_t valTypeW = kNoWeights)
 Default histogram creation 1D case

void UserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax, UInt_t valTypeX, UInt_t valTypeY, Bool_t logBinX = kFALSE, Bool_t logBinY = kFALSE, TString option = "", UInt_t valTypeW = kNoWeights)
 Default histogram creation 2D case

void UserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax, Int_t nbinsZ, Double_t zmin, Double_t zmax, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, Bool_t logBinX = kFALSE, Bool_t logBinY = kFALSE, Bool_t logBinZ = kFALSE, TString option = "", UInt_t valTypeW = kNoWeights)
 Default histogram creation 3D case

void UserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, const char* binning, UInt_t valTypeX, TString option = "", UInt_t valTypeW = kNoWeights)
 Histogram creation 1D case with arbitraty binning

void UserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, const TVectorD *const binsX, UInt_t valTypeX, TString option = "", UInt_t valTypeW = kNoWeights)
 Histogram creation 1D case with arbitraty binning X
 the TVectorD is assumed to be surplus after the creation and will be deleted!!!

void UserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, const TVectorD *const binsX, const TVectorD *const binsY, UInt_t valTypeX, UInt_t valTypeY, TString option = "", UInt_t valTypeW = kNoWeights)
 Histogram creation 2D case with arbitraty binning X
 the TVectorD is assumed to be surplus after the creation and will be deleted!!!

void UserProfile(const char* histClass, const char* name, const char* title, UInt_t valTypeP, const TVectorD *const binsX, const TVectorD *const binsY, const TVectorD *const binsZ, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, TString option = "", UInt_t valTypeW = kNoWeights)
 Histogram creation 3D case with arbitraty binning X
 the TVectorD is assumed to be surplus after the creation and will be deleted!!!

void UserHistogram(const char* histClass, Int_t ndim, Int_t* bins, Double_t* mins, Double_t* maxs, UInt_t* vars, UInt_t valTypeW = kNoWeights)
 Histogram creation 4-n dimension only with linear binning

void UserHistogram(const char* histClass, Int_t ndim, TObjArray* limits, UInt_t* vars, UInt_t valTypeW = kNoWeights)
 Histogram creation n>3 dimension only with non-linear binning

void UserSparse(const char* histClass, Int_t ndim, Int_t* bins, Double_t* mins, Double_t* maxs, UInt_t* vars, UInt_t valTypeW = kNoWeights)
 THnSparse creation with linear binning

void UserSparse(const char* histClass, Int_t ndim, TObjArray* limits, UInt_t* vars, UInt_t valTypeW = kNoWeights)
 THnSparse creation with non-linear binning

void UserHistogram(const char* histClass, TObject* hist, UInt_t valTypes = kNoAutoFill)
 Add any type of user histogram

void AddClass(const char* histClass)
 Add a class of histograms
 Several classes can be added by separating them by a ';' e.g. 'class1;class2;class3'

void Fill(const char* histClass, const char* name, Double_t xval)
 Fill function 1D case

void Fill(const char* histClass, const char* name, Double_t xval, Double_t yval)
 Fill function 2D case

void Fill(const char* histClass, const char* name, Double_t xval, Double_t yval, Double_t zval)
 Fill function 3D case

void FillClass(const char* histClass, Int_t nValues, const Double_t* values)
 Fill class 'histClass' (by name)

void UserHistogramReservedWords(const char* histClass, const TObject* hist, UInt_t valTypes)
 Creation of histogram for all pair types

void DumpToFile(const char* file = "histos.root")
 Dump the histogram list to a newly created root file

TObject* GetHist(const char* histClass, const char* name) const
 return object 'name' in 'histClass'

TH1* GetHistogram(const char* histClass, const char* name) const
 return histogram 'name' in 'histClass'

TObject* GetHist(const char* cutClass, const char* histClass, const char* name) const
 return object from list of list of histograms
 this function is thought for retrieving histograms if a list of AliDielectronHistos is set

TH1* GetHistogram(const char* cutClass, const char* histClass, const char* name) const
 return histogram from list of list of histograms
 this function is thought for retrieving histograms if a list of AliDielectronHistos is set

void Draw(Option_t* option = "")
 Draw histograms

void Print(Option_t* option = "") const
 Print classes and histograms

void PrintStructure() const
 Print classes and histograms in the class to stdout

void SetHistogramList(THashList& list, Bool_t setOwner = kTRUE)
 set histogram classes and histograms to this instance. It will take onwnership!

Bool_t SetCutClass(const char* cutClass)
 Assign histogram list according to cutClass

Bool_t IsHistogramOk(const char* classTable, const char* name)
 check whether the histogram class exists and the histogram itself does not exist yet

void ReadFromFile(const char* file = "histos.root")
 Read histos from file

void DrawSame(const char* histName, Option_t* opt = "leg can")
 Draw all histograms with the same name into one canvas
 if option contains 'leg' a legend will be created with the class name as caption
 if option contains 'can' a new canvas is created

void SetReservedWords(const char* words)
 set reserved words

void StoreVariables(TObject* obj, UInt_t* valType)


void StoreVariables(TH1* obj, UInt_t* valType)
 store variables in the axis (special for TProfile3D)

void StoreVariables(THnBase* obj, UInt_t* valType)
 store variables in the axis

void FillValues(TObject* obj, const Double_t* values)


void FillValues(TH1* obj, const Double_t* values)
 fill values for TH1 inherted classes

void FillValues(THnBase* obj, const Double_t* values)
 fill values for THn inherted classes

void FillVarArray(TObject* obj, UInt_t* valType)
 extract variables stored in the axis (special for TProfile3D)

void AdaptNameTitle(TH1* hist, const char* histClass)
Int_t GetPrecision(Double_t value)
AliDielectronHistos()
void UserHistogram(const char* histClass, Int_t ndim, Int_t* bins, Double_t* mins, Double_t* maxs, UInt_t* vars, UInt_t valTypeW = kNoWeights)
void UserHistogram(const char* histClass, Int_t ndim, TObjArray* limits, UInt_t* vars, UInt_t valTypeW = kNoWeights)
void UserHistogram(const char* histClass, const char* name, const char* title, Int_t nbinsX, Double_t xmin, Double_t xmax, UInt_t valTypeX, Bool_t logBinX = kFALSE, UInt_t valTypeW = kNoWeights)
{ UserProfile(histClass,name,title,kNoProfile,nbinsX,xmin,xmax,valTypeX,logBinX,"",valTypeW); }
void UserHistogram(const char* histClass, const char* name, const char* title, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax, UInt_t valTypeX, UInt_t valTypeY, Bool_t logBinX = kFALSE, Bool_t logBinY = kFALSE, UInt_t valTypeW = kNoWeights)
{ UserProfile(histClass,name,title,kNoProfile,nbinsX,xmin,xmax,nbinsY,ymin,ymax,valTypeX,valTypeY,logBinX,logBinY,valTypeW); }
void UserHistogram(const char* histClass, const char* name, const char* title, Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax, Int_t nbinsZ, Double_t zmin, Double_t zmax, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, Bool_t logBinX = kFALSE, Bool_t logBinY = kFALSE, Bool_t logBinZ = kFALSE, UInt_t valTypeW = kNoWeights)
{ UserProfile(histClass,name,title,kNoProfile,nbinsX,xmin,xmax,nbinsY,ymin,ymax,nbinsZ,zmin,zmax,valTypeX,valTypeY,valTypeZ,logBinX,logBinY,logBinZ,valTypeW); }
void UserHistogram(const char* histClass, const char* name, const char* title, const char* binning, UInt_t valTypeX, UInt_t valTypeW = kNoWeights)
  void UserHistogram(const char* histClass,const char *name, const char* title,
                     const TVectorD * const binsX, UInt_t valTypeX)
  { UserProfile(histClass,name,title,kNoProfile,binsX,valTypeX); }
{ UserProfile(histClass,name,title,kNoProfile,binning,valTypeX,"",valTypeW); }
void UserHistogram(const char* histClass, const char* name, const char* title, const TVectorD *const binsX, UInt_t valTypeX, UInt_t valTypeW = kNoWeights)
{ UserProfile(histClass,name,title,kNoProfile,binsX,valTypeX,"",valTypeW); }
void UserHistogram(const char* histClass, const char* name, const char* title, const TVectorD *const binsX, const TVectorD *const binsY, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeW = kNoWeights)
{ UserProfile(histClass,name,title,kNoProfile,binsX,binsY,valTypeX,valTypeY,"",valTypeW); }
void UserHistogram(const char* histClass, const char* name, const char* title, const TVectorD *const binsX, const TVectorD *const binsY, const TVectorD *const binsZ, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, UInt_t valTypeW = kNoWeights)
{ UserProfile(histClass,name,title,kNoProfile,binsX,binsY,binsZ,valTypeX,valTypeY,valTypeZ,"",valTypeW); }
void FillClass(const char* histClass, Int_t nValues, const Double_t* values)
   void FillClass(const char* histClass, const TVectorD &vals);
void ResetHistogramList()
const THashList* GetHistogramList() const
{return &fHistoList;}
void SetList(TList *const list)
{ fList=list; }
TList * GetList() const
{ return fList; }
TBits * GetUsedVars() const
{ return fUsedVars; }
void PrintPDF(Option_t* opt)