Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::CorrFitWielanek Class Reference
Inheritance diagram for Hal::CorrFitWielanek:
Hal::CorrFitKisiel Hal::CorrFit1DCF Hal::CorrFitFunc Hal::CorrFit

Public Member Functions

void SetSourceEmissionFunction (TF1 *func)
 
void SetSourceEmissionFunstion (Option_t *opt)
 
void LoadMapFromFile (TString name, Int_t kt_bin=0)
 
void SetExtrapolationsSteps (Int_t step)
 
- Public Member Functions inherited from Hal::CorrFitKisiel
 CorrFitKisiel (Int_t params=3)
 
virtual void SkipNumErrors ()
 
virtual void AddMap (CorrFitMapKstarRstar *map)
 
virtual void LoadMap (TH2D *h, Femto::EKinematics mapFrame)
 
virtual ~CorrFitKisiel ()
 
- Public Member Functions inherited from Hal::CorrFit1DCF
 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
 
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
 
virtual void SetMinimizer (EMinAlgo alg)
 
void SetMinimizedFunc (EMinFunc f)
 
void SetCalculationOption (ECalcOption f)
 
CorrFitPainterGetPainter () const
 

Protected Member Functions

void CreateMap ()
 
virtual void Check ()
 
- Protected Member Functions inherited from Hal::CorrFitKisiel
virtual Double_t GetNumericalError (Int_t binX) const
 
virtual Double_t CalculateCF (const Double_t *x, const Double_t *params) const
 
virtual Double_t CalculateCFExtrapolated (const Double_t *x, const Double_t *params) const
 
virtual void Paint (Bool_t repaint=kTRUE, Bool_t refresh=kTRUE)
 
- Protected Member Functions inherited from Hal::CorrFit1DCF
virtual void MakePainter (TString opt)
 
CorrFitMask1DGetMask () const
 
virtual void CalculateNumErrors (TH1 *)
 
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 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 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)
 

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 Attributes inherited from Hal::CorrFitKisiel
std::vector< CorrFitMapKstarRstar * > fMaps
 
Bool_t fSkipError
 
TH1D * fOldNumErr = {nullptr}
 
- Protected Attributes inherited from Hal::CorrFit1DCF
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
 
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
 

Detailed Description

Definition at line 23 of file CorrFitWielanek.h.

Constructor & Destructor Documentation

◆ CorrFitWielanek()

Hal::CorrFitWielanek::CorrFitWielanek ( )

Definition at line 25 of file CorrFitWielanek.cxx.

◆ ~CorrFitWielanek()

Hal::CorrFitWielanek::~CorrFitWielanek ( )
virtual

Definition at line 119 of file CorrFitWielanek.cxx.

Member Function Documentation

◆ Check()

void Hal::CorrFitWielanek::Check ( )
protectedvirtual

check ranges set by user and other stuff

Reimplemented from Hal::CorrFitKisiel.

Definition at line 35 of file CorrFitWielanek.cxx.

◆ CreateMap()

void Hal::CorrFitWielanek::CreateMap ( )
protected

create map that is compatible with CorrFitKisiel

Definition at line 41 of file CorrFitWielanek.cxx.

◆ LoadMapFromFile()

void Hal::CorrFitWielanek::LoadMapFromFile ( TString name,
Int_t kt_bin = 0 )

Definition at line 27 of file CorrFitWielanek.cxx.

◆ SetExtrapolationsSteps()

void Hal::CorrFitWielanek::SetExtrapolationsSteps ( Int_t step)

set extrapotlation steps, step in radii map is equalt to (Rmax-Rmin)/extrapolation steps

Parameters
stepnumber of steps

Definition at line 117 of file CorrFitWielanek.cxx.

◆ SetSourceEmissionFunction()

void Hal::CorrFitWielanek::SetSourceEmissionFunction ( TF1 * func)

set source emission function, function must fulfill following criteria: parameter q - is radius parameter 1 - is to normalization (or not present)

Parameters
funcsource emission function to set

Definition at line 95 of file CorrFitWielanek.cxx.

◆ SetSourceEmissionFunstion()

void Hal::CorrFitWielanek::SetSourceEmissionFunstion ( Option_t * opt)

set source emission function by name

Parameters
optname of source emission function, currently only "gaus" is supported

Definition at line 103 of file CorrFitWielanek.cxx.


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