CMS 3D CMS Logo

TFitParticleMomDev.h
Go to the documentation of this file.
1 
2 
3 #ifndef TFitParticleMomDev_hh
4 #define TFitParticleMomDev_hh
5 
7 #include "TLorentzVector.h"
8 #include "TMatrixD.h"
9 
11 public:
13  TFitParticleMomDev(const TFitParticleMomDev& fitParticle);
14  TFitParticleMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
15  TFitParticleMomDev(const TString& name, const TString& title, TLorentzVector* pini, const TMatrixD* theCovMatrix);
16  ~TFitParticleMomDev() override;
17  TAbsFitParticle* clone(const TString& newname = TString("")) const override;
18 
19  // returns derivative dP/dy with P=(p,E) and y=(par1, par2, par3, ...)
20  // the free parameters of the fit. The columns of the matrix contain
21  // (dP/dpar1, dP/dpar2, ...).
22  TMatrixD* getDerivative() override;
23  TMatrixD* transform(const TLorentzVector& vec) override;
24  void setIni4Vec(const TLorentzVector* pini) override;
25  TLorentzVector* calc4Vec(const TMatrixD* params) override;
26 
27 protected:
28  void init(TLorentzVector* pini, const TMatrixD* theCovMatrix);
29 
30 private:
31  ClassDefOverride(TFitParticleMomDev, 0)
32 };
33 
34 #endif
TFitParticleMomDev::init
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
Definition: TFitParticleMomDev.cc:79
TFitParticleMomDev::calc4Vec
TLorentzVector * calc4Vec(const TMatrixD *params) override
Definition: TFitParticleMomDev.cc:122
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
TFitParticleMomDev::setIni4Vec
void setIni4Vec(const TLorentzVector *pini) override
Definition: TFitParticleMomDev.cc:92
TFitParticleMomDev
Definition: TFitParticleMomDev.h:10
TFitParticleMomDev::TFitParticleMomDev
TFitParticleMomDev()
Definition: TFitParticleMomDev.cc:32
TFitParticleMomDev::getDerivative
TMatrixD * getDerivative() override
Definition: TFitParticleMomDev.cc:144
TAbsFitParticle
Definition: TAbsFitParticle.h:9
TFitParticleMomDev::~TFitParticleMomDev
~TFitParticleMomDev() override
Definition: TFitParticleMomDev.cc:74
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
TAbsFitParticle.h
TFitParticleMomDev::transform
TMatrixD * transform(const TLorentzVector &vec) override
Definition: TFitParticleMomDev.cc:179
TFitParticleMomDev::clone
TAbsFitParticle * clone(const TString &newname=TString("")) const override
Definition: TFitParticleMomDev.cc:62