 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
23 class ModuleParamList;
27 template <
class AResult,
class ACluster>
28 class SpacePointTagger :
public TrackFindingCDC::Findlet<const AResult, const SpacePoint* const> {
30 using Super = TrackFindingCDC::Findlet<const AResult, const SpacePoint* const>;
37 void exposeParameters(ModuleParamList* moduleParamList,
const std::string& prefix)
override;
40 void apply(
const std::vector<AResult>& results,
41 const std::vector<const SpacePoint*>& spacePoints)
override;
void apply(const std::vector< AResult > &results, const std::vector< const SpacePoint * > &spacePoints) override
Mark all space points as used, that they share clusters if the given kind with the results.
std::set< const SpacePoint * > m_usedSpacePoints
Store the used space points in the results.
Abstract base class for different kinds of events.
bool m_param_singleClusterLevel
Parameter: Mark SP as used, if the share a single cluster with the results, or if they share a whole ...
TrackFindingCDC::Findlet< const AResult, const SpacePoint *const > Super
The parent class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the findlet.
void beginEvent() override
Clear the used clusters.
bool m_param_markUsedSpacePoints
Parameter: Mark used space points as assigned.
std::set< const ACluster * > m_usedClusters
Store the used clusters in the results.