MINT2
IIntegrationCalculator.h
Go to the documentation of this file.
1 #ifndef I_INTEGRATION_CALCULATOR_HH
2 #define I_INTEGRATION_CALCULATOR_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:18:02 GMT
5 
6 #include "Mint/IDalitzEvent.h"
7 #include "Mint/counted_ptr.h"
8 #include "Mint/DalitzHistoSet.h"
9 #include "Mint/FitFractionList.h"
10 #include <iostream>
11 
12 namespace MINT{
13  class Minimiser;
14 }
15 
17  public:
18  virtual void addEvent(IDalitzEvent* evtPtr, double weight=1)=0;
19  virtual void addEvent(MINT::counted_ptr<IDalitzEvent> evtPtr
20  , double weight=1)=0;
21  virtual int numEvents() const=0;
22  virtual double integral() const=0;
23  virtual double variance() const=0;
24 
25  virtual bool makeAndStoreFractions(MINT::Minimiser* mini=0)=0;
26  virtual FitFractionList getFractions()const=0;
27  // virtual FitFractionList getInterferenceTerms()const=0;
28 
29  virtual double getFractionChi2() const=0;
30 
31  virtual DalitzHistoSet histoSet() const=0;
32  virtual void saveEachAmpsHistograms(const std::string& prefix) const=0;
33  virtual void doFinalStats(MINT::Minimiser* mini=0)=0;
34 
35  virtual bool save(const std::string& dirname) const=0;
36  virtual bool retrieve(const std::string& dirname)=0;
37 
38  virtual void print(std::ostream& os=std::cout) const=0;
39 
42 
44 };
45 
46 #endif
47 //
virtual double variance() const =0
virtual void saveEachAmpsHistograms(const std::string &prefix) const =0
virtual int numEvents() const =0
virtual MINT::counted_ptr< IIntegrationCalculator > clone_IIntegrationCalculator() const =0
virtual DalitzHistoSet histoSet() const =0
virtual void print(std::ostream &os=std::cout) const =0
virtual FitFractionList getFractions() const =0
virtual bool save(const std::string &dirname) const =0
virtual void addEvent(IDalitzEvent *evtPtr, double weight=1)=0
virtual void doFinalStats(MINT::Minimiser *mini=0)=0
virtual bool retrieve(const std::string &dirname)=0
virtual double integral() const =0
virtual double getFractionChi2() const =0
virtual bool makeAndStoreFractions(MINT::Minimiser *mini=0)=0