#include <phaseSpaceIntegrals.h>
Definition at line 40 of file phaseSpaceIntegrals.h.
◆ PhaseSpaceIntegral3body()
PhaseSpaceIntegral3body::PhaseSpaceIntegral3body |
( |
| ) |
|
Definition at line 187 of file phaseSpaceIntegrals.cpp.
195 cout <<
"phaseSpaceIntegral3body::phaseSpaceIntegral3body()" 196 <<
" failed to get TF1!!!" << endl;
double d3body_by_ds12(Double_t *x, Double_t *p)
◆ getVal() [1/2]
Definition at line 201 of file phaseSpaceIntegrals.cpp.
202 if(_pat.
size() != 4){
203 cout <<
"phaseSpaceIntegral3body: wrong pattern " << _pat << endl;
205 double mum = _pat[0].mass();
206 double d1 = _pat[1].mass();
207 double d2 = _pat[2].mass();
208 double d3 = _pat[3].mass();
210 return getVal(mum, d1, d2, d3);
double getVal(const DalitzEventPattern &_pat)
unsigned int size() const
◆ getVal() [2/2]
double PhaseSpaceIntegral3body::getVal |
( |
double |
mum, |
|
|
double |
d1, |
|
|
double |
d2, |
|
|
double |
d3 |
|
) |
| |
Definition at line 213 of file phaseSpaceIntegrals.cpp.
216 double min_m12 = (d1 + d2);
217 double max_m12 = (mum - d3);
218 if(dbThis)cout <<
"PhaseSpaceIntegral3body::getVal : from, to " 219 << min_m12 <<
", " << max_m12 << endl;
220 if(min_m12 >= max_m12)
return 0;
222 double min_s12 = min_m12*min_m12;
223 double max_s12 = max_m12*max_m12;
225 Double_t para[4]={mum, d1, d2, d3};
227 _f->SetParameters(para);
238 double returnVal =
_f->Integral(min_s12, max_s12);
239 if(dbThis) cout <<
"PhaseSpaceIntegral3body::getVal() returning " 240 << returnVal << endl;
◆ _f
TF1 * PhaseSpaceIntegral3body::_f = 0 |
|
staticprotected |
The documentation for this class was generated from the following files: