Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::CorrFit3DCFMultiDim Class Reference
Inheritance diagram for Hal::CorrFit3DCFMultiDim:
Hal::CorrFit3DCF Hal::CorrFitFunc3D Hal::CorrFitFunc Hal::CorrFit

Public Member Functions

 CorrFit3DCFMultiDim (Int_t params=5)
 
void SetAutoLimits ()
 
void SetFunctorFromMap (TString filename)
 
void SetFunctor (CorrFitFunctor *functor)
 
virtual void SetMinimizer (EMinAlgo alg)
 
- Public Member Functions inherited from Hal::CorrFit3DCF
 CorrFit3DCF (Int_t parameters=4)
 
void SetFuncRange (Double_t x_min, Double_t x_max, Double_t y_min, Double_t y_max, Double_t z_min, Double_t z_max)
 
void SetRadiusLimits (Double_t min, Double_t max)
 
void SetFittingMask (const CorrFitMask &map)
 
Double_t Eval (Double_t x, Double_t y, Double_t z)
 
- Public Member Functions inherited from Hal::CorrFitFunc3D
 CorrFitFunc3D (e3DMode mode=e3DMode::kNormal3R, Int_t par=-1, Int_t dim=1)
 
Double_t GetRout () const
 
Double_t GetRoutError () const
 
Double_t GetRside () const
 
Double_t GetRsideError () const
 
Double_t GetRlong () const
 
Double_t GetRlongError () const
 
Double_t GetLambda () const
 
Double_t GetLambdaError () const
 
void SetLambdaLimits (Double_t min, Double_t max)
 
void SetRoutLimits (Double_t min, Double_t max)
 
void SetRsideLimits (Double_t min, Double_t max)
 
void SetRlongLimits (Double_t min, Double_t max)
 
Int_t RoutID () const
 
Int_t RsideID () const
 
Int_t RlongID () const
 
Int_t RoutsideID () const
 
Int_t RoutlongID () const
 
Int_t RsidelongID () const
 
Int_t LambdaID () const
 
- Public Member Functions inherited from Hal::CorrFitFunc
 CorrFitFunc (Int_t nparams=1, Int_t dim=1)
 
void SetTolerance (Double_t tol)
 
void SetMaxIteration (Int_t max)
 
void SetRange (Double_t min, Double_t max)
 
void TraceFitting ()
 
void SetMinimizerConf (const MinimizerStepConf &conf)
 
void SetMinimizerConf (TString xmlFile)
 
void MakeDummyXMLConfig (TString xmlFile)
 
Int_t GetFreeParamsNo () const
 
Double_t GetChiSquare (Option_t *opt="fitted") const
 
Double_t GetChiNDF (Option_t *opt="fitted") const
 
Double_t GetRangeMin (Int_t flag=0) const
 
Double_t GetRangeMax (Int_t flag=0) const
 
ChiSqMap2DGetChiSquareMap (Int_t par1, Int_t par1_steps, Int_t par2, Int_t par2_steps, Bool_t scale=kTRUE, EMinFunc=kChi2) const
 
ChiSqMap2DGetChiSquareMap (Int_t par1, Int_t par1_steps, Double_t par1_min, Double_t par1_max, Int_t par2, Int_t par2_steps, Double_t par2_min, Double_t par2_max, Bool_t scale=kTRUE, EMinFunc=kChi2) const
 
TF1 * GetFittedFunction () const
 
CorrFitHDFuncGetHD () const
 
virtual void PreFit (TObject *histo, Double_t bins=1)
 
Double_t GetNorm () const
 
Int_t NormID () const
 
Double_t GetNormError () const
 
void SetNormLimits (Double_t min, Double_t max)
 
virtual void Draw (Option_t *option="")
 
virtual void Repaint ()
 
Hal::CorrFitGUIStartGui (Int_t prec=-1)
 
CorrFitPainterGetPainter () const
 
- Public Member Functions inherited from Hal::CorrFit
 CorrFit (Int_t parameters_no=2)
 
void SetParLimits (Int_t par, Double_t min, Double_t max)
 
void FixParameter (Int_t par, Double_t val)
 
void SetParameterName (Int_t par, TString name)
 
void SetLineColor (Color_t color)
 
void SetLineStyle (Style_t style)
 
void SetLineWidth (Width_t width)
 
void SetThreshold (Double_t thres)
 
void PrintFitResults () const
 
Bool_t IsParFixed (Int_t par) const
 
Bool_t IsParDiscrete (Int_t par) const
 
Double_t GetParMin (Int_t par) const
 
Double_t GetParMax (Int_t par) const
 
Double_t GetParError (Int_t par) const
 
Double_t GetParameter (Int_t par) const
 
const FitParamGetParamConf (Int_t par) const
 
Double_t GetNDF () const
 
Int_t GetParametersNo () const
 
Int_t GetParameterIndex (TString name) const
 
TString GetParameterName (Int_t no) const
 
void SetMinimizedFunc (EMinFunc f)
 
void SetCalculationOption (ECalcOption f)
 
CorrFitPainterGetPainter () const
 

Protected Member Functions

virtual void Check ()
 
virtual void RecalculateFunction () const
 
virtual void PrepareHalMinimizer () const
 
virtual Double_t CalculateCF (const Double_t *x, const Double_t *params) const
 
- Protected Member Functions inherited from Hal::CorrFit3DCF
virtual void MakePainter (TString options)
 
CorrFitMask3DGetMask () const
 
virtual void RecalculateSmoothFunction () const
 
void SetErrors (TH1 *num, const TH1 *den) const
 
virtual void EstimateActiveBins ()
 
void DrawPureFunction (TString option)
 
void DrawFunctionWithCF (TString option)
 
void DrawOther (TString option)
 
void DrawDiagonalOther (TString option)
 
void DrawDiagonalWithCF (TString option)
 
void PrepareRaw ()
 
TF1 * GetDrawableFunc (TString option)
 
double GetChiTFD (const double *par) const
 
double GetChiTF (const double *par) const
 
double GetLogTFD (const double *par) const
 
Double_t EvalDenominator (Double_t x, Double_t y, Double_t z) const
 
virtual Double_t EvalCF (const Double_t *x, const Double_t *params) const
 
virtual Double_t GetNumericalError (Int_t, Int_t, Int_t) const
 
 CorrFit3DCF (e3DMode mode, Int_t parameters=3)
 
- Protected Member Functions inherited from Hal::CorrFitFunc
virtual void PrepareRootMinimizer (ROOT::Math::Minimizer *minizer) const
 
void SetupFunction (TF1 *f) const
 
void NumericalMinimization ()
 
void NumericalPreMinimization (Double_t bins)
 
void DummyNumericalFunction ()
 
void ParametersChanged () const
 
virtual void Fit (TObject *histo)
 
virtual void FitDummy (TObject *histo)
 
virtual void Prepare ()
 
void FitStep (Int_t)
 
double FunctorChiTFD (const double *params)
 
double FunctorChiTF (const double *params)
 
double FunctorLogTFD (const double *params)
 
void CalcError (const Double_t Num, const Double_t NumErr, const Double_t Den, const Double_t DenErr, Double_t &cf, Double_t &cfe) const
 
- Protected Member Functions inherited from Hal::CorrFit
std::vector< TString > AlgoToOptions (EMinAlgo algo) const
 
void CheckOrder ()
 
void ChangeParametersNo ()
 
Color_t GetLineColor () const
 
Style_t GetLineStyle () const
 
Width_t GetLineWidth () const
 
TF1 * GetTF1 (Int_t no) const
 
std::vector< std::pair< TF1 *, TVirtualPad * > > GetDrawFunctions () const
 
void OverwriteParam (Int_t par, Double_t val)
 
void CopyParamsToTF1 (TF1 *f, Bool_t copyNumPar=kTRUE, Bool_t copyGrapPar=kTRUE) const
 
void SetErrorsNegative ()
 
void SetFitOrder (std::initializer_list< Int_t > order)
 

Protected Attributes

Int_t fParameterIDs [3] = {0, 0, 0}
 
Int_t fFunctorXbins = {0}
 
Int_t fFunctorYbins = {0}
 
CorrFitFunctorfFunctor = {nullptr}
 
Array_1< Float_t > * fData = {nullptr}
 
- Protected Attributes inherited from Hal::CorrFit3DCF
Int_t fBinX = {0}
 
Int_t fBinY = {0}
 
Int_t fBinZ = {0}
 
- Protected Attributes inherited from Hal::CorrFitFunc3D
const e3DMode fMode
 
- Protected Attributes inherited from Hal::CorrFitFunc
Femto::EKinematics fKinematics
 
const Int_t fDim
 
Double_t fChi [2]
 
Int_t fMaxIterations
 
Int_t fNormParIndex = {0}
 
Double_t fTolerance
 
Double_t fActiveBins
 
Array_1< Double_t > fRange
 
Bool_t fTrace
 
Bool_t fOwnRangeMap
 
TObject * fCF
 
TH1 * fDenominatorHistogram
 
TH1 * fNumeratorHistogram
 
TH1 * fCorrelationFunctionHistogram
 
CorrFitMaskfMask
 
CorrFitPainterfPainter = {nullptr}
 
MinimizerStepConf fDiscretteMinimzerConf
 
CorrFitHDFuncfHDMaps
 
- Protected Attributes inherited from Hal::CorrFit
ECalcOption fBinCalc
 
EMinFunc fMinFunc
 
EMinAlgo fMinAlgo
 
CorrFitPainterfPainter = {nullptr}
 
Int_t fNDF
 
Double_t fThreshold
 
std::vector< FitParamfParameters
 
std::vector< Int_t > fFitOrder
 
std::vector< std::pair< TF1 *, TVirtualPad * > > fDrawFunc
 
Double_t * fTempParamsEval
 

Additional Inherited Members

- Public Types inherited from Hal::CorrFit
enum  EMinFunc { kChi , kLog , kChi2 }
 
enum  EMinAlgo {
  kMinuitMigrad , kMinuitSimplex , kMinuitCombined , kMinuitScan ,
  kMinuitFumili , kGLSMultiMinConjungateFR , kGLSMultiMinConjugatePR , kGLSMultiMinBFGS ,
  kGLSMultiMinBFGS2 , kGLSMultiMinSteppestDescent , kGLSMultiFit , kGLSSimAn ,
  kDefaultAlgo , kHalScan , kHalAnt , kHalScanMigrad ,
  kHalScanScan
}
 
enum  ECalcOption { kSimple , kExtrapolated }
 
- Protected Types inherited from Hal::CorrFitFunc3D
enum class  e3DMode {
  kNormal3R , kRatio3R , kNormal6R , kRatio6R ,
  kPlus3R , kPlus6R
}
 

Detailed Description

Definition at line 20 of file CorrFit3DCFMultiDim.h.

Constructor & Destructor Documentation

◆ CorrFit3DCFMultiDim()

Hal::CorrFit3DCFMultiDim::CorrFit3DCFMultiDim ( Int_t params = 5)

Definition at line 46 of file CorrFit3DCFMultiDim.cxx.

◆ ~CorrFit3DCFMultiDim()

Hal::CorrFit3DCFMultiDim::~CorrFit3DCFMultiDim ( )
virtual

Definition at line 78 of file CorrFit3DCFMultiDim.cxx.

Member Function Documentation

◆ CalculateCF()

Double_t Hal::CorrFit3DCFMultiDim::CalculateCF ( const Double_t * x,
const Double_t * params ) const
protectedvirtual

return value of CF at given point

Parameters
xvalues x[0] - out, x[1] -side, x[2] -long
params
Returns
value of CF at (x[0],x[1],x[2])

calcuclate bin in flat array

Implements Hal::CorrFit3DCF.

Definition at line 38 of file CorrFit3DCFMultiDim.cxx.

◆ Check()

void Hal::CorrFit3DCFMultiDim::Check ( )
protectedvirtual

check ranges set by user and other stuff

Reimplemented from Hal::CorrFitFunc.

Definition at line 128 of file CorrFit3DCFMultiDim.cxx.

◆ PrepareHalMinimizer()

void Hal::CorrFit3DCFMultiDim::PrepareHalMinimizer ( ) const
protectedvirtual

prepares hal minimizer (numer of steps etc. should be ovewriten if fit base on discreate map, for other functions the configuration of minimizer should be done manualy before each fit, by default the calculation matrix check 10 points for each non-fixed parameter from min to max

Reimplemented from Hal::CorrFitFunc.

Definition at line 91 of file CorrFit3DCFMultiDim.cxx.

◆ RecalculateFunction()

void Hal::CorrFit3DCFMultiDim::RecalculateFunction ( ) const
protectedvirtual

called for each calculation of chi2 or loglikehood minimalization - used for recalculation CF is parameters are changed

Reimplemented from Hal::CorrFit3DCF.

Definition at line 30 of file CorrFit3DCFMultiDim.cxx.

◆ SetAutoLimits()

void Hal::CorrFit3DCFMultiDim::SetAutoLimits ( )

Definition at line 58 of file CorrFit3DCFMultiDim.cxx.

◆ SetFunctor()

void Hal::CorrFit3DCFMultiDim::SetFunctor ( CorrFitFunctor * functor)

Definition at line 48 of file CorrFit3DCFMultiDim.cxx.

◆ SetFunctorFromMap()

void Hal::CorrFit3DCFMultiDim::SetFunctorFromMap ( TString filename)

Definition at line 53 of file CorrFit3DCFMultiDim.cxx.

◆ SetMinimizer()

void Hal::CorrFit3DCFMultiDim::SetMinimizer ( EMinAlgo alg)
virtual

set minimizer (library and type of minimizaltion algorithm. this might be overwriten by fit option

Parameters
alg

Reimplemented from Hal::CorrFit.

Definition at line 82 of file CorrFit3DCFMultiDim.cxx.

Member Data Documentation

◆ fData

Array_1<Float_t>* Hal::CorrFit3DCFMultiDim::fData = {nullptr}
mutableprotected

Definition at line 25 of file CorrFit3DCFMultiDim.h.

◆ fFunctor

CorrFitFunctor* Hal::CorrFit3DCFMultiDim::fFunctor = {nullptr}
protected

Definition at line 24 of file CorrFit3DCFMultiDim.h.

◆ fFunctorXbins

Int_t Hal::CorrFit3DCFMultiDim::fFunctorXbins = {0}
protected

Definition at line 23 of file CorrFit3DCFMultiDim.h.

◆ fFunctorYbins

Int_t Hal::CorrFit3DCFMultiDim::fFunctorYbins = {0}
protected

Definition at line 23 of file CorrFit3DCFMultiDim.h.

◆ fParameterIDs

Int_t Hal::CorrFit3DCFMultiDim::fParameterIDs[3] = {0, 0, 0}
protected

Definition at line 22 of file CorrFit3DCFMultiDim.h.


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