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 public:
13  TFitConstraintMGaus(std::vector<TAbsFitParticle*>* ParList1,
14  std::vector<TAbsFitParticle*>* ParList2,
15  Double_t Mass = 0,
16  Double_t Width = 0);
17  TFitConstraintMGaus(const TString& name,
18  const TString& title,
19  std::vector<TAbsFitParticle*>* ParList1,
20  std::vector<TAbsFitParticle*>* ParList2,
21  Double_t Mass = 0,
22  Double_t Width = 0);
23 
24  ~TFitConstraintMGaus() override;
25 
26  Double_t getInitValue() override;
27  Double_t getCurrentValue() override;
28  TMatrixD* getDerivativeAlpha() override;
29 
30  void setMassConstraint(Double_t Mass, Double_t Width);
31 
32  TString getInfoString() override;
33  void print() override;
34 
35 protected:
36  Double_t _width;
37 
38  void init();
39 
40 private:
41  ClassDefOverride(TFitConstraintMGaus, 0)
42 };
43 
44 #endif
Double_t getInitValue() override
Double_t getCurrentValue() override
TString getInfoString() override
void setMassConstraint(Double_t Mass, Double_t Width)
TMatrixD * getDerivativeAlpha() override