Template Class SeedFilter¶
Defined in File SeedFilter.hpp
Class Documentation¶
-
template<typename
external_spacepoint_t
>
classActs
::
SeedFilter
¶ Filter seeds at various stages with the currently available information.
Public Functions
-
SeedFilter
(SeedFilterConfig config, IExperimentCuts<external_spacepoint_t> *expCuts = 0)¶
-
SeedFilter
() = delete¶
-
~SeedFilter
() = default¶
-
void
filterSeeds_1SpFixed
(std::vector<std::pair<float, std::unique_ptr<const InternalSeed<external_spacepoint_t>>>> &seedsPerSpM, std::vector<Seed<external_spacepoint_t>> &outVec) const¶ Filter seeds once all seeds for one middle space point have been created.
- Return
vector of all InternalSeeds that not filtered out
- Parameters
seedsPerSpM
: vector of pairs containing weight and seed for all for all seeds with the same middle space point
-
std::vector<std::pair<float, std::unique_ptr<const InternalSeed<external_spacepoint_t>>>>
filterSeeds_2SpFixed
(const InternalSpacePoint<external_spacepoint_t> &bottomSP, const InternalSpacePoint<external_spacepoint_t> &middleSP, std::vector<const InternalSpacePoint<external_spacepoint_t>*> &topSpVec, std::vector<float> &invHelixDiameterVec, std::vector<float> &impactParametersVec, float zOrigin) const¶ Create InternalSeeds for the all seeds with the same bottom and middle space point and discard all others.
- Return
vector of pairs containing seed weight and seed for all valid created seeds
- Parameters
bottomSP
: fixed bottom space pointmiddleSP
: fixed middle space pointtopSpVec
: vector containing all space points that may be compatible with both bottom and middle space pointorigin
: on the z axis as defined by bottom and middle space point
-
const IExperimentCuts<external_spacepoint_t> *
getExperimentCuts
() const¶
-
const SeedFilterConfig
getSeedFilterConfig
() const¶
-