CMS 3D CMS Logo

TFitParticleCart.h
Go to the documentation of this file.
1 #ifndef TFitParticleCart_hh
2 #define TFitParticleCart_hh
3 
5 #include "TLorentzVector.h"
6 #include "TMatrixD.h"
7 
9 public:
11  TFitParticleCart(const TFitParticleCart& fitParticle);
12  TFitParticleCart(TLorentzVector* pini, const TMatrixD* theCovMatrix);
13  TFitParticleCart(const TString& name, const TString& title, TLorentzVector* pini, const TMatrixD* theCovMatrix);
14  ~TFitParticleCart() override;
15  TAbsFitParticle* clone(const TString& newname = TString("")) const override;
16 
17  // returns derivative dP/dy with P=(p,E) and y=(r, theta, phi, ...)
18  // the free parameters of the fit. The columns of the matrix contain
19  // (dP/dr, dP/dtheta, ...).
20  TMatrixD* getDerivative() override;
21  TMatrixD* transform(const TLorentzVector& vec) override;
22  void setIni4Vec(const TLorentzVector* pini) override;
23  TLorentzVector* calc4Vec(const TMatrixD* params) override;
24 
25 protected:
26  void init(TLorentzVector* pini, const TMatrixD* theCovMatrix);
27 
28 private:
29  ClassDefOverride(TFitParticleCart, 0)
30 };
31 
32 #endif
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
TFitParticleCart::TFitParticleCart
TFitParticleCart()
Definition: TFitParticleCart.cc:25
TFitParticleCart::clone
TAbsFitParticle * clone(const TString &newname=TString("")) const override
Definition: TFitParticleCart.cc:55
TFitParticleCart::setIni4Vec
void setIni4Vec(const TLorentzVector *pini) override
Definition: TFitParticleCart.cc:100
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
TFitParticleCart
Definition: TFitParticleCart.h:8
TFitParticleCart::~TFitParticleCart
~TFitParticleCart() override
Definition: TFitParticleCart.cc:67
TFitParticleCart::init
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
Definition: TFitParticleCart.cc:72
TAbsFitParticle
Definition: TAbsFitParticle.h:9
TFitParticleCart::getDerivative
TMatrixD * getDerivative() override
Definition: TFitParticleCart.cc:141
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
TAbsFitParticle.h
TFitParticleCart::transform
TMatrixD * transform(const TLorentzVector &vec) override
Definition: TFitParticleCart.cc:176
TFitParticleCart::calc4Vec
TLorentzVector * calc4Vec(const TMatrixD *params) override
Definition: TFitParticleCart.cc:78