CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TFitParticleMCSpher.h
Go to the documentation of this file.
1 #ifndef TFitParticleMCSpher_hh
2 #define TFitParticleMCSpher_hh
3 
4 #include "TMatrixD.h"
6 #include "TLorentzVector.h"
7 #include "TVector3.h"
8 
10 
11 public :
12 
14  TFitParticleMCSpher( const TFitParticleMCSpher& fitParticle );
15  TFitParticleMCSpher(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
16  TFitParticleMCSpher(const TString &name, const TString &title,
17  TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
18  virtual ~TFitParticleMCSpher();
19  virtual TAbsFitParticle* clone( const TString& newname = TString("") ) const;
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  virtual TMatrixD* getDerivative();
25  virtual TMatrixD* transform(const TLorentzVector& vec);
26  virtual void setIni4Vec(const TLorentzVector* pini);
27  void setIni4Vec(const TVector3* p, Double_t M);
28  virtual TLorentzVector* calc4Vec( const TMatrixD* params );
29 
30 protected :
31 
32  void init(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
33 
34 
35 private:
36 };
37 
38 #endif
void init(TVector3 *p, Double_t M, const TMatrixD *theCovMatrix)
virtual TMatrixD * getDerivative()
virtual TMatrixD * transform(const TLorentzVector &vec)
virtual TAbsFitParticle * clone(const TString &newname=TString("")) const
virtual void setIni4Vec(const TLorentzVector *pini)
virtual TLorentzVector * calc4Vec(const TMatrixD *params)