CMS 3D CMS Logo

TFitParticleEtThetaPhi.h
Go to the documentation of this file.
1 #ifndef TFitParticleEtThetaPhi_hh
2 #define TFitParticleEtThetaPhi_hh
3 
5 #include "TLorentzVector.h"
6 #include "TMatrixD.h"
7 
9 public:
12  TFitParticleEtThetaPhi(TLorentzVector* pini, const TMatrixD* theCovMatrix);
13  TFitParticleEtThetaPhi(const TString& name, const TString& title, TLorentzVector* pini, const TMatrixD* theCovMatrix);
14  ~TFitParticleEtThetaPhi() override;
15  TAbsFitParticle* clone(const TString& newname = "") const override;
16 
17  // returns derivative dP/dy with P=(p,E) and y=(et, theta, phi)
18  // the free parameters of the fit. The columns of the matrix contain
19  // (dP/d(et), dP/d(theta), dP/d(phi)).
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(TFitParticleEtThetaPhi, 0)
30 };
31 
32 #endif
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
TFitParticleEtThetaPhi::clone
TAbsFitParticle * clone(const TString &newname="") const override
Definition: TFitParticleEtThetaPhi.cc:57
TAbsFitParticle
Definition: TAbsFitParticle.h:9
TFitParticleEtThetaPhi::~TFitParticleEtThetaPhi
~TFitParticleEtThetaPhi() override
Definition: TFitParticleEtThetaPhi.cc:69
TFitParticleEtThetaPhi::init
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
Definition: TFitParticleEtThetaPhi.cc:74
TFitParticleEtThetaPhi::setIni4Vec
void setIni4Vec(const TLorentzVector *pini) override
Definition: TFitParticleEtThetaPhi.cc:106
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
TFitParticleEtThetaPhi::TFitParticleEtThetaPhi
TFitParticleEtThetaPhi()
Definition: TFitParticleEtThetaPhi.cc:27
TFitParticleEtThetaPhi::calc4Vec
TLorentzVector * calc4Vec(const TMatrixD *params) override
Definition: TFitParticleEtThetaPhi.cc:80
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
TAbsFitParticle.h
TFitParticleEtThetaPhi::transform
TMatrixD * transform(const TLorentzVector &vec) override
Definition: TFitParticleEtThetaPhi.cc:186
TFitParticleEtThetaPhi
Definition: TFitParticleEtThetaPhi.h:8
TFitParticleEtThetaPhi::getDerivative
TMatrixD * getDerivative() override
Definition: TFitParticleEtThetaPhi.cc:151