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

Public Member Functions

 FemtoDoubleRatio1DCF ()
 
 FemtoDoubleRatio1DCF (TString name, Femto::EKinematics kin=Femto::EKinematics::kPRF)
 
 FemtoDoubleRatio1DCF (TString name, Int_t bins, Double_t min, Double_t max, Femto::EKinematics kin=Femto::EKinematics::kPRF)
 
 FemtoDoubleRatio1DCF (const FemtoDoubleRatio1DCF &other)
 
void FillNumObj (TObject *ob)
 
void FillDenObj (TObject *obj)
 
void SetNum (TH1D *outnum, TH1D *sidenum, TH1D *longnum, Bool_t clone=kFALSE)
 
void SetDen (TH1D *outden, TH1D *sideden, TH1D *longden, Bool_t clone=kFALSE)
 
TH1D * GetOutNum () const
 
TH1D * GetOutDen () const
 
TH1D * GetSideNum () const
 
TH1D * GetSideDen () const
 
TH1D * GetLongNum () const
 
TH1D * GetLongDen () const
 
TH1D * GetCFOut (Bool_t normalized=kTRUE) const
 
TH1D * GetCFSide (Bool_t normalized=kTRUE) const
 
TH1D * GetCFLong (Bool_t normalized=kTRUE) const
 
virtual void Browse (TBrowser *b)
 
virtual void Add (const Object *h)
 
virtual void Draw (Option_t *opt="all")
 
virtual TString HTMLExtract (Int_t counter=0, TString dir=" ") const
 
virtual void Rebin (Int_t ngroup, Option_t *opt)
 
- 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 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
 

Protected Member Functions

void SetAxisNames (TH1 *h1, TH1 *h2, TString label)
 
void Normalize (TH1D *h, TH1D *num, TH1D *den, Int_t dir) const
 
TH1D * GetCF (Bool_t normalized, Int_t dir) const
 
- 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 TString GetPic () const
 
virtual void ApplyStyle (const HistoStyle &h)
 

Protected Attributes

TH1D * fNumSide
 
TH1D * fDenSide
 
TH1D * fNumLong
 
TH1D * fDenLong
 
Femto::EKinematics fFrame
 
- 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 18 of file FemtoDoubleRatio1DCF.h.

Constructor & Destructor Documentation

◆ FemtoDoubleRatio1DCF() [1/4]

Hal::FemtoDoubleRatio1DCF::FemtoDoubleRatio1DCF ( )

constructor for streamer

Definition at line 326 of file FemtoDoubleRatio1DCF.cxx.

◆ FemtoDoubleRatio1DCF() [2/4]

Hal::FemtoDoubleRatio1DCF::FemtoDoubleRatio1DCF ( TString name,
Femto::EKinematics kin = Femto::EKinematics::kPRF )
Parameters
namename of function
kinframe type

Definition at line 31 of file FemtoDoubleRatio1DCF.cxx.

◆ FemtoDoubleRatio1DCF() [3/4]

Hal::FemtoDoubleRatio1DCF::FemtoDoubleRatio1DCF ( TString name,
Int_t bins,
Double_t min,
Double_t max,
Femto::EKinematics kin = Femto::EKinematics::kPRF )
Parameters
namename of cf
binsnumber of bins
minminimal value on axis
maxmax value on axis
kinframe

Definition at line 34 of file FemtoDoubleRatio1DCF.cxx.

◆ FemtoDoubleRatio1DCF() [4/4]

Hal::FemtoDoubleRatio1DCF::FemtoDoubleRatio1DCF ( const FemtoDoubleRatio1DCF & other)

copy constructor

Parameters
other

Definition at line 276 of file FemtoDoubleRatio1DCF.cxx.

◆ ~FemtoDoubleRatio1DCF()

Hal::FemtoDoubleRatio1DCF::~FemtoDoubleRatio1DCF ( )
virtual

Definition at line 334 of file FemtoDoubleRatio1DCF.cxx.

Member Function Documentation

◆ Add()

void Hal::FemtoDoubleRatio1DCF::Add ( const Object * h)
virtual

add object of the same class

Parameters
hanother object of the same class

Reimplemented from Hal::DividedHisto1D.

Definition at line 267 of file FemtoDoubleRatio1DCF.cxx.

◆ Browse()

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

used to draw histograms

Parameters
b

Reimplemented from Hal::DividedHisto1D.

Definition at line 49 of file FemtoDoubleRatio1DCF.cxx.

◆ Draw()

void Hal::FemtoDoubleRatio1DCF::Draw ( Option_t * opt = "all")
virtual

draw this object

Parameters
optif "num" then only numerator is drawn, in "den" if "all" draw all histograms m, otherwise draw divided histogram

Reimplemented from Hal::DividedHisto1D.

Definition at line 62 of file FemtoDoubleRatio1DCF.cxx.

◆ FillDenObj()

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

fill denominator

Parameters
obj

Reimplemented from Hal::DividedHisto1D.

Definition at line 305 of file FemtoDoubleRatio1DCF.cxx.

◆ FillNumObj()

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

fill numerator

Parameters
obj

Reimplemented from Hal::DividedHisto1D.

Definition at line 284 of file FemtoDoubleRatio1DCF.cxx.

◆ GetCF()

TH1D * Hal::FemtoDoubleRatio1DCF::GetCF ( Bool_t normalized,
Int_t dir ) const
protected

Definition at line 240 of file FemtoDoubleRatio1DCF.cxx.

◆ GetCFLong()

TH1D * Hal::FemtoDoubleRatio1DCF::GetCFLong ( Bool_t normalized = kTRUE) const
Parameters
normalizednormalize according to axis
Returns
cf function "long"

Definition at line 229 of file FemtoDoubleRatio1DCF.cxx.

◆ GetCFOut()

TH1D * Hal::FemtoDoubleRatio1DCF::GetCFOut ( Bool_t normalized = kTRUE) const
Parameters
normalizednormalize according to axis
Returns
cf function "out"

Definition at line 225 of file FemtoDoubleRatio1DCF.cxx.

◆ GetCFSide()

TH1D * Hal::FemtoDoubleRatio1DCF::GetCFSide ( Bool_t normalized = kTRUE) const
Parameters
normalizednormalize according to axis
Returns
cf function "side"

Definition at line 227 of file FemtoDoubleRatio1DCF.cxx.

◆ GetLongDen()

TH1D * Hal::FemtoDoubleRatio1DCF::GetLongDen ( ) const
inline
Returns
"long" denominator

Definition at line 101 of file FemtoDoubleRatio1DCF.h.

◆ GetLongNum()

TH1D * Hal::FemtoDoubleRatio1DCF::GetLongNum ( ) const
inline
Returns
"long" numerator

Definition at line 96 of file FemtoDoubleRatio1DCF.h.

◆ GetOutDen()

TH1D * Hal::FemtoDoubleRatio1DCF::GetOutDen ( ) const
inline
Returns
"out" numerator

Definition at line 81 of file FemtoDoubleRatio1DCF.h.

◆ GetOutNum()

TH1D * Hal::FemtoDoubleRatio1DCF::GetOutNum ( ) const
inline
Returns
"out" numerator

Definition at line 76 of file FemtoDoubleRatio1DCF.h.

◆ GetSideDen()

TH1D * Hal::FemtoDoubleRatio1DCF::GetSideDen ( ) const
inline
Returns
"side" denominator

Definition at line 91 of file FemtoDoubleRatio1DCF.h.

◆ GetSideNum()

TH1D * Hal::FemtoDoubleRatio1DCF::GetSideNum ( ) const
inline
Returns
"side" numerator

Definition at line 86 of file FemtoDoubleRatio1DCF.h.

◆ HTMLExtract()

TString Hal::FemtoDoubleRatio1DCF::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::DividedHisto1D.

Definition at line 101 of file FemtoDoubleRatio1DCF.cxx.

◆ Normalize()

void Hal::FemtoDoubleRatio1DCF::Normalize ( TH1D * h,
TH1D * num,
TH1D * den,
Int_t dir ) const
protected

Definition at line 231 of file FemtoDoubleRatio1DCF.cxx.

◆ Rebin()

void Hal::FemtoDoubleRatio1DCF::Rebin ( Int_t ngroup,
Option_t * opt )
virtual

rebin

Parameters
ngroup
optcan be out side or long to rebin only part of histograms, otherwise all are rebinned

Reimplemented from Hal::DividedHisto1D.

Definition at line 158 of file FemtoDoubleRatio1DCF.cxx.

◆ SetAxisNames()

void Hal::FemtoDoubleRatio1DCF::SetAxisNames ( TH1 * h1,
TH1 * h2,
TString label )
protected

Definition at line 176 of file FemtoDoubleRatio1DCF.cxx.

◆ SetDen()

void Hal::FemtoDoubleRatio1DCF::SetDen ( TH1D * outden,
TH1D * sideden,
TH1D * longden,
Bool_t clone = kFALSE )

set denominators

Parameters
outden"out" denominator
sideden"side" denominator
longden"long" denominator
cloneif true then make own copy of histograms

Definition at line 211 of file FemtoDoubleRatio1DCF.cxx.

◆ SetNum()

void Hal::FemtoDoubleRatio1DCF::SetNum ( TH1D * outnum,
TH1D * sidenum,
TH1D * longnum,
Bool_t clone = kFALSE )

set numerators

Parameters
outnum"out" numerator
sidenum"side" numerator
longnum"long" numerator
cloneif true then make own copy of histograms

Definition at line 193 of file FemtoDoubleRatio1DCF.cxx.

Member Data Documentation

◆ fDenLong

TH1D* Hal::FemtoDoubleRatio1DCF::fDenLong
protected

Definition at line 23 of file FemtoDoubleRatio1DCF.h.

◆ fDenSide

TH1D* Hal::FemtoDoubleRatio1DCF::fDenSide
protected

Definition at line 21 of file FemtoDoubleRatio1DCF.h.

◆ fFrame

Femto::EKinematics Hal::FemtoDoubleRatio1DCF::fFrame
protected

Definition at line 24 of file FemtoDoubleRatio1DCF.h.

◆ fNumLong

TH1D* Hal::FemtoDoubleRatio1DCF::fNumLong
protected

Definition at line 22 of file FemtoDoubleRatio1DCF.h.

◆ fNumSide

TH1D* Hal::FemtoDoubleRatio1DCF::fNumSide
protected

Definition at line 20 of file FemtoDoubleRatio1DCF.h.


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