MINT2
LASSO_flexi.h
Go to the documentation of this file.
1 #ifndef LASSO_FLEXI_HH
2 #define LASSO_FLEXI_HH
3 // author: Philippe d'Argent (p.dargent@cern.ch)
4 
5 #include "TMath.h"
6 #include "Mint/Minimisable.h"
8 #include "Mint/NamedParameter.h"
9 #include <vector>
10 
11 namespace MINT{
12 
13  class LASSO_flexi: public Minimisable{
14  protected:
16 
17  double _lambda;
18 
19  public:
21  : _pdf(pdf), _lambda(lambda) {
22 // _pdf->redoIntegrator();
23  };
24 
25  virtual void beginFit(){
27  };
28  virtual void parametersChanged(){
30  };
31  virtual void endFit(){};
32 
33  virtual double getVal();
34 
35  virtual double getNewVal(){
37  return getVal();
38  }
39 
40  int numberOfFitFractionsLargerThanThreshold(double threshold);
43  }
45  return _pdf->sumOfFitFractions();
46  }
47  virtual ~LASSO_flexi(){}
48 
49  };
50 
51 }// namespace MINT
52 #endif
53 //
int numberOfFitFractionsLargerThanThreshold(double threshold)
Definition: LASSO_flexi.cpp:16
virtual void parametersChanged()
Definition: LASSO_flexi.h:28
double sumOfFitFractions()
Definition: LASSO_flexi.h:44
virtual ~LASSO_flexi()
Definition: LASSO_flexi.h:47
double absSumOfInterferenceFractions()
Definition: LASSO_flexi.h:41
virtual double getNewVal()
Definition: LASSO_flexi.h:35
LASSO_flexi(DalitzPdfBaseFlexiFastInteg *pdf, double lambda=1.)
Definition: LASSO_flexi.h:20
virtual void beginFit()
Definition: LASSO_flexi.h:25
virtual void endFit()
Definition: LASSO_flexi.h:31
DalitzPdfBaseFlexiFastInteg * _pdf
Definition: LASSO_flexi.h:15
virtual double getVal()
Definition: LASSO_flexi.cpp:12
double lambda(double x, double y, double z)
Definition: lambda.h:8