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  virtual ~TFitConstraintMGaus();
24 
25  virtual Double_t getInitValue();
26  virtual Double_t getCurrentValue();
27  virtual TMatrixD* getDerivativeAlpha();
28 
29  void setMassConstraint(Double_t Mass, Double_t Width);
30 
31  virtual TString getInfoString();
32  virtual void print();
33 
34 protected :
35 
36  Double_t _width;
37 
38  void init();
39 
40 
41 };
42 
43 #endif
44 
virtual TString getInfoString()
virtual Double_t getInitValue()
void setMassConstraint(Double_t Mass, Double_t Width)
virtual TMatrixD * getDerivativeAlpha()
virtual Double_t getCurrentValue()