ATLAS Offline Software
JacobianCotThetaPtToThetaP.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // JacobianCotThetaPtToThetaP, (c) ATLAS Detector software
8 
10 #include <cmath>
11 
13  AmgMatrix(5,5)()
14 {
15 
16  // initialize to identify matrix
17  this->setIdentity();
18 
19  double onePlusCotTSq = 1 + cotTheta*cotTheta;
20  (*this)(3,3) = - 1./onePlusCotTSq;
21  (*this)(4,3) = -cotTheta/(onePlusCotTSq*std::sqrt(onePlusCotTSq)) * qpT;
22  (*this)(4,4) = 1./std::sqrt(onePlusCotTSq);
23 }
24 
25 
26 
27 
28 
AmgMatrix
#define AmgMatrix(rows, cols)
Definition: EventPrimitives.h:51
Trk::JacobianCotThetaPtToThetaP::JacobianCotThetaPtToThetaP
JacobianCotThetaPtToThetaP(const double cotTheta, const double qpT)
Definition: JacobianCotThetaPtToThetaP.cxx:12
JacobianCotThetaPtToThetaP.h
TRT::Track::cotTheta
@ cotTheta
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:65