Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFit1DCFExp.cxx
1/*
2 * CorrFit1DCFExp.cxx
3 *
4 * Created on: 29-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 "CorrFit1DCFExp.h"
11
12#include <TMath.h>
13
14namespace Hal {
15 CorrFit1DCF_Exp::CorrFit1DCF_Exp() {
16 // TODO Auto-generated constructor stub
17 }
18
19 Double_t CorrFit1DCF_Exp::CalculateCF(const Double_t* x, const Double_t* params) const {
20 return params[2] * (1 + params[1] * TMath::Exp(-Femto::FmToGeV() * x[0] * params[0]));
21 }
22
23 CorrFit1DCF_Exp::~CorrFit1DCF_Exp() {
24 // TODO Auto-generated destructor stub
25 }
26} // namespace Hal
Double_t CalculateCF(const Double_t *x, const Double_t *params) const