CMS 3D CMS Logo

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