ATLAS Offline Software
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkEventPrimitives
src
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
9
#include "
TrkEventPrimitives/JacobianCotThetaPtToThetaP.h
"
10
#include <cmath>
11
12
Trk::JacobianCotThetaPtToThetaP::JacobianCotThetaPtToThetaP
(
const
double
cotTheta,
const
double
qpT):
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
JacobianCotThetaPtToThetaP.h
Trk::JacobianCotThetaPtToThetaP::JacobianCotThetaPtToThetaP
JacobianCotThetaPtToThetaP(const double cotTheta, const double qpT)
Definition
JacobianCotThetaPtToThetaP.cxx:12
Trk::AmgMatrix
AmgMatrix(3, 3) NeutralParticleParameterCalculator
Definition
NeutralParticleParameterCalculator.cxx:231
Generated on
for ATLAS Offline Software by
1.14.0