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

ITripletSeedCuts can be used to increase or decrease seed weights based on the space points used in a seed. More...

#include <Acts/Seeding2/BroadTripletSeedFilter.hpp>

Public Member Functions

virtual ~ITripletSeedCuts ()=default
virtual void cutPerMiddleSp (std::span< TripletCandidate2 > &seedCandidates) const =0
virtual float seedWeight (const ConstSpacePointProxy2 &bottom, const ConstSpacePointProxy2 &middle, const ConstSpacePointProxy2 &top) const =0
 Returns seed weight bonus/malus depending on detector considerations.
virtual bool singleSeedCut (float weight, const ConstSpacePointProxy2 &bottom, const ConstSpacePointProxy2 &middle, const ConstSpacePointProxy2 &top) const =0

Detailed Description

ITripletSeedCuts can be used to increase or decrease seed weights based on the space points used in a seed.

Seed weights are also influenced by the SeedFilter default implementation. This tool is also used to decide if a seed passes a seed weight cut. As the weight is stored in seeds, there are two distinct methods.

Constructor & Destructor Documentation

◆ ~ITripletSeedCuts()

virtual Acts::ITripletSeedCuts::~ITripletSeedCuts ( )
virtualdefault

Member Function Documentation

◆ cutPerMiddleSp()

virtual void Acts::ITripletSeedCuts::cutPerMiddleSp ( std::span< TripletCandidate2 > & seedCandidates) const
pure virtual
Parameters
seedCandidatescontains collection of seed candidates created for one middle space point in a std::tuple format

◆ seedWeight()

virtual float Acts::ITripletSeedCuts::seedWeight ( const ConstSpacePointProxy2 & bottom,
const ConstSpacePointProxy2 & middle,
const ConstSpacePointProxy2 & top ) const
pure virtual

Returns seed weight bonus/malus depending on detector considerations.

Parameters
bottombottom space point of the current seed
middlemiddle space point of the current seed
toptop space point of the current seed
Returns
seed weight to be added to the seed's weight

◆ singleSeedCut()

virtual bool Acts::ITripletSeedCuts::singleSeedCut ( float weight,
const ConstSpacePointProxy2 & bottom,
const ConstSpacePointProxy2 & middle,
const ConstSpacePointProxy2 & top ) const
pure virtual
Parameters
weightthe current seed weight
bottombottom space point of the current seed
middlemiddle space point of the current seed
toptop space point of the current seed
Returns
true if the seed should be kept, false if the seed should be discarded