ATLAS Offline Software
Loading...
Searching...
No Matches
CylinderUtils.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ACTSEVENT_CYLINDERUTILS_H
5#define ACTSEVENT_CYLINDERUTILS_H
6
8#include "Acts/Definitions/Direction.hpp"
9
10#include <span>
11
12namespace Acts{
13 class BoundTrackParameters;
14 class GeometryContext;
15}
16
17
18namespace ActsTrk {
26 std::array<double, 2> cylinderIntersectPaths(const Amg::Vector3D& pos,
27 const Amg::Vector3D& dir,
28 const double cylinderR);
35 std::optional<Acts::BoundTrackParameters>
36 expressOnCylinder(const Acts::GeometryContext& tgContext,
37 const Acts::BoundTrackParameters& boundPars,
38 const double cylinderR,
39 const Acts::Direction dir = Acts::Direction::Forward());
46 std::vector<Acts::BoundTrackParameters>
47 expressOnCylinders(const Acts::GeometryContext& tgContext,
48 const Acts::BoundTrackParameters& boundPars,
49 std::span<const double> cylinderRadii,
50 const Acts::Direction dir = Acts::Direction::Forward());
51
52}
53
54
55#endif
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
std::vector< Acts::BoundTrackParameters > expressOnCylinders(const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &boundPars, std::span< const double > cylinderRadii, const Acts::Direction dir=Acts::Direction::Forward())
Propgate the track parameters to a set of cylinders.
std::array< double, 2 > cylinderIntersectPaths(const Amg::Vector3D &pos, const Amg::Vector3D &dir, const double cylinderR)
Returns the two path lengths for a track state with position and direction to intersect the cylinder ...
std::optional< Acts::BoundTrackParameters > expressOnCylinder(const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &boundPars, const double cylinderR, const Acts::Direction dir=Acts::Direction::Forward())
Propagates the track parameters to a cylinder with radius R and expresses them as bound track paramet...
Eigen::Matrix< double, 3, 1 > Vector3D