1 #ifndef FLEXI_FAST_AMPLITUDE_INTEGRATOR_HH 2 #define FLEXI_FAST_AMPLITUDE_INTEGRATOR_HH 89 ,
double precision = 1.e-2
90 ,
const std::string& fastFlexiEventFileName=
"fastFlexiEventFileName.root" 97 ,
double precision = 1.e-2
114 ,
double precision = 1.e-2
MINT::counted_ptr< FitAmpPairList > _integCalc
TRandom * makeNewRnd(int seed=-9999)
DalitzHistoSet interferenceHistoSet() const
void addEvent(IDalitzEvent &evt)
int numberOfFitFractionsLargerThanThreshold(double threshold)
std::complex< double > ComplexIntegralForTags(int tag1, int tag2) const
DalitzEventList _fastFlexiEventList
std::complex< double > ComplexIntegralForTags(int tag1, int tag2)
double absSumOfSqrtInterferenceFractions()
double sumOfFitFractions()
std::complex< double > ComplexSumForMatchingPatterns(bool match)
FlexiFastAmplitudeIntegrator(const std::string &fastFlexiEventFileName="fastFlexiEventFileName.root")
int updateEventSet(long int Nevents)
std::vector< DalitzHistoSet > GetInterferenceHistograms()
double integralForMatchingPatterns(bool match, int pattern_sign) const
static const long int _minEvents
bool setValues(const DalitzEventPattern &pattern, IFastAmplitudeIntegrable *amps=0, MINT::IEventGenerator< IDalitzEvent > *eventGenerator=0, TRandom *rnd=0, double precision=1.e-2)
bool initialise(const DalitzEventPattern &pattern, IFastAmplitudeIntegrable *amps=0, MINT::IEventGenerator< IDalitzEvent > *eventGenerator=0, TRandom *rnd=0, double precision=1.e-2)
std::complex< double > ComplexSumForMatchingPatterns(bool match) const
void setPrecision(double prec)
void doFinalStatsAndSave(MINT::Minimiser *min=0, const std::string &fname="FitAmpResults.txt", const std::string &fnameROOT="fitFractions.root")
int numberOfFitFractionsLargerThanThreshold(double threshold)
MINT::IEventGenerator< IDalitzEvent > * _generator
FitFractionList getInterferenceTerms() const
double sumOfFitFractions()
int addEvents(long int Nevents)
DalitzHistoSet histoSet() const
void reAddEvent(DalitzEvent &evt)
double sumOfSqrtFitFractions()
IFastAmplitudeIntegrable * _amps
FitFractionList getFractions() const
void saveEachAmpsHistograms(const std::string &prefix) const
double integralForMatchingPatterns(bool match, int pattern_sign)
virtual void doFinalStats(MINT::Minimiser *mini=0)
MINT::counted_ptr< TRandom > _localRnd
double weight(IDalitzEvent *evtPtr)
FitFractionList getFractions() const
virtual bool add(const FlexiFastAmplitudeIntegrator &other)
void saveInterferenceHistograms(const std::string &prefix) const
MINT::counted_ptr< FitAmpPairList > _integCalc_copyForDebug
FitFractionList getInterferenceTerms() const
int generateEnoughEvents()
double absSumOfInterferenceFractions()
double sumOfSqrtFitFractions()
double getFractionChi2() const
double absSumOfSqrtInterferenceFractions()
double absSumOfInterferenceFractions()
std::vector< DalitzHistoSet > GetEachAmpsHistograms()