ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::DoubletsForMiddleSp::Proxy2 Class Reference

Same as Proxy but also contains cotTheta. More...

#include <Acts/Seeding2/DoubletSeedFinder.hpp>

Inheritance diagram for Acts::DoubletsForMiddleSp::Proxy2:
[legend]
Collaboration diagram for Acts::DoubletsForMiddleSp::Proxy2:
[legend]

Public Member Functions

 Proxy2 (const DoubletsForMiddleSp *container, IndexAndCotTheta indexAndCotTheta)
 Constructor for Proxy2 with precomputed cotTheta.
float cotTheta () const
 Get precomputed cotTheta value (avoids indirect access).
Public Member Functions inherited from Acts::DoubletsForMiddleSp::Proxy
 Proxy (const DoubletsForMiddleSp *container, Index index)
 Constructor.
const DoubletsForMiddleSpcontainer () const
 Get the doublet container.
float cotTheta () const
 Get cotangent of theta.
float er () const
 Get er value.
float iDeltaR () const
 Get inverse delta r.
Index index () const
 Get the doublet index.
SpacePointIndex2 spacePointIndex () const
 Get space point index pair.
float u () const
 Get u coordinate.
float v () const
 Get v coordinate.
float x () const
 Get x coordinate.
float y () const
 Get y coordinate.

Detailed Description

Same as Proxy but also contains cotTheta.

This is useful after sorting doublets by cotTheta to avoid indirect access.

Constructor & Destructor Documentation

◆ Proxy2()

Acts::DoubletsForMiddleSp::Proxy2::Proxy2 ( const DoubletsForMiddleSp * container,
IndexAndCotTheta indexAndCotTheta )

Constructor for Proxy2 with precomputed cotTheta.

Parameters
containerPointer to the doublets container
indexAndCotThetaIndex and cotTheta pair

Member Function Documentation

◆ cotTheta()

float Acts::DoubletsForMiddleSp::Proxy2::cotTheta ( ) const

Get precomputed cotTheta value (avoids indirect access).

Returns
Cotangent of polar angle