 |
Belle II Software
release-05-01-25
|
11 #include "tracking/modules/trackSetEvaluatorVXD/VXDTrackCandidatesQualityIndicatorCutterModule.h"
17 REG_MODULE(VXDTrackCandidatesQualityIndicatorCutter)
21 setDescription(
"Module that selects a subset out of all SpacePointTrackCandidates. Based on qualityIndicator requirement.");
23 addParam(
"NameSpacePointTrackCands", m_nameSpacePointTrackCands,
"Name of expected StoreArray.", std::string(
""));
24 addParam(
"minRequiredQuality", m_minRequiredQuality,
"Minimum value of qualityIndicator to keep candidate active.",
float(0));
25 addParam(
"SubsetCreation", m_subsetCreation,
26 "If True copy selected SpacePoints to new StoreArray, if False deactivate remaining SpacePoints.",
bool(
false));
27 addParam(
"NewNameSpacePointTrackCands", m_newNameSpacePointTrackCands,
28 "Only required if 'CreateNewStoreArray' is true. Name of StoreArray to store the subset. If the target name is equal to the source candidates not matching the selection criteria are deleted.",
29 std::string(
"BestSpacePointTrackCands"));
void event() override final
Application of the cut.
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
StoreArray for input SpacePointTrackCands.
SelectSubset< SpacePointTrackCand > m_goodCandidates
SubsetSelector operating on a custom selection criteria.
std::string m_newNameSpacePointTrackCands
Name of optional output StoreArray containing SpacePointTrackCands.
double getQualityIndicator() const
returns the current status of the estimated quality of this track candidate.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
void deactivateCandidates()
Don't copy/delete candidates but rather deactivate them by setting a SpacePointTrackCandidate flag.
void selectSubset()
Copy or delete candidates to achieve a subset creation.
Module that selects a subset with a fixed minimum qualityIndicator out of all SpacePointTrackCandidat...
bool m_subsetCreation
If True copy selected SpacePointTrackCands to new StoreArray, If False deactivate remaining SpacePoin...
@ c_isActive
bit 11: SPTC is active (i.e.
void initialize() override final
Requires SpacePointTrackCands.
Abstract base class for different kinds of events.
float m_minRequiredQuality
selection criteria
std::string m_nameSpacePointTrackCands
Name of input StoreArray containing SpacePointTrackCands.
Storage for (VXD) SpacePoint-based track candidates.