Template Class IExperimentCuts¶
Defined in File IExperimentCuts.hpp
Class Documentation¶
-
template<typename
SpacePoint
>
classActs
::
IExperimentCuts
¶ 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.
Public Functions
-
~IExperimentCuts
() = default¶
-
std::vector<std::pair<float, std::unique_ptr<const InternalSeed<SpacePoint>>>>
cutPerMiddleSP
(std::vector<std::pair<float, std::unique_ptr<const InternalSeed<SpacePoint>>>> seeds) const = 0¶ - Return
vector of seeds that pass the cut
- Parameters
seeds
: contains pairs of weight and seed created for one middle space point
-
float
seedWeight
(const InternalSpacePoint<SpacePoint> &bottom, const InternalSpacePoint<SpacePoint> &middle, const InternalSpacePoint<SpacePoint> &top) const = 0¶ Returns seed weight bonus/malus depending on detector considerations.
- Return
seed weight to be added to the seed’s weight
- Parameters
bottom
: bottom space point of the current seedmiddle
: middle space point of the current seedtop
: top space point of the current seed
-
bool
singleSeedCut
(float weight, const InternalSpacePoint<SpacePoint> &bottom, const InternalSpacePoint<SpacePoint> &middle, const InternalSpacePoint<SpacePoint> &top) const = 0¶ - Return
true if the seed should be kept, false if the seed should be discarded
- Parameters
weight
: the current seed weightbottom
: bottom space point of the current seedmiddle
: middle space point of the current seedtop
: top space point of the current seed
-