ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::SeedFilter< external_spacepoint_t > Class Template Referencefinal

Filter seeds at various stages with the currently available information. More...

#include <Acts/Seeding/SeedFilter.hpp>

Public Member Functions

 SeedFilter (const SeedFilterConfig &config, IExperimentCuts< external_spacepoint_t > *expCuts=nullptr)
 Constructor with configuration and optional experimental cuts.
 SeedFilter (const SeedFilterConfig &config, std::unique_ptr< const Logger > logger, IExperimentCuts< external_spacepoint_t > *expCuts=nullptr)
 Constructor with configuration, logger, and optional experimental cuts.
template<typename collection_t>
void filterSeeds_1SpFixed (SpacePointMutableData &mutableData, CandidatesForMiddleSp< const external_spacepoint_t > &candidatesCollector, collection_t &outputCollection) const
 Filter seeds once all seeds for one middle space point have been created.
template<typename collection_t>
void filterSeeds_1SpFixed (SpacePointMutableData &mutableData, std::vector< typename CandidatesForMiddleSp< const external_spacepoint_t >::value_type > &candidates, const std::size_t numQualitySeeds, collection_t &outputCollection) const
 Filter seeds once all seeds for one middle space point have been created.
void filterSeeds_2SpFixed (const SpacePointMutableData &mutableData, const external_spacepoint_t &bottomSp, const external_spacepoint_t &middleSp, const std::vector< const external_spacepoint_t * > &topSpVec, const std::vector< float > &invHelixDiameterVec, const std::vector< float > &impactParametersVec, SeedFilterState &seedFilterState, CandidatesForMiddleSp< const external_spacepoint_t > &candidatesCollector) const
 Create Seeds for the all seeds with the same bottom and middle space point and discard all others.
const IExperimentCuts< external_spacepoint_t > * getExperimentCuts () const
 Get the experimental cuts pointer.
const SeedFilterConfig getSeedFilterConfig () const
 Get the seed filter configuration.

Detailed Description

template<typename external_spacepoint_t>
class Acts::SeedFilter< external_spacepoint_t >

Filter seeds at various stages with the currently available information.

Constructor & Destructor Documentation

◆ SeedFilter() [1/2]

template<typename external_spacepoint_t>
Acts::SeedFilter< external_spacepoint_t >::SeedFilter ( const SeedFilterConfig & config,
IExperimentCuts< external_spacepoint_t > * expCuts = nullptr )
explicit

Constructor with configuration and optional experimental cuts.

Parameters
configSeed filter configuration
expCutsOptional experimental cuts (defaults to nullptr)

◆ SeedFilter() [2/2]

template<typename external_spacepoint_t>
Acts::SeedFilter< external_spacepoint_t >::SeedFilter ( const SeedFilterConfig & config,
std::unique_ptr< const Logger > logger,
IExperimentCuts< external_spacepoint_t > * expCuts = nullptr )
explicit

Constructor with configuration, logger, and optional experimental cuts.

Parameters
configSeed filter configuration
loggerLogger for output messages
expCutsOptional experimental cuts (defaults to nullptr)

Member Function Documentation

◆ filterSeeds_1SpFixed() [1/2]

template<typename external_spacepoint_t>
template<typename collection_t>
void Acts::SeedFilter< external_spacepoint_t >::filterSeeds_1SpFixed ( SpacePointMutableData & mutableData,
CandidatesForMiddleSp< const external_spacepoint_t > & candidatesCollector,
collection_t & outputCollection ) const

Filter seeds once all seeds for one middle space point have been created.

Parameters
mutableDataContainer for mutable variables used in the seeding
candidatesCollectorcollection of seed candidates
outputCollectionOutput container for the seeds for all seeds with the same middle space point

◆ filterSeeds_1SpFixed() [2/2]

template<typename external_spacepoint_t>
template<typename collection_t>
void Acts::SeedFilter< external_spacepoint_t >::filterSeeds_1SpFixed ( SpacePointMutableData & mutableData,
std::vector< typename CandidatesForMiddleSp< const external_spacepoint_t >::value_type > & candidates,
const std::size_t numQualitySeeds,
collection_t & outputCollection ) const

Filter seeds once all seeds for one middle space point have been created.

Parameters
mutableDataContainer for mutable variables used in the seeding
candidatescollection of seed candidates
numQualitySeedsnumber of high quality seeds in seed confirmation
outputCollectionOutput container for the seeds for all seeds with the same middle space point

◆ filterSeeds_2SpFixed()

template<typename external_spacepoint_t>
void Acts::SeedFilter< external_spacepoint_t >::filterSeeds_2SpFixed ( const SpacePointMutableData & mutableData,
const external_spacepoint_t & bottomSp,
const external_spacepoint_t & middleSp,
const std::vector< const external_spacepoint_t * > & topSpVec,
const std::vector< float > & invHelixDiameterVec,
const std::vector< float > & impactParametersVec,
SeedFilterState & seedFilterState,
CandidatesForMiddleSp< const external_spacepoint_t > & candidatesCollector ) const

Create Seeds for the all seeds with the same bottom and middle space point and discard all others.

Parameters
mutableDataContainer for mutable variables used in the seeding
bottomSpfixed bottom space point
middleSpfixed middle space point
topSpVecvector containing all space points that may be compatible with both bottom and middle space point
invHelixDiameterVecvector containing 1/(2*r) values where r is the helix radius
impactParametersVecvector containing the impact parameters
seedFilterStateholds quantities used in seed filter
candidatesCollectorcontainer for the seed candidates

◆ getExperimentCuts()

template<typename external_spacepoint_t>
const IExperimentCuts< external_spacepoint_t > * Acts::SeedFilter< external_spacepoint_t >::getExperimentCuts ( ) const

Get the experimental cuts pointer.

Returns
Pointer to experimental cuts (may be nullptr)

◆ getSeedFilterConfig()

template<typename external_spacepoint_t>
const SeedFilterConfig Acts::SeedFilter< external_spacepoint_t >::getSeedFilterConfig ( ) const

Get the seed filter configuration.

Returns
Copy of the seed filter configuration