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

Public Member Functions

 CorrFitSmear1DCF ()
 
void SetThresBin (Int_t no)
 
TH2D RecalcSmearMatrix (TH2D &matrix)
 
void SmearSeparately (Bool_t smear=kTRUE)
 
void AutoFillLastBin (Bool_t autofill=kTRUE)
 
void SetCF (Hal::Femto1DCF &cf)
 
void SetMap (CorrFitMapKstarRstar *map)
 
CorrFitMapKstarRstarSmearMatrix (const TH2D &smearMatrix)
 
CorrFitMapKstarRstarSmearFunction (TF1 *func)
 
TF1 * GetFunc ()
 

Static Public Member Functions

static TH2D TransposeHistogram (TH2D &matrix)
 

Detailed Description

Definition at line 23 of file CorrFitSmear1DCF.h.

Constructor & Destructor Documentation

◆ CorrFitSmear1DCF()

Hal::CorrFitSmear1DCF::CorrFitSmear1DCF ( )

flag that describe smear code algo

Definition at line 28 of file CorrFitSmear1DCF.cxx.

◆ ~CorrFitSmear1DCF()

Hal::CorrFitSmear1DCF::~CorrFitSmear1DCF ( )

Definition at line 33 of file CorrFitSmear1DCF.cxx.

Member Function Documentation

◆ AutoFillLastBin()

void Hal::CorrFitSmear1DCF::AutoFillLastBin ( Bool_t autofill = kTRUE)
inline

enable "automatic filling" the pairs that are escape the smearing matrix

Parameters
autofill

Definition at line 86 of file CorrFitSmear1DCF.h.

◆ GetFunc()

TF1 * Hal::CorrFitSmear1DCF::GetFunc ( )
inline

Definition at line 118 of file CorrFitSmear1DCF.h.

◆ RecalcSmearMatrix()

TH2D Hal::CorrFitSmear1DCF::RecalcSmearMatrix ( TH2D & matrix)

smear matrix on x-axis sim momentum on y-axis reco momentum

Parameters
matrixof smearing on x-axis real momentum on y-axis reconstructed
Returns

Definition at line 48 of file CorrFitSmear1DCF.cxx.

◆ SetCF()

void Hal::CorrFitSmear1DCF::SetCF ( Hal::Femto1DCF & cf)

set correlation function (used when "smear separately" option is used)

Parameters
cf

Definition at line 40 of file CorrFitSmear1DCF.cxx.

◆ SetMap()

void Hal::CorrFitSmear1DCF::SetMap ( CorrFitMapKstarRstar * map)
inline

sets map that will be smeared

Parameters
map

Definition at line 96 of file CorrFitSmear1DCF.h.

◆ SetThresBin()

void Hal::CorrFitSmear1DCF::SetThresBin ( Int_t no)
inline

set threshold bin this is the bin in which "pair" leaking becomes significant

Parameters
no

Definition at line 64 of file CorrFitSmear1DCF.h.

◆ SmearFunction()

CorrFitMapKstarRstar * Hal::CorrFitSmear1DCF::SmearFunction ( TF1 * func)

not implemented yet

Parameters
map
func
advanced
Returns

Definition at line 135 of file CorrFitSmear1DCF.cxx.

◆ SmearMatrix()

CorrFitMapKstarRstar * Hal::CorrFitSmear1DCF::SmearMatrix ( const TH2D & smearMatrix)

basic method for smearing with the method of matrices NOTE: recommended flags for advanced and addLastBin are true, false or false, true

Parameters
mapmap to smear
smearMatrixsmearing matrix - e.g., cut monitor on x-axis real momentum, on y-axis reconstructed momentum
advancedenables "advanced" mode - in this mode the semaring is performed separately on numerator (denominator*CF) and denominator, ratio of such functions is divided to get the map
addLastBinthis method allow to compensate the leak of pair outside of the CF, it's assumed that this number of pairs is the same as the number of pairs that goes in lower bins
Returns
smeared map

Definition at line 70 of file CorrFitSmear1DCF.cxx.

◆ SmearSeparately()

void Hal::CorrFitSmear1DCF::SmearSeparately ( Bool_t smear = kTRUE)
inline

option of smearing

Parameters
smearif true separately smear numerator and denominator, require to set the CF

Definition at line 81 of file CorrFitSmear1DCF.h.

◆ TransposeHistogram()

TH2D Hal::CorrFitSmear1DCF::TransposeHistogram ( TH2D & matrix)
static
Parameters
matrix
Returns
transposed matrix

Definition at line 234 of file CorrFitSmear1DCF.cxx.


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