MINT2
FermiPS_BW.cpp
Go to the documentation of this file.
1 #include "Mint/FermiPS_BW.h"
3 #include "TMath.h"
4 #include "TCanvas.h"
5 #include "TH2D.h"
6 #include "Mint/Utils.h"
7 #include "Mint/DalitzEventList.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 
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 //
static const double s
virtual double GofM()
Definition: FermiPS_BW.cpp:19
double lambda(double x, double y, double z)
Definition: lambda.h:8
Double_t phaseSpace(Double_t *x, Double_t *par)
Definition: Histo_BW.cpp:79
double phaseSpace(double s)
Definition: FermiPS_BW.cpp:15