ATLAS Offline Software
Tracking
TrkEvent
TrkEventPrimitives
src
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
9
#include "
TrkEventPrimitives/JacobianThetaPToCotThetaPt.h
"
10
#include <cmath>
11
12
Trk::JacobianThetaPToCotThetaPt::JacobianThetaPToCotThetaPt
(
const
double
theta
,
const
double
qp):
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
Generated on Thu Nov 7 2024 21:17:42 for ATLAS Offline Software by
1.8.18