#include <AmpRatios.h>
Definition at line 10 of file AmpRatios.h.
◆ AmpRatios()
◆ getRatios()
bool AmpRatios::getRatios |
( |
FitAmpSum & |
ampSum | ) |
|
Definition at line 16 of file AmpRatios.cpp.
23 cout <<
" integrated all: " << allInt << endl;
25 vector<double> results(ampSum.
size());
28 for(
unsigned int i=0; i< ampSum.
size(); i++){
31 double ratio = results[i]/allInt;
32 cout <<
" ratio " << i <<
") " 33 << results[i] <<
" / " << allInt <<
" = " 39 cout <<
"\n============ FRACTIONS =================" << endl;
40 for(
unsigned int i=0; i< ampSum.
size(); i++){
52 cout << name <<
"-fraction \t" << results[i] << endl;
56 cout <<
"----------------------------------------\n" << endl;
58 cout <<
" Ratio sum " << ratioSum
59 <<
" (deviation from 1 due to interference effects) " 61 cout <<
"\n========================================" << endl;
virtual FitAmplitude * getAmpPtr(unsigned int i)
DalitzMCIntegrator _integrator
bool initialise(const DalitzEventPattern &pattern, MINT::IReturnRealForEvent< IDalitzEvent > *weightFunction=0, MINT::IEventGenerator< IDalitzEvent > *eventGenerator=0, TRandom *rnd=gRandom, double precision=1.e-2)
DalitzEventPattern _pattern
virtual unsigned int size() const
bool resetIntegrand(MINT::IReturnRealForEvent< IDalitzEvent > *weightFunction=0)
◆ _integrator
◆ _pattern
The documentation for this class was generated from the following files: