Struct Acts::Cuda::TripletFilterConfig¶
-
struct Acts::Cuda::TripletFilterConfig
Structure holding pointers to the user defined filter functions.
Public Types
-
typedef float (*seedWeightFunc_t)(const Details::SpacePoint&, const Details::SpacePoint&, const Details::SpacePoint&)
Type for the seed weighting functions.
-
typedef bool (*singleSeedCutFunc_t)(float, const Details::SpacePoint&, const Details::SpacePoint&, const Details::SpacePoint&)
Type for the seed filtering functions.
Public Members
-
seedWeightFunc_t seedWeight = nullptr
Pointer to a function assigning weights to seed candidates.
The function receives the bottom, middle and top spacepoints (in this order), and needs to return a float weight for the combination.
Note that you can not set this pointer directly. You must use
cudaMemcpyFromSymbol
to set it from a globalfunction pointer.
-
singleSeedCutFunc_t singleSeedCut = nullptr
Pointer to a function filtering seed candidates.
The function receives a previously assigned “seed weight”, and references to the bottom, middle and top spacepoints (in this order). It needs to return an accept/reject decision for the combination.
Note that you can not set this pointer directly. You must use
cudaMemcpyFromSymbol
to set it from a globalfunction pointer.
-
typedef float (*seedWeightFunc_t)(const Details::SpacePoint&, const Details::SpacePoint&, const Details::SpacePoint&)