|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include <GaudiKernel/SystemOfUnits.h>
15 constexpr
double eps = std::numeric_limits<float>::epsilon();
16 return v.y() / ( std::abs(
v.z()) > eps ?
v.z() : eps);
19 constexpr
double eps = std::numeric_limits<float>::epsilon();
20 return v.x() / ( std::abs(
v.z()) > eps ?
v.z() : eps);
22 namespace SegmentFit {
28 return Amg::Vector3D{csPhi.cs*csTheta.sn,csPhi.sn*csTheta.sn, csTheta.cs};
55 std::stringstream sstr{};
64 std::stringstream sstr{};
ParamDefs
This file defines the parameter enums in the Trk namespace.
AmgVector(toInt(ParamDefs::nPars)) Parameters
Helper class to provide type-safe access to aux data.
Placeholder for what will later be the muon segment EDM representation.
Helper to simultaneously calculate sin and cos of the same angle.
Class describing a MuonSegment.
std::pair< Amg::Vector3D, Amg::Vector3D > makeLine(const Parameters &pars)
Returns the parsed parameters into an Eigen line parametrization.
double houghTanPhi(const Amg::Vector3D &v)
: Returns the hough tanPhi [x] / [z]
Amg::Vector3D dirFromTangents(const double tanPhi, const double tanTheta)
Constructs a direction vector from tanPhi & tanTheta.
Eigen::Affine3d Transform3D
std::string toString(const Parameters &pars)
Include the GeoPrimitives which need to be put first.
Eigen::Matrix< float, N, 1 > MeasVector
Abrivation of the Matrix & Covariance definitions.
constexpr int toInt(const ParamDefs p)
Eigen::Matrix< double, 3, 1 > Vector3D
This header ties the generic definitions in this package.
Helper to simultaneously calculate sin and cos of the same angle.
std::string makeLabel(const Parameters &pars)
Parameters localSegmentPars(const xAOD::MuonSegment &seg)
Returns the localSegPars decoration from a xAODMuon::Segment.
Amg::Vector3D dirFromAngles(const double phi, const double theta)
Constructs a direction vector from the polar theta & phi angles.
double houghTanTheta(const Amg::Vector3D &v)
Returns the hough tanTheta [y] / [z].
Eigen::Map< const MeasVector< N > > ConstVectorMap
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)