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)
const DoubletsForMiddleSpcontainer () const
float cotTheta () const
float er () const
float iDeltaR () const
Index index () const
SpacePointIndex2 spacePointIndex () const
float u () const
float v () const
float x () const
float y () const

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