Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::Femto1DCF Class Reference

#include <Femto1DCF.h>

Inheritance diagram for Hal::Femto1DCF:
Hal::DividedHisto1D Hal::Object

Public Member Functions

 Femto1DCF (TString name, Femto::EKinematics frame=Femto::EKinematics::kLCMS)
 
 Femto1DCF (TString name, Int_t bins, Double_t min, Double_t max, Femto::EKinematics frame=Femto::EKinematics::kLCMS)
 
 Femto1DCF (const Femto1DCF &other)
 
Femto::EKinematics GetFrame () const
 
virtual void AddNum (TH1 *h, Option_t *opt="")
 
virtual void AddDen (TH1 *h, Option_t *opt="")
 
void FillNumObj (TObject *obj)
 
void FillDenObj (TObject *obj)
 
void Fit (CorrFit1DCF *fit)
 
void FitDummy (CorrFit1DCF *fit)
 
virtual void Browse (TBrowser *b)
 
virtual void DrawScaled (Double_t scale, Option_t *opt)
 
virtual TString HTMLExtract (Int_t counter=0, TString dir=" ") const
 
virtual void Print (Option_t *opt="") const
 
virtual TObject * GetSpecial (TString opt) const
 
virtual void Draw (Option_t *option="")
 
virtual FemtoCFPainterGetPainter () const
 
- 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 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 Rebin (Int_t ngroup, Option_t *opt)
 
virtual void Add (const Object *h)
 
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
 
- Public Member Functions inherited from Hal::Object
 Object ()
 
virtual void HTMLExtractIntoTable (Int_t, HtmlTable &, TString="", TString="") const
 
virtual Bool_t CanBeTableElement () const
 

Protected Member Functions

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

Protected Attributes

FemtoCFPainterfPainter = {nullptr}
 
- 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
 

Friends

class FemtoSerializationInterface1D
 

Detailed Description

basic class for storing 1-dim correlation functions

Definition at line 27 of file Femto1DCF.h.

Constructor & Destructor Documentation

◆ Femto1DCF() [1/4]

Hal::Femto1DCF::Femto1DCF ( )

Definition at line 82 of file Femto1DCF.cxx.

◆ Femto1DCF() [2/4]

Hal::Femto1DCF::Femto1DCF ( TString name,
Femto::EKinematics frame = Femto::EKinematics::kLCMS )

default ctor

Parameters
namename of function
frameframe

Definition at line 91 of file Femto1DCF.cxx.

◆ Femto1DCF() [3/4]

Hal::Femto1DCF::Femto1DCF ( TString name,
Int_t bins,
Double_t min,
Double_t max,
Femto::EKinematics frame = Femto::EKinematics::kLCMS )

another constructor

Parameters
name
bins
min
max
frame

Definition at line 96 of file Femto1DCF.cxx.

◆ Femto1DCF() [4/4]

Hal::Femto1DCF::Femto1DCF ( const Femto1DCF & other)

copy constructor

Parameters
other

Definition at line 84 of file Femto1DCF.cxx.

◆ ~Femto1DCF()

Hal::Femto1DCF::~Femto1DCF ( )
virtual

Definition at line 86 of file Femto1DCF.cxx.

Member Function Documentation

◆ AddDen()

void Hal::Femto1DCF::AddDen ( TH1 * den,
Option_t * opt = "" )
virtual
Parameters
dendenominator
optoption of adding if equal to "" then histogram is added by copying pointer if "clone" then histogram is cloned into this object

Reimplemented from Hal::DividedHisto1D.

Definition at line 110 of file Femto1DCF.cxx.

◆ AddNum()

void Hal::Femto1DCF::AddNum ( TH1 * num,
Option_t * opt = "" )
virtual
Parameters
numnumerator
optoption of adding if equal to "" then histogram is added by copying pointer if "clone" then histogram is cloned into this object

Reimplemented from Hal::DividedHisto1D.

Definition at line 105 of file Femto1DCF.cxx.

◆ Browse()

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

used to draw histograms

Parameters
b

Reimplemented from Hal::DividedHisto1D.

Definition at line 147 of file Femto1DCF.cxx.

◆ Draw()

void Hal::Femto1DCF::Draw ( Option_t * option = "")
virtual

see

See also
Hal::Femto1DCFPainter::SetOptionInternal
Hal::FemtoCFPainter::SetOptionInternal
Parameters
option

Reimplemented from Hal::DividedHisto1D.

Definition at line 172 of file Femto1DCF.cxx.

◆ DrawScaled()

void Hal::Femto1DCF::DrawScaled ( Double_t scale,
Option_t * opt )
virtual

draw scaled C-f

Parameters
scalescale (norm)
optoption like for TH1

Definition at line 38 of file Femto1DCF.cxx.

◆ FillDenObj()

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

fill denominator

Parameters
obj

Reimplemented from Hal::DividedHisto1D.

Definition at line 73 of file Femto1DCF.cxx.

◆ FillNumObj()

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

fill numerator

Parameters
obj

Reimplemented from Hal::DividedHisto1D.

Definition at line 64 of file Femto1DCF.cxx.

◆ Fit()

void Hal::Femto1DCF::Fit ( CorrFit1DCF * fit)

fit this function

Definition at line 162 of file Femto1DCF.cxx.

◆ FitDummy()

void Hal::Femto1DCF::FitDummy ( CorrFit1DCF * fit)

make "dummy fit" (allow to draw function ) does not perform any fit

Parameters
fit

Definition at line 164 of file Femto1DCF.cxx.

◆ GetFrame()

Femto::EKinematics Hal::Femto1DCF::GetFrame ( ) const
inline
Returns
kinematics mode

Definition at line 66 of file Femto1DCF.h.

◆ GetPainter()

virtual FemtoCFPainter * Hal::Femto1DCF::GetPainter ( ) const
inlinevirtual

Definition at line 102 of file Femto1DCF.h.

◆ GetPic()

TString Hal::Femto1DCF::GetPic ( ) const
protectedvirtual

return line with pictures that show this class

Reimplemented from Hal::DividedHisto1D.

Definition at line 44 of file Femto1DCF.cxx.

◆ GetSpecial()

TObject * Hal::Femto1DCF::GetSpecial ( TString opt) const
virtual

returns "special object, not used except cf's

Parameters
opt
Returns

Reimplemented from Hal::DividedHisto1D.

Definition at line 166 of file Femto1DCF.cxx.

◆ HTMLExtract()

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

extract this CF into web page

Parameters
counternumber of this object
dirdirectory where extract object
Returns
url to extracted object

Reimplemented from Hal::DividedHisto1D.

Definition at line 115 of file Femto1DCF.cxx.

◆ Print()

void Hal::Femto1DCF::Print ( Option_t * opt = "") const
virtual

Reimplemented from Hal::DividedHisto1D.

Definition at line 156 of file Femto1DCF.cxx.

◆ SetAxisNames()

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

set assumed names of axes

Parameters
h- adress of numerator or denominator

Definition at line 56 of file Femto1DCF.cxx.

Friends And Related Symbol Documentation

◆ FemtoSerializationInterface1D

friend class FemtoSerializationInterface1D
friend

Definition at line 29 of file Femto1DCF.h.

Member Data Documentation

◆ fPainter

FemtoCFPainter* Hal::Femto1DCF::fPainter = {nullptr}
protected

Definition at line 32 of file Femto1DCF.h.


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