Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitMath3DCF.h
1/*
2 * CorrFitMath.h
3 *
4 * Created on: 21 mar 2016
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCORRFITMATH_H_
10#define HALCORRFITMATH_H_
11
12#include "CorrFit3DCF.h"
13
14namespace Hal {
16 Int_t fSubFunctionsNo;
17 CorrFit3DCF** fSubFunction; //[fSubFunctionsNo]
18 protected:
19 void ParametersChanged() const;
20 void SetSubfunction(CorrFit3DCF* f, Int_t index) { fSubFunction[index] = f; }
21 CorrFit3DCF* GetSubfunction(Int_t index) const { return fSubFunction[index]; };
29 Double_t Call(Int_t subfucnt, const Double_t* x, const Double_t* params) const;
30 CorrFit3DCF* GetSubFunction(Int_t f) const { return fSubFunction[f]; };
31
32 public:
38 CorrFitMath3DCF(Int_t parameters_no = 1, Int_t subfunct = 0);
39 Int_t GetSubunctionsNo() const { return fSubFunctionsNo; };
40 virtual ~CorrFitMath3DCF();
41 ClassDef(CorrFitMath3DCF, 1)
42 };
43
50 protected:
51 virtual Double_t CalculateCF(const Double_t* x, const Double_t* params) const;
52
53 public:
60 virtual ~CorrFit3DCF_Sum();
61 ClassDef(CorrFit3DCF_Sum, 1)
62 };
63} // namespace Hal
64#endif /* HALCORRFITMATH_H_ */
virtual Double_t CalculateCF(const Double_t *x, const Double_t *params) const
CorrFit3DCF_Sum(CorrFit3DCF *f1, CorrFit3DCF *f2)
void ParametersChanged() const
Double_t Call(Int_t subfucnt, const Double_t *x, const Double_t *params) const