Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitMath1DCF.h
1/*
2 * CorrFitMath1D.h
3 *
4 * Created on: 20 lis 2017
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCORRFITMATH1DCF_H_
10#define HALCORRFITMATH1DCF_H_
11
12#include "CorrFit1DCF.h"
13
14namespace Hal {
16 Int_t fSubFunctionsNo;
17 CorrFit1DCF** fSubFunctions; //[fSubFunctionsNo]
18 protected:
26 Double_t Call(Int_t subfucnt, const Double_t* x, const Double_t* params) const;
32 void SetSubfunction(CorrFit1DCF* f, Int_t i) { fSubFunctions[i] = f; };
33 virtual void Check();
34 CorrFit1DCF* GetSubFunction(Int_t f) const { return fSubFunctions[f]; };
35
36 public:
42 CorrFitMath1DCF(Int_t parameters_no = 1, Int_t subfunction = 0);
47 Int_t GetSubfucntionsNo() const { return fSubFunctionsNo; };
48 virtual void Draw(Option_t* draw_option = "full");
49 virtual ~CorrFitMath1DCF();
50 ClassDef(CorrFitMath1DCF, 1)
51 };
52
59 protected:
60 virtual Double_t CalculateCF(const Double_t* x, const Double_t* params) const;
61
62 public:
68 CorrFit1DCF_Sum(CorrFit1DCF* f1 = NULL, CorrFit1DCF* f2 = NULL);
69 virtual ~CorrFit1DCF_Sum();
70 ClassDef(CorrFit1DCF_Sum, 1)
71 };
78 protected:
79 virtual Double_t CalculateCF(const Double_t* x, const Double_t* params) const;
80 Int_t fFirstRadius;
81 Int_t fSecondRadius;
90 Double_t* fNewParams; //[fSecondParamtersNo]
91 public:
97 CorrFit1DCF_SumRsame(CorrFit1DCF* f1 = NULL, CorrFit1DCF* f2 = NULL);
98 virtual ~CorrFit1DCF_SumRsame();
99 ClassDef(CorrFit1DCF_SumRsame, 1)
100 };
105 protected:
106 Int_t fFirstFuncParams;
107 virtual Double_t CalculateCF(const Double_t* x, const Double_t* params) const;
108
109 public:
111 virtual ~CorrFit1DCF_Multi();
112 ClassDef(CorrFit1DCF_Multi, 1)
113 };
114} // namespace Hal
115
116#endif /* HALCORRFITMATH1DCF_H_ */
virtual Double_t CalculateCF(const Double_t *x, const Double_t *params) const
virtual Double_t CalculateCF(const Double_t *x, const Double_t *params) const
CorrFit1DCF_SumRsame(CorrFit1DCF *f1=NULL, CorrFit1DCF *f2=NULL)
CorrFit1DCF_Sum(CorrFit1DCF *f1=NULL, CorrFit1DCF *f2=NULL)
virtual Double_t CalculateCF(const Double_t *x, const Double_t *params) const
Int_t GetSubfucntionsNo() const
void SetSubfunction(CorrFit1DCF *f, Int_t i)
Double_t Call(Int_t subfucnt, const Double_t *x, const Double_t *params) const