9#include "CorrFit3DCFGauss2.h"
15 CorrFit3DCF_Gauss2::CorrFit3DCF_Gauss2() : CorrFit3DCF(9) {
16 SetParameterName(NormID(),
"Norm");
17 SetParameterName(Lambda1ID(),
"#Lambda_{1}");
18 SetParameterName(Lambda2ID(),
"#Lambda_{2}");
19 SetParameterName(Rout1ID(),
"R_{out1}");
20 SetParameterName(Rout2ID(),
"R_{out2}");
21 SetParameterName(Rside1ID(),
"R_{side1}");
22 SetParameterName(Rside2ID(),
"R_{side2}");
23 SetParameterName(Rlong1ID(),
"R_{long1}");
24 SetParameterName(Rlong2ID(),
"R_{long2}");
27 Double_t CorrFit3DCF_Gauss2::CalculateCF(
const Double_t* x,
const Double_t* params)
const {
28 return params[NormID()]
30 + params[this->Lambda1ID()]
31 * TMath::Exp(-Femto::FmToGeV() * Femto::FmToGeV()
32 * (TMath::Power(x[0] * params[this->Rout1ID()], 2)
33 + TMath::Power(x[1] * params[this->Rside1ID()], 2)
34 + TMath::Power(x[2] * params[this->Rlong1ID()], 2)))
35 + params[this->Lambda2ID()]
36 * TMath::Exp(-Femto::FmToGeV() * Femto::FmToGeV()
37 * (TMath::Power(x[0] * params[this->Rout2ID()], 2)
38 + TMath::Power(x[1] * params[this->Rside2ID()], 2)
39 + TMath::Power(x[2] * params[this->Rlong2ID()], 2))));
42 CorrFit3DCF_Gauss2::~CorrFit3DCF_Gauss2() {}