ATLAS Offline Software
JacobianThetaPToCotThetaPt.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 // JacobianThetaPToCotThetaPt, (c) ATLAS Detector software
8 
10 #include <cmath>
11 
13  AmgMatrix(5,5)()
14 {
15  // initialize to zero
16  this->setIdentity();
17 
18  double sintheta = std::sin(theta);
19  (*this)(3,3) = - 1./(sintheta*sintheta);
20  (*this)(4,3) = - qp * std::cos(theta)/(sintheta*sintheta);
21  (*this)(4,4) = 1.0 / sintheta;
22 }
theta
Scalar theta() const
theta method
Definition: AmgMatrixBasePlugin.h:75
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
AmgMatrix
#define AmgMatrix(rows, cols)
Definition: EventPrimitives.h:49
Trk::theta
@ theta
Definition: ParamDefs.h:66
JacobianThetaPToCotThetaPt.h
Trk::JacobianThetaPToCotThetaPt::JacobianThetaPToCotThetaPt
JacobianThetaPToCotThetaPt(const double theta, const double qp)
Definition: JacobianThetaPToCotThetaPt.cxx:12
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36