CMS 3D CMS Logo

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