CMS 3D CMS Logo

TFitConstraintMGaus.h
Go to the documentation of this file.
1 #ifndef TFitConstraintMGaus_hh
2 #define TFitConstraintMGaus_hh
3 
5 
6 #include <vector>
7 
8 class TAbsFitParticle;
9 
11 
12 public :
13 
15  TFitConstraintMGaus(std::vector<TAbsFitParticle*>* ParList1,
16  std::vector<TAbsFitParticle*>* ParList2,
17  Double_t Mass = 0, Double_t Width = 0);
18  TFitConstraintMGaus(const TString &name, const TString &title,
19  std::vector<TAbsFitParticle*>* ParList1,
20  std::vector<TAbsFitParticle*>* ParList2,
21  Double_t Mass = 0, Double_t Width = 0);
22 
23  ~TFitConstraintMGaus() override;
24 
25  Double_t getInitValue() override;
26  Double_t getCurrentValue() override;
27  TMatrixD* getDerivativeAlpha() override;
28 
29  void setMassConstraint(Double_t Mass, Double_t Width);
30 
31  TString getInfoString() override;
32  void print() override;
33 
34 protected :
35 
36  Double_t _width;
37 
38  void init();
39 
40 
41 };
42 
43 #endif
44 
Double_t getInitValue() override
Double_t getCurrentValue() override
TString getInfoString() override
void setMassConstraint(Double_t Mass, Double_t Width)
TMatrixD * getDerivativeAlpha() override