CMS 3D CMS Logo

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 
11 public :
12 
14  TFitParticleMCCart( const TFitParticleMCCart& fitParticle );
15  TFitParticleMCCart(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
16  TFitParticleMCCart(const TString &name, const TString &title,
17  TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
18  ~TFitParticleMCCart() override;
19  TAbsFitParticle* clone( const TString& newname = TString("") ) const override;
20 
21  // returns derivative dP/dy with P=(p,E) and y=(r, theta, phi, ...)
22  // the free parameters of the fit. The columns of the matrix contain
23  // (dP/dr, dP/dtheta, ...).
24  TMatrixD* getDerivative() override;
25  TMatrixD* transform(const TLorentzVector& vec) override;
26  void setIni4Vec(const TLorentzVector* pini) override;
27  void setIni4Vec(const TVector3* p, Double_t M);
28  TLorentzVector* calc4Vec( const TMatrixD* params ) override;
29 
30 protected :
31 
32  void init(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
33 
34 
35 private:
36 
37  ClassDefOverride(TFitParticleMCCart, 0)
38 };
39 
40 #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