MINT2
IMinuitParameter.h
Go to the documentation of this file.
1 #ifndef IMINUIT_PARAMETER_HH
2 #define IMINUIT_PARAMETER_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:17:55 GMT
5 
6 #include <iostream>
7 
8 //class TMinuit;
9 
10 namespace MINT{
11 
12 class MinuitParameterSet;
13 
15  protected:
17  virtual bool setParSet(MinuitParameterSet* ps)=0;
18  virtual bool setParSetIndex(int psetIndex)=0;
19  virtual double blinding() const=0;
20  public:
21  virtual int iFixInit() const=0;
22  virtual bool hidden() const=0;
23  virtual const std::string& name() const=0;
24  virtual double meanInit() const=0;
25  virtual double stepInit() const=0;
26  virtual double minInit() const=0;
27  virtual double maxInit() const=0;
28 
29  virtual bool scan() const=0;
30  virtual double scanMin() const=0;
31  virtual double scanMax() const=0;
32 
33  virtual double mean() const=0;
34  virtual double err() const=0;
35 
36  // virtual void associate(TMinuit* tm, int parNumber)=0;
37 
38  virtual const MinuitParameterSet* parSet() const=0;
39  virtual int parSetIndex() const=0;
40 
41  virtual void setCurrentFitVal(double pval)=0;
42 
43  virtual void setResult(double fitMean
44  , double fitErr
45  , double fitErrPos
46  , double fitErrNeg)=0;
47 
48  // virtual void endOfFit()=0;
49 
50  virtual operator double() const=0;
51 
52  virtual void print(std::ostream& os = std::cout) const=0;
53  virtual void printResultVsInput(std::ostream& os = std::cout) const=0;
54 
55  virtual ~IMinuitParameter(){}
56 
57  friend class MinuitParameterSet;
58  friend class Minimiser;
59 
60 };
61 }//namespace MINT
62 
63 #endif
64 //
virtual const MinuitParameterSet * parSet() const =0
virtual double meanInit() const =0
virtual void printResultVsInput(std::ostream &os=std::cout) const =0
virtual bool setParSetIndex(int psetIndex)=0
virtual double scanMin() const =0
virtual int iFixInit() const =0
virtual double err() const =0
virtual const std::string & name() const =0
virtual double mean() const =0
virtual bool scan() const =0
virtual double blinding() const =0
virtual double maxInit() const =0
virtual bool hidden() const =0
virtual double stepInit() const =0
virtual bool setParSet(MinuitParameterSet *ps)=0
virtual void print(std::ostream &os=std::cout) const =0
virtual double minInit() const =0
virtual void setResult(double fitMean, double fitErr, double fitErrPos, double fitErrNeg)=0
virtual int parSetIndex() const =0
virtual void setCurrentFitVal(double pval)=0
virtual double scanMax() const =0