File TripletFilterConfig.hpp

namespace Acts

Set the Geometry Context PLUGIN.

Set the Calibration Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.

Set the Mangetic Field Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.

Currently implemented for the two most common formats: rz and xyz.

namespace Cuda
struct TripletFilterConfig
#include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v16.0.0/Plugins/Cuda/include/Acts/Plugins/Cuda/Seeding2/TripletFilterConfig.hpp>

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 global function 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 global function pointer.