CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TFitParticleMCCart.h
Go to the documentation of this file.
1 #ifndef TFitParticleMCCart_hh
2 #define TFitParticleMCCart_hh
3 
4 #include "TMatrixD.h"
6 #include "TLorentzVector.h"
7 #include "TVector3.h"
8 
10 public:
12  TFitParticleMCCart(const TFitParticleMCCart& fitParticle);
13  TFitParticleMCCart(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
14  TFitParticleMCCart(const TString& name, const TString& title, TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
15  ~TFitParticleMCCart() override;
16  TAbsFitParticle* clone(const TString& newname = TString("")) const override;
17 
18  // returns derivative dP/dy with P=(p,E) and y=(r, theta, phi, ...)
19  // the free parameters of the fit. The columns of the matrix contain
20  // (dP/dr, dP/dtheta, ...).
21  TMatrixD* getDerivative() override;
22  TMatrixD* transform(const TLorentzVector& vec) override;
23  void setIni4Vec(const TLorentzVector* pini) override;
24  void setIni4Vec(const TVector3* p, Double_t M);
25  TLorentzVector* calc4Vec(const TMatrixD* params) override;
26 
27 protected:
28  void init(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
29 
30 private:
31  ClassDefOverride(TFitParticleMCCart, 0)
32 };
33 
34 #endif
void init(TVector3 *p, Double_t M, const TMatrixD *theCovMatrix)
TLorentzVector * calc4Vec(const TMatrixD *params) override
~TFitParticleMCCart() override
void setIni4Vec(const TLorentzVector *pini) override
TMatrixD * getDerivative() override
TAbsFitParticle * clone(const TString &newname=TString("")) const override
TMatrixD * transform(const TLorentzVector &vec) override