CMS 3D CMS Logo

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