CMS 3D CMS Logo

TFitParticleEMomDev.h
Go to the documentation of this file.
1 
2 
3 #ifndef TFitParticleEMomDev_hh
4 #define TFitParticleEMomDev_hh
5 
7 #include "TLorentzVector.h"
8 #include "TMatrixD.h"
9 
11 public:
13  TFitParticleEMomDev(const TFitParticleEMomDev& fitParticle);
14  TFitParticleEMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
15  TFitParticleEMomDev(const TString& name, const TString& title, TLorentzVector* pini, const TMatrixD* theCovMatrix);
16  ~TFitParticleEMomDev() override;
17  TAbsFitParticle* clone(const TString& newname = "") 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(TFitParticleEMomDev, 0)
32 };
33 
34 #endif
TFitParticleEMomDev
Definition: TFitParticleEMomDev.h:10
TFitParticleEMomDev::~TFitParticleEMomDev
~TFitParticleEMomDev() override
Definition: TFitParticleEMomDev.cc:73
TFitParticleEMomDev::TFitParticleEMomDev
TFitParticleEMomDev()
Definition: TFitParticleEMomDev.cc:31
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
TFitParticleEMomDev::setIni4Vec
void setIni4Vec(const TLorentzVector *pini) override
Definition: TFitParticleEMomDev.cc:84
TFitParticleEMomDev::init
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
Definition: TFitParticleEMomDev.cc:78
TFitParticleEMomDev::getDerivative
TMatrixD * getDerivative() override
Definition: TFitParticleEMomDev.cc:148
TAbsFitParticle
Definition: TAbsFitParticle.h:9
TFitParticleEMomDev::transform
TMatrixD * transform(const TLorentzVector &vec) override
Definition: TFitParticleEMomDev.cc:183
TFitParticleEMomDev::clone
TAbsFitParticle * clone(const TString &newname="") const override
Definition: TFitParticleEMomDev.cc:61
TFitParticleEMomDev::calc4Vec
TLorentzVector * calc4Vec(const TMatrixD *params) override
Definition: TFitParticleEMomDev.cc:126
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
TAbsFitParticle.h