Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::FemtoDebug2DCF Class Reference
Inheritance diagram for Hal::FemtoDebug2DCF:
Hal::DividedHisto2D Hal::DividedHisto1D Hal::Object

Public Member Functions

 FemtoDebug2DCF ()
 
 FemtoDebug2DCF (TString name, Int_t phibins, Int_t eta_bins)
 
 FemtoDebug2DCF (const FemtoDebug2DCF &other)
 
virtual void Draw (Option_t *opt)
 
virtual void Browse (TBrowser *b)
 
virtual void FillNumObj (TObject *obj)
 
virtual void FillDenObj (TObject *obj)
 
TObject * Clone (const char *newname="") const
 
virtual TString HTMLExtract (Int_t counter=0, TString dir=" ") const
 
- Public Member Functions inherited from Hal::DividedHisto2D
 DividedHisto2D ()
 
 DividedHisto2D (TString name)
 
 DividedHisto2D (TString name, Int_t binsX, Double_t minX, Double_t maxX, Int_t binsY, Double_t minY, Double_t maxY, Char_t type='D')
 
 DividedHisto2D (TString name, const HistogramAxisConf &axX, const HistogramAxisConf &axY, Char_t type='D')
 
 DividedHisto2D (const DividedHisto2D &other)
 
void Fold2D (Double_t valX, Double_t valY, Option_t *opt="xy")
 
void FillNum (Double_t x, Double_t y, Double_t weight)
 
void FillDen (Double_t x, Double_t y, Double_t weight)
 
virtual void Rebin (Int_t ngroup, Option_t *opt)
 
TH1D * GetProjection1D (Double_t min, Double_t max, Option_t *opt) const
 
Double_t CalculateNorm (Double_t minX, Double_t maxX, Double_t minY, Double_t maxY) const
 
DividedHisto2Doperator= (const DividedHisto2D &other)
 
- Public Member Functions inherited from Hal::DividedHisto1D
 DividedHisto1D ()
 
 DividedHisto1D (TString name)
 
 DividedHisto1D (TString name, Int_t nbins, Double_t min, Double_t max, Char_t type='D')
 
 DividedHisto1D (TString name, const HistogramAxisConf &conf, Char_t type='D')
 
 DividedHisto1D (const DividedHisto1D &other)
 
DividedHisto1Doperator= (const DividedHisto1D &other)
 
void SetScale (Double_t scale)
 
void SetAxisName (TString name)
 
TH1 * GetNum () const
 
TH1 * GetDen () const
 
TH1 * GetHist (Bool_t normalized=kTRUE) const
 
void SetOwnerNum (Bool_t own)
 
void SetOwnerDen (Bool_t own)
 
void SetOwner (Bool_t own)
 
void SetNorm (Double_t min, Double_t max, Int_t axis=0)
 
void AddLabel (TString label)
 
void SetBinomial (Bool_t binomial)
 
void SetComment (TString comment)
 
void FillNum (Double_t x, Double_t weight)
 
void FillDen (Double_t x, Double_t weight)
 
virtual void AddNum (TH1 *num, Option_t *opt="")
 
virtual void AddDen (TH1 *den, Option_t *opt="")
 
virtual void AddNumDen (TH1 *num, TH1 *den, Option_t *opt="")
 
virtual void AddScaled (const DividedHisto1D &other, Double_t scale=1)
 
void Fold1D (Double_t val, Option_t *opt="x")
 
virtual void Add (const Object *h)
 
virtual void Print (Option_t *opt) const
 
virtual void SetDirectory (TDirectory *dir=nullptr)
 
Int_t GetNDim () const
 
Int_t GetLabelsNo () const
 
Bool_t IsBinomial () const
 
Bool_t IsDenOwner () const
 
Bool_t IsNumOwner () const
 
Bool_t IsOwner () const
 
Double_t GetNormMin (Int_t no=0) const
 
Double_t GetNormMax (Int_t no=0) const
 
Double_t GetScale () const
 
Double_t CalculateNorm (Double_t min, Double_t max) const
 
virtual Long64_t Merge (TCollection *collection)
 
TString GetAxisName () const
 
TList * GetLabelList () const
 
TString GetLabel (Int_t i) const
 
TString GetExtractType () const
 
TString GetComment () const
 
virtual TObject * GetSpecial (TString opt) const
 
- Public Member Functions inherited from Hal::Object
 Object ()
 
virtual void HTMLExtractIntoTable (Int_t, HtmlTable &, TString="", TString="") const
 
virtual Bool_t CanBeTableElement () const
 

Static Public Member Functions

static void SetFillFunction (std::function< void(TH1 *, Hal::FemtoPair *)> *func)
 

Protected Member Functions

virtual void SetAxisNames (TH1 *h)
 
- Protected Member Functions inherited from Hal::DividedHisto2D
virtual void Normalize (TH1 *h) const
 
virtual void SetHistoName (TH1 *h) const
 
virtual void Folding2D (Double_t valX, Double_t valY, Option_t *opt)
 
virtual void Folding1D (Double_t val, Option_t *axis)
 
 DividedHisto2D (TString name, const Int_t dim)
 
TH1D * Projection2DTo1D (Double_t min, Double_t max, Option_t *opt) const
 
- Protected Member Functions inherited from Hal::DividedHisto1D
 DividedHisto1D (TString name, const Int_t dim)
 
virtual TString CommonExtract (Int_t counter, TString dir) const
 
virtual TString GetPic () const
 
virtual void ApplyStyle (const HistoStyle &h)
 

Additional Inherited Members

- Protected Attributes inherited from Hal::DividedHisto1D
TH1 * fNum
 
TH1 * fDen
 
Bool_t fBinomial
 
const Int_t fDim
 
Double_t * fNormMin
 
Double_t * fNormMax
 
Double_t fScale
 
TString fAxisName
 
TString fComment
 
TList * fLabels
 

Detailed Description

Definition at line 16 of file FemtoDebug2DCF.h.

Constructor & Destructor Documentation

◆ FemtoDebug2DCF() [1/3]

Hal::FemtoDebug2DCF::FemtoDebug2DCF ( )

constructor for Streamer

Definition at line 30 of file FemtoDebug2DCF.cxx.

◆ FemtoDebug2DCF() [2/3]

Hal::FemtoDebug2DCF::FemtoDebug2DCF ( TString name,
Int_t phibins,
Int_t eta_bins )

main constructor

Parameters
name
phibins
eta_bins
min
max

Definition at line 77 of file FemtoDebug2DCF.cxx.

◆ FemtoDebug2DCF() [3/3]

Hal::FemtoDebug2DCF::FemtoDebug2DCF ( const FemtoDebug2DCF & other)

Definition at line 129 of file FemtoDebug2DCF.cxx.

◆ ~FemtoDebug2DCF()

Hal::FemtoDebug2DCF::~FemtoDebug2DCF ( )
virtual

Definition at line 83 of file FemtoDebug2DCF.cxx.

Member Function Documentation

◆ Browse()

void Hal::FemtoDebug2DCF::Browse ( TBrowser * b)
virtual

used to draw histograms

Parameters
b

Reimplemented from Hal::DividedHisto2D.

Definition at line 35 of file FemtoDebug2DCF.cxx.

◆ Clone()

TObject * Hal::FemtoDebug2DCF::Clone ( const char * newname = "") const

Definition at line 127 of file FemtoDebug2DCF.cxx.

◆ Draw()

void Hal::FemtoDebug2DCF::Draw ( Option_t * opt)
virtual

draw this object

Parameters
optif "num" then only numerator is drawn, if "den" only denominator is drawn, if "all" current pad is divided and numertor, by default when "all" is called then histograms are rebinned for performance optimization, this rebinning can be ingored by adding "hd", othrerwise only divided histogram is drawn denominator and CF are drawn

Reimplemented from Hal::DividedHisto1D.

Definition at line 85 of file FemtoDebug2DCF.cxx.

◆ FillDenObj()

void Hal::FemtoDebug2DCF::FillDenObj ( TObject * )
virtual

fill denominator

Parameters
obj

Reimplemented from Hal::DividedHisto1D.

Definition at line 72 of file FemtoDebug2DCF.cxx.

◆ FillNumObj()

void Hal::FemtoDebug2DCF::FillNumObj ( TObject * )
virtual

fill numerator

Parameters
obj

Reimplemented from Hal::DividedHisto1D.

Definition at line 67 of file FemtoDebug2DCF.cxx.

◆ HTMLExtract()

TString Hal::FemtoDebug2DCF::HTMLExtract ( Int_t counter = 0,
TString dir = " " ) const
virtual

crates htm repot

Parameters
countercounter of this object
dirplace where extract report
Returns
relative address

Reimplemented from Hal::DividedHisto2D.

Definition at line 44 of file FemtoDebug2DCF.cxx.

◆ SetAxisNames()

void Hal::FemtoDebug2DCF::SetAxisNames ( TH1 * h)
protectedvirtual

Definition at line 121 of file FemtoDebug2DCF.cxx.

◆ SetFillFunction()

static void Hal::FemtoDebug2DCF::SetFillFunction ( std::function< void(TH1 *, Hal::FemtoPair *)> * func)
inlinestatic

Definition at line 22 of file FemtoDebug2DCF.h.


The documentation for this class was generated from the following files: