ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::TripletSeedFinder Class Referenceabstract

Interface and a collection of standard implementations for a triplet seed finder. More...

#include <Acts/Seeding2/TripletSeedFinder.hpp>

Classes

struct  Config
 Collection of configuration parameters for the triplet seed finder. More...
struct  DerivedConfig
 Derived configuration for the triplet seed finder using a magnetic field. More...

Public Member Functions

virtual ~TripletSeedFinder ()=default
virtual const DerivedConfigconfig () const =0
 Returns the configuration of the triplet seed finder.
virtual void createTripletTopCandidates (const SpacePointContainer2 &spacePoints, const ConstSpacePointProxy2 &spM, const DoubletsForMiddleSp::Proxy &bottomDoublet, DoubletsForMiddleSp::Range &topDoublets, TripletTopCandidates &tripletTopCandidates) const =0
 Create triplets from the bottom, middle, and top space points.
virtual void createTripletTopCandidates (const SpacePointContainer2 &spacePoints, const ConstSpacePointProxy2 &spM, const DoubletsForMiddleSp::Proxy &bottomDoublet, DoubletsForMiddleSp::Subset &topDoublets, TripletTopCandidates &tripletTopCandidates) const =0
 Create triplets from the bottom, middle, and top space points.
virtual void createTripletTopCandidates (const SpacePointContainer2 &spacePoints, const ConstSpacePointProxy2 &spM, const DoubletsForMiddleSp::Proxy &bottomDoublet, DoubletsForMiddleSp::Subset2 &topDoublets, TripletTopCandidates &tripletTopCandidates) const =0
 Create triplets from the bottom, middle, and top space points.

Static Public Member Functions

static std::unique_ptr< TripletSeedFindercreate (const DerivedConfig &config)
 Creates a new triplet seed finder instance given the configuration.

Detailed Description

Interface and a collection of standard implementations for a triplet seed finder.

Note
The standard implementations rely on virtual function dispatch which did not turn out to affect the performance after measurement.

Constructor & Destructor Documentation

◆ ~TripletSeedFinder()

virtual Acts::TripletSeedFinder::~TripletSeedFinder ( )
virtualdefault

Member Function Documentation

◆ config()

virtual const DerivedConfig & Acts::TripletSeedFinder::config ( ) const
pure virtual

Returns the configuration of the triplet seed finder.

Returns
Reference to the configuration object

◆ create()

std::unique_ptr< TripletSeedFinder > Acts::TripletSeedFinder::create ( const DerivedConfig & config)
static

Creates a new triplet seed finder instance given the configuration.

Parameters
configConfiguration for the triplet seed finder
Returns
Unique pointer to new TripletSeedFinder instance

◆ createTripletTopCandidates() [1/3]

virtual void Acts::TripletSeedFinder::createTripletTopCandidates ( const SpacePointContainer2 & spacePoints,
const ConstSpacePointProxy2 & spM,
const DoubletsForMiddleSp::Proxy & bottomDoublet,
DoubletsForMiddleSp::Range & topDoublets,
TripletTopCandidates & tripletTopCandidates ) const
pure virtual

Create triplets from the bottom, middle, and top space points.

Parameters
spacePointsSpace point container
spMSpace point candidate to be used as middle SP in a seed
bottomDoubletBottom doublet to be used for triplet creation
topDoubletsTop doublets to be used for triplet creation
tripletTopCandidatesCache for triplet top candidates

◆ createTripletTopCandidates() [2/3]

virtual void Acts::TripletSeedFinder::createTripletTopCandidates ( const SpacePointContainer2 & spacePoints,
const ConstSpacePointProxy2 & spM,
const DoubletsForMiddleSp::Proxy & bottomDoublet,
DoubletsForMiddleSp::Subset & topDoublets,
TripletTopCandidates & tripletTopCandidates ) const
pure virtual

Create triplets from the bottom, middle, and top space points.

Parameters
spacePointsSpace point container
spMSpace point candidate to be used as middle SP in a seed
bottomDoubletBottom doublet to be used for triplet creation
topDoubletsTop doublets to be used for triplet creation
tripletTopCandidatesCache for triplet top candidates

◆ createTripletTopCandidates() [3/3]

virtual void Acts::TripletSeedFinder::createTripletTopCandidates ( const SpacePointContainer2 & spacePoints,
const ConstSpacePointProxy2 & spM,
const DoubletsForMiddleSp::Proxy & bottomDoublet,
DoubletsForMiddleSp::Subset2 & topDoublets,
TripletTopCandidates & tripletTopCandidates ) const
pure virtual

Create triplets from the bottom, middle, and top space points.

Parameters
spacePointsSpace point container
spMSpace point candidate to be used as middle SP in a seed
bottomDoubletBottom doublet to be used for triplet creation
topDoubletsTop doublets to be used for triplet creation
tripletTopCandidatesCache for triplet top candidates