File SeedFinderUtils.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
Functions
-
template<typename external_spacepoint_t>
LinCircle transformCoordinates(InternalSpacePoint<external_spacepoint_t> &sp, InternalSpacePoint<external_spacepoint_t> &spM, bool bottom)¶ Transform two spacepoints to a u-v space circle.
This function is a non-vectorized version of transformCoordinates.
- Template Parameters
external_spacepoint_t – The external spacepoint type.
- Parameters
sp – [in] The first spacepoint to use, either a bottom or top.
spM – [in] The middle spacepoint to use.
bottom – [in] Should be true if sp is a bottom SP.
-
template<typename external_spacepoint_t, typename callable_t>
LinCircle transformCoordinates(external_spacepoint_t &sp, external_spacepoint_t &spM, bool bottom, callable_t &&extractFunction)¶
-
template<typename external_spacepoint_t>
void transformCoordinates(std::vector<InternalSpacePoint<external_spacepoint_t>*> &vec, InternalSpacePoint<external_spacepoint_t> &spM, bool bottom, std::vector<LinCircle> &linCircleVec)¶ Transform a vector of spacepoints to u-v space circles with respect to a given middle spacepoint.
- Template Parameters
external_spacepoint_t – The external spacepoint type.
- Parameters
vec – [in] The list of bottom or top spacepoints
spM – [in] The middle spacepoint.
bottom – [in] Should be true if vec are bottom spacepoints.
linCircleVec – [out] The output vector to write to.
-
template<typename external_spacepoint_t, typename callable_t>
void transformCoordinates(std::vector<external_spacepoint_t*> &vec, external_spacepoint_t &spM, bool bottom, std::vector<LinCircle> &linCircleVec, callable_t &&extractFunction)¶
-
template<typename external_spacepoint_t, typename sp_range_t>
bool xyzCoordinateCheck(Acts::SeedfinderConfig<external_spacepoint_t> config, sp_range_t sp, const double *spacepointPosition, const float toleranceParam, double *outputCoordinates)¶ Check the compatibility of spacepoint coordinates in xyz assuming the Bottom-Middle direction with the strip meassument details.
- Template Parameters
external_spacepoint_t – The external spacepoint type.
sp_range_t – Container type for the space point collections.
- Parameters
config – [in] Seedfinder config containing the delegates to the strip measurement details.
sp – [in] Input space point used in the check.
spacepointPosition – [in] Spacepoint coordinates in xyz plane.
toleranceParam – [in] Parameter used to evaluate if spacepointPosition is inside the detector elements.
outputCoordinates – [out] The output vector to write to.
- Returns
Boolean that says if spacepoint is compatible with being inside the detector element.
-
struct LinCircle¶
- #include <Acts/Seeding/SeedFinderUtils.hpp>
A partial description of a circle in u-v space.
-
template<typename external_spacepoint_t>