MINT2
src
Mojito
Lineshapes
FermiPS_BW.cpp
Go to the documentation of this file.
1
#include "
Mint/FermiPS_BW.h
"
2
#include "
Mint/CLHEPPhysicalConstants.h
"
3
#include "TMath.h"
4
#include "TCanvas.h"
5
#include "TH2D.h"
6
#include "
Mint/Utils.h
"
7
#include "
Mint/DalitzEventList.h
"
8
#include "
Mint/phaseSpaceIntegrals.h
"
9
#include <cmath>
10
#include <complex>
11
12
using namespace
std;
13
using namespace
MINT
;
14
15
double
FermiPS_BW::phaseSpace
(
double
s
){
16
return
sqrt(1.- _threshold*_threshold/
s
)/(1.+ exp(
lambda
()/(1000.*1000.) * (s0()*(1000.*1000.)-
s
) ) );
17
}
18
19
double
FermiPS_BW::GofM
(){
20
21
double
ps_m =
phaseSpace
(mumsRecoMass2());
22
double
ps_m0 =
phaseSpace
(mumsMass()*mumsMass());
23
24
double
ps_ratio = 0.;
25
if
(ps_m0>0)ps_ratio= ps_m/ps_m0 ;
26
27
return
mumsWidth() * ps_ratio;
28
}
29
30
//
s
static const double s
Definition:
CLHEPSystemOfUnits.h:126
CLHEPPhysicalConstants.h
Utils.h
FermiPS_BW::GofM
virtual double GofM()
Definition:
FermiPS_BW.cpp:19
DalitzEventList.h
MINT
Definition:
BasicComplex.h:7
lambda
double lambda(double x, double y, double z)
Definition:
lambda.h:8
phaseSpace
Double_t phaseSpace(Double_t *x, Double_t *par)
Definition:
Histo_BW.cpp:79
FermiPS_BW.h
FermiPS_BW::phaseSpace
double phaseSpace(double s)
Definition:
FermiPS_BW.cpp:15
phaseSpaceIntegrals.h
Generated by
1.8.15