CMS 3D CMS Logo

TFitParticleMCMomDev.h
Go to the documentation of this file.
1 
2 #ifndef TFitParticleMCMomDev_hh
3 #define TFitParticleMCMomDev_hh
4 
5 #include "TMatrixD.h"
7 #include "TLorentzVector.h"
8 #include "TVector3.h"
9 
11 public:
13  TFitParticleMCMomDev(const TFitParticleMCMomDev& fitParticle);
14  TFitParticleMCMomDev(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
15  TFitParticleMCMomDev(const TString& name, const TString& title, TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
16  ~TFitParticleMCMomDev() 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(TFitParticleMCMomDev, 0)
33 };
34 
35 #endif
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
TFitParticleMCMomDev::calc4Vec
TLorentzVector * calc4Vec(const TMatrixD *params) override
Definition: TFitParticleMCMomDev.cc:89
TFitParticleMCMomDev
Definition: TFitParticleMCMomDev.h:10
TFitParticleMCMomDev::~TFitParticleMCMomDev
~TFitParticleMCMomDev() override
Definition: TFitParticleMCMomDev.cc:72
TFitParticleMCMomDev::clone
TAbsFitParticle * clone(const TString &newname=TString("")) const override
Definition: TFitParticleMCMomDev.cc:60
TFitParticleMCMomDev::transform
TMatrixD * transform(const TLorentzVector &vec) override
Definition: TFitParticleMCMomDev.cc:179
TAbsFitParticle
Definition: TAbsFitParticle.h:9
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
TFitParticleMCMomDev::init
void init(TVector3 *p, Double_t M, const TMatrixD *theCovMatrix)
Definition: TFitParticleMCMomDev.cc:77
TFitParticleMCMomDev::TFitParticleMCMomDev
TFitParticleMCMomDev()
Definition: TFitParticleMCMomDev.cc:32
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
TAbsFitParticle.h
TFitParticleMCMomDev::setIni4Vec
void setIni4Vec(const TLorentzVector *pini) override
Definition: TFitParticleMCMomDev.cc:111
TFitParticleMCMomDev::getDerivative
TMatrixD * getDerivative() override
Definition: TFitParticleMCMomDev.cc:145