#include <phaseSpaceIntegrals.h>
Definition at line 49 of file phaseSpaceIntegrals.h.
◆ PhaseSpaceIntegral4body()
PhaseSpaceIntegral4body::PhaseSpaceIntegral4body |
( |
| ) |
|
Definition at line 246 of file phaseSpaceIntegrals.cpp.
254 cout <<
"phaseSpaceIntegral4body::phaseSpaceIntegral3body()" 255 <<
" failed to get TF1!!!" << endl;
double d4body_by_ds12(Double_t *x, Double_t *p)
◆ getVal() [1/2]
Definition at line 260 of file phaseSpaceIntegrals.cpp.
261 if(_pat.
size() != 5){
262 cout <<
"phaseSpaceIntegral4body: wrong pattern " << _pat << endl;
264 double mum = _pat[0].mass();
265 double d1 = _pat[1].mass();
266 double d2 = _pat[2].mass();
267 double d3 = _pat[3].mass();
268 double d4 = _pat[4].mass();
269 return getVal(mum, d1, d2, d3, d4);
unsigned int size() const
double getVal(const DalitzEventPattern &_pat)
◆ getVal() [2/2]
double PhaseSpaceIntegral4body::getVal |
( |
double |
mum, |
|
|
double |
d1, |
|
|
double |
d2, |
|
|
double |
d3, |
|
|
double |
d4 |
|
) |
| |
Definition at line 271 of file phaseSpaceIntegrals.cpp.
277 double min_m12 = (d1 + d2);
278 double max_m12 = (mum - d3 - d4);
279 if(dbThis)cout <<
"PhaseSpaceIntegral4body::getVal : from, to " 280 << min_m12 <<
", " << max_m12 << endl;
281 if(min_m12 >= max_m12)
return 0;
283 double min_s12 = min_m12*min_m12;
284 double max_s12 = max_m12*max_m12;
286 Double_t para[5]={mum, d1, d2, d3, d4};
288 _f->SetParameters(para);
293 _f->CalcGaussLegendreSamplingPoints(np,xpts,wpts,1e-15);
294 return _f->IntegralFast(np,xpts,wpts, min_s12, max_s12, para);
◆ getValCheck() [1/2]
Definition at line 297 of file phaseSpaceIntegrals.cpp.
298 if(_pat.
size() != 5){
299 cout <<
"phaseSpaceIntegral4body: wrong pattern " << _pat << endl;
301 double mum = _pat[0].mass();
302 double d1 = _pat[1].mass();
303 double d2 = _pat[2].mass();
304 double d3 = _pat[3].mass();
305 double d4 = _pat[4].mass();
double getValCheck(const DalitzEventPattern &_pat)
unsigned int size() const
◆ getValCheck() [2/2]
double PhaseSpaceIntegral4body::getValCheck |
( |
double |
mum, |
|
|
double |
d1, |
|
|
double |
d2, |
|
|
double |
d3, |
|
|
double |
d4 |
|
) |
| |
Definition at line 308 of file phaseSpaceIntegrals.cpp.
314 double min_m12 = (d1 + d2);
315 double max_m12 = (mum - d3 - d4);
316 if(dbThis)cout <<
"PhaseSpaceIntegral4body::getVal : from, to " 317 << min_m12 <<
", " << max_m12 << endl;
318 if(min_m12 >= max_m12)
return 0;
320 double min_s12 = min_m12*min_m12;
321 double max_s12 = max_m12*max_m12;
323 Double_t para[5]={mum, d1, d2, d3, d4};
325 _f->SetParameters(para);
329 double dx = (max_s12 - min_s12)/((
double)NSteps);
331 for(
int i=0; i< NSteps; i++){
332 double dim = 0.5 + (double) i;
333 double x = min_s12 + dx*dim;
◆ _f
TF1 * PhaseSpaceIntegral4body::_f = 0 |
|
staticprotected |
The documentation for this class was generated from the following files: