Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFit3DCFMultiDim.h
1/*
2 * CorrFit3DCFMultiDim.h
3 *
4 * Created on: 18 maj 2020
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCORRFIT3DCFMULTIDIM_H_
10#define HALCORRFIT3DCFMULTIDIM_H_
11
12
13#include "Array.h"
14#include "CorrFit3DCF.h"
15#include "Splines.h"
16
17namespace Hal {
18 class CorrFitFunctor;
19
21 protected:
22 Int_t fParameterIDs[3] = {0, 0, 0};
23 Int_t fFunctorXbins = {0}, fFunctorYbins = {0};
24 CorrFitFunctor* fFunctor = {nullptr};
25 mutable Array_1<Float_t>* fData = {nullptr};
26 virtual void Check();
27 virtual void RecalculateFunction() const;
28 virtual void PrepareHalMinimizer() const;
29 virtual Double_t CalculateCF(const Double_t* x, const Double_t* params) const;
30
31 public:
32 CorrFit3DCFMultiDim(Int_t params = 5);
33 void SetAutoLimits();
34 void SetFunctorFromMap(TString filename); // { fFunctor = new CorrFitFunctor(filename); };
35 void SetFunctor(CorrFitFunctor* functor); // {
36 virtual void SetMinimizer(EMinAlgo alg);
37 virtual ~CorrFit3DCFMultiDim();
38 ClassDef(CorrFit3DCFMultiDim, 1)
39 };
40} // namespace Hal
41
42#endif /* HALCORRFIT3DCFMULTIDIM_H_ */
virtual Double_t CalculateCF(const Double_t *x, const Double_t *params) const
virtual void SetMinimizer(EMinAlgo alg)
virtual void PrepareHalMinimizer() const
virtual void RecalculateFunction() const