 |
Belle II Software
release-05-01-25
|
11 #include "../include/PXDSVDCutModule.h"
23 setDescription(
"The module to deactivate the SpacePointTrackCandidates with less than *minSVDSPs* SVD SpacePoints.");
24 setPropertyFlags(c_ParallelProcessingCertified);
26 addParam(
"minSVDSPs", m_minSVDSPs,
27 "Minimum number of SVD SpacePoints to keep a SpacePointTrackCandidate",
int(3));
29 addParam(
"SpacePointTrackCandsStoreArrayName", m_SpacePointTrackCandsStoreArrayName,
30 "Name of StoreArray containing the SpacePointTrackCandidates to be estimated.", std::string(
""));
43 const std::vector<const Belle2::SpacePoint*> sorted_spacepoints = aTC.getSortedHits();
44 int n_svd_spacepoints = 0;
46 for (
auto& spacepoint : sorted_spacepoints)
void initialize() override
Initializes the Module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
@ c_isActive
bit 11: SPTC is active (i.e.
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
the storeArray for SpacePointTrackCands as member, is faster than recreating link for each event
void event() override
Applies the selected quality estimation method for a given set of TCs.
Abstract base class for different kinds of events.
std::string m_SpacePointTrackCandsStoreArrayName
sets the name of the expected StoreArray containing SpacePointTrackCands
int m_minSVDSPs
Minimum number of SVD SpacePointss to keep a SpacePointTrackCandidate.
The module to deactivate the SpacePointTrackCandidates with less than minSVDSPs SVD SpacePoints.
Storage for (VXD) SpacePoint-based track candidates.