CMS 3D CMS Logo

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