10#include "CorrFit3DCFGaussCross.h"
15 CorrFit3DCF_GaussCross::CorrFit3DCF_GaussCross() : CorrFit3DCF(e3DMode::kNormal6R, 8) {
16 SetParameterName(Routside(),
"R_{out-side}");
17 FixParameter(Routside(), 0);
18 SetParameterName(Routlong(),
"R_{out-long}");
19 FixParameter(Routlong(), 0);
20 SetParameterName(Rsidelong(),
"R_{side-long}");
21 FixParameter(Rsidelong(), 0);
24 CorrFit3DCF_GaussCross::~CorrFit3DCF_GaussCross() {}
25 Double_t CorrFit3DCF_GaussCross::CalculateCF(
const Double_t* x,
const Double_t* params)
const {
27 if (fKinematics == Hal::Femto::EKinematics::kPRF) { scale = 4.0; }
28 return params[NormID()]
31 * TMath::Exp(-25.76578 * scale
32 * (x[0] * x[0] * params[RoutID()] * params[RoutID()]
33 + x[1] * x[1] * params[RsideID()] * params[RsideID()]
34 + x[2] * x[2] * params[RlongID()] * params[RlongID()]
35 + 2.0 * x[0] * x[1] * TMath::Abs(params[Routside()]) * params[Routside()]
36 + 2.0 * x[0] * x[2] * TMath::Abs(params[Routlong()]) * params[Routlong()]
37 + 2.0 * x[1] * x[2] * TMath::Abs(params[Rsidelong()]) * params[Rsidelong()])));