Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFit1DCFLorentz.cxx
1/*
2 * CorrFit1DCF_Lorentz.cxx
3 *
4 * Created on: 12 lis 2016
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#include "CorrFit1DCFLorentz.h"
10
11#include <TMath.h>
12
13namespace Hal {
14 CorrFit1DCF_Lorentz::CorrFit1DCF_Lorentz() {}
15
16 Double_t CorrFit1DCF_Lorentz::CalculateCF(const Double_t* x, const Double_t* params) const {
17 return params[NormID()]
18 * (1
19 + params[LambdaID()]
20 / TMath::Power(
21 Femto::FmToGeV() * Femto::FmToGeV() * (x[0] * x[0] * params[RadiusID()] * params[RadiusID()]) + 1, 2));
22 }
23
24 CorrFit1DCF_Lorentz::~CorrFit1DCF_Lorentz() {}
25} // namespace Hal
Double_t CalculateCF(const Double_t *x, const Double_t *params) const
Int_t LambdaID() const
Int_t RadiusID() const
Int_t NormID() const