MINT2
Functions
Histo_BW.cpp File Reference
#include "Mint/Histo_BW.h"
#include "Mint/CLHEPPhysicalConstants.h"
#include "TMath.h"
#include "TCanvas.h"
#include "TH2D.h"
#include "TH1D.h"
#include "Mint/Utils.h"
#include "Mint/DalitzEventList.h"
#include "Mint/phaseSpaceIntegrals.h"
#include <cmath>
#include <complex>

Go to the source code of this file.

Functions

Double_t phaseSpace (Double_t *x, Double_t *par)
 

Function Documentation

◆ phaseSpace()

Double_t phaseSpace ( Double_t *  x,
Double_t *  par 
)

Definition at line 79 of file Histo_BW.cpp.

79  {
80 
81  //x[0]: mumsRecoMass()^2
82  //par[0]: mumsMass()
83  //par[i]: final state masses (i=1,2,3)
84 
86  double ps_val = ps.getVal(sqrt(x[0])*GeV,par[1],par[2],par[3]);
87  double ps0_val = ps.getVal(par[0],par[1],par[2],par[3]);
88 
89  double ps_ratio=0.;
90  if(ps0_val>0)ps_ratio= ps_val/ps0_val;
91  //cout << ps_ratio << endl;
92 
93  return ps_ratio * par[0]/(sqrt(x[0])*GeV);
94 }
double getVal(const DalitzEventPattern &_pat)
static const double GeV