Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFit3DCFGauss.cxx
1/*
2 * CorrFit3DCFGauss.cxx
3 *
4 * Created on: 08-04-2015
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9
10#include "CorrFit3DCFGauss.h"
11
12#include <TMath.h>
13
14namespace Hal {
15 Double_t CorrFit3DCF_Gauss::CalculateCF(const Double_t* x, const Double_t* params) const {
16 if (fKinematics == Femto::EKinematics::kLCMS)
17 return params[NormID()]
18 * (1
19 + params[LambdaID()]
20 * TMath::Exp(-25.76578
21 * (x[0] * x[0] * params[RoutID()] * params[RoutID()]
22 + x[1] * x[1] * params[RsideID()] * params[RsideID()]
23 + x[2] * x[2] * params[RlongID()] * params[RlongID()])));
24 else
25 return params[NormID()]
26 * (1
27 + params[LambdaID()]
28 * TMath::Exp(-25.76578 * 4.0
29 * (x[0] * x[0] * params[RoutID()] * params[RoutID()]
30 + x[1] * x[1] * params[RsideID()] * params[RsideID()]
31 + x[2] * x[2] * params[RlongID()] * params[RlongID()])));
32 }
33
34 CorrFit3DCF_Gauss::CorrFit3DCF_Gauss() : CorrFit3DCF(5) {}
35
36 CorrFit3DCF_Gauss::~CorrFit3DCF_Gauss() {}
37} // namespace Hal
Double_t CalculateCF(const Double_t *x, const Double_t *params) const
Int_t RsideID() const
Int_t LambdaID() const
Int_t RoutID() const
Int_t RlongID() const
Int_t NormID() const
Femto::EKinematics fKinematics
Definition CorrFitFunc.h:69