|
Heavy ion Analysis Libriares
|
#include <CorrFit1DCF.h>
Public Member Functions | |
| CorrFit1DCF (Int_t parameters=3) | |
| virtual Double_t | Eval (Double_t q) const |
| void | SetFittingMask (const CorrFitMask &map) |
| void | SetRLimits (Double_t min, Double_t max) |
| void | SetLambdaLimits (Double_t min, Double_t max) |
| Double_t | GetRadius () const |
| Double_t | GetRadiusError () const |
| Double_t | GetLambda () const |
| Double_t | GetLambdaError () const |
| Int_t | RadiusID () 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 |
| ChiSqMap2D * | GetChiSquareMap (Int_t par1, Int_t par1_steps, Int_t par2, Int_t par2_steps, Bool_t scale=kTRUE, EMinFunc=kChi2) const |
| ChiSqMap2D * | GetChiSquareMap (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 |
| CorrFitHDFunc * | GetHD () 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::CorrFitGUI * | StartGui (Int_t prec=-1) |
| CorrFitPainter * | GetPainter () 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 FitParam & | GetParamConf (Int_t par) const |
| Double_t | GetNDF () const |
| Int_t | GetParametersNo () const |
| Int_t | GetParameterIndex (TString name) const |
| TString | GetParameterName (Int_t no) const |
| virtual void | SetMinimizer (EMinAlgo alg) |
| void | SetMinimizedFunc (EMinFunc f) |
| void | SetCalculationOption (ECalcOption f) |
| CorrFitPainter * | GetPainter () const |
Protected Member Functions | |
| virtual void | MakePainter (TString opt) |
| CorrFitMask1D * | GetMask () const |
| virtual void | CalculateNumErrors (TH1 *) |
| virtual Double_t | GetNumericalError (Int_t) const |
| void | PrepareRaw () |
| void | EstimateActiveBins () |
| void | RecalculateSmoothFunction () const |
| void | SetErrors (TH1 *num, const TH1 *den) const |
| double | GetChiTF (const double *par) const |
| double | GetChiTFD (const double *par) const |
| double | GetLogTFD (const double *par) const |
| virtual TF1 * | GetFunctionForDrawing () const |
| Double_t | GetFunDrawable (Double_t *x, Double_t *params) const |
| Double_t | EvalCF (const Double_t *x, const Double_t *params) const |
| Double_t | EvalCFNormalized (const Double_t *x, const Double_t *params) const |
| virtual Double_t | CalculateCF (const Double_t *, const Double_t *) const |
| virtual void | Fit (TObject *histo) |
Protected Member Functions inherited from Hal::CorrFitFunc | |
| virtual void | RecalculateFunction () const |
| virtual void | PrepareHalMinimizer () const |
| 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 | FitDummy (TObject *histo) |
| virtual void | Check () |
| 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 | fBinX |
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 |
| CorrFitMask * | fMask |
| CorrFitPainter * | fPainter = {nullptr} |
| MinimizerStepConf | fDiscretteMinimzerConf |
| CorrFitHDFunc * | fHDMaps |
Protected Attributes inherited from Hal::CorrFit | |
| ECalcOption | fBinCalc |
| EMinFunc | fMinFunc |
| EMinAlgo | fMinAlgo |
| CorrFitPainter * | fPainter = {nullptr} |
| Int_t | fNDF |
| Double_t | fThreshold |
| std::vector< FitParam > | fParameters |
| std::vector< Int_t > | fFitOrder |
| std::vector< std::pair< TF1 *, TVirtualPad * > > | fDrawFunc |
| Double_t * | fTempParamsEval |
Friends | |
| class | Femto1DCF |
| class | CorrFitMath1DCF |
| class | CorrFit1DCFPainter |
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 } |
abstract class for fitting 1-dim correlation functions
Definition at line 26 of file CorrFit1DCF.h.
| Hal::CorrFit1DCF::CorrFit1DCF | ( | Int_t | parameters = 3 | ) |
default constructor
| parameters | number of parameters |
Definition at line 42 of file CorrFit1DCF.cxx.
|
virtual |
Definition at line 210 of file CorrFit1DCF.cxx.
|
inlineprotectedvirtual |
fuction that return value of correlated fuction at given point
| x | array of values (only x[0] is used) |
| params | array of parameters |
Reimplemented in Hal::CorrFit1DCF_Exp, Hal::CorrFit1DCF_Gauss, Hal::CorrFit1DCF_Lorentz, Hal::CorrFit1DCF_Multi, Hal::CorrFit1DCF_Poly2, Hal::CorrFit1DCF_Poly, Hal::CorrFit1DCF_Square, Hal::CorrFit1DCF_Sum, Hal::CorrFit1DCF_SumRsame, Hal::CorrFit1DCFCumacDLam, Hal::CorrFit1DCFCumacK0K0, Hal::CorrFit1DCFCumacK0Kch, Hal::CorrFIt1DCFCumacLamLam, Hal::CorrFit1DCFCumacPLam, and Hal::CorrFitKisiel.
Definition at line 93 of file CorrFit1DCF.h.
|
inlineprotectedvirtual |
calculate numerical errors
| h | numerator/denominator of CF - used to get bin center |
Definition at line 50 of file CorrFit1DCF.h.
|
protectedvirtual |
estimate number of active bins, NDF, also calculate mask in needed
Implements Hal::CorrFitFunc.
Definition at line 180 of file CorrFit1DCF.cxx.
|
virtual |
| q | momentum difference (k* or qinv) |
Definition at line 175 of file CorrFit1DCF.cxx.
|
protected |
function that return value of correlated function at given bin. If calculation is performed with option "taking into account bin widht" the this return CalculateCF()
| x | array of values (only x[0] is used) |
| params | array of parameters |
Definition at line 238 of file CorrFit1DCF.cxx.
|
protected |
returns EvalCF but normalized
| x | |
| params |
Definition at line 251 of file CorrFit1DCF.cxx.
|
protectedvirtual |
fit this function to given CF
| histo | - object that will be fitted |
Reimplemented from Hal::CorrFitFunc.
Definition at line 212 of file CorrFit1DCF.cxx.
|
protectedvirtual |
Implements Hal::CorrFitFunc.
Definition at line 143 of file CorrFit1DCF.cxx.
|
protectedvirtual |
Implements Hal::CorrFitFunc.
Definition at line 83 of file CorrFit1DCF.cxx.
|
protectedvirtual |
Definition at line 218 of file CorrFit1DCF.cxx.
|
protected |
functions used for drawing
| x | value of momentum difference |
| params | parameters array |
Definition at line 169 of file CorrFit1DCF.cxx.
|
inline |
Definition at line 135 of file CorrFit1DCF.h.
|
inline |
Definition at line 140 of file CorrFit1DCF.h.
|
protectedvirtual |
cf retur nan for some cfs
Implements Hal::CorrFitFunc.
Definition at line 117 of file CorrFit1DCF.cxx.
|
inlineprotected |
Definition at line 45 of file CorrFit1DCF.h.
|
inlineprotectedvirtual |
Definition at line 51 of file CorrFit1DCF.h.
|
inline |
Definition at line 125 of file CorrFit1DCF.h.
|
inline |
Definition at line 130 of file CorrFit1DCF.h.
|
inline |
Definition at line 150 of file CorrFit1DCF.h.
|
protectedvirtual |
makes parent for this objec
Implements Hal::CorrFitFunc.
Definition at line 59 of file CorrFit1DCF.cxx.
|
protectedvirtual |
prepare histograms when new fit is called
Implements Hal::CorrFitFunc.
Definition at line 72 of file CorrFit1DCF.cxx.
|
inline |
Definition at line 145 of file CorrFit1DCF.h.
|
protectedvirtual |
recalculate CF's with taking into acount limited bin resolution
Implements Hal::CorrFitFunc.
Definition at line 256 of file CorrFit1DCF.cxx.
|
protectedvirtual |
"recompute errors in numerator by adding influence of errors in denominator used when fitting with TFD is called
| num | numerator |
| den | denominator |
Implements Hal::CorrFitFunc.
Definition at line 64 of file CorrFit1DCF.cxx.
|
virtual |
provide user fitting mask, such mask overwrite SetRange method
Implements Hal::CorrFitFunc.
Definition at line 268 of file CorrFit1DCF.cxx.
|
inline |
set limits of fitted lambda
| min | minimal value |
| max | maximal value |
Definition at line 120 of file CorrFit1DCF.h.
|
inline |
set limits of fitted radii
| min | minimal value |
| max | maximal value |
Definition at line 114 of file CorrFit1DCF.h.
|
friend |
Definition at line 29 of file CorrFit1DCF.h.
|
friend |
Definition at line 28 of file CorrFit1DCF.h.
|
friend |
Definition at line 27 of file CorrFit1DCF.h.
|
mutableprotected |
pointer of acutally calculated bin during chi-square computation
Definition at line 41 of file CorrFit1DCF.h.