ATLAS Offline Software
Loading...
Searching...
No Matches
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
}
JacobianThetaPToCotThetaPt.h
Trk::JacobianThetaPToCotThetaPt::JacobianThetaPToCotThetaPt
JacobianThetaPToCotThetaPt(const double theta, const double qp)
Definition
JacobianThetaPToCotThetaPt.cxx:12
Trk::AmgMatrix
AmgMatrix(3, 3) NeutralParticleParameterCalculator
Definition
NeutralParticleParameterCalculator.cxx:231
Trk::theta
@ theta
Definition
ParamDefs.h:66
Generated on
for ATLAS Offline Software by
1.14.0