9#include "../include/PXDSVDCutModule.h"
21 setDescription(
"The module to deactivate the SpacePointTrackCandidates with less than *minSVDSPs* SVD SpacePoints.");
25 "Minimum number of SVD SpacePoints to keep a SpacePointTrackCandidate",
int(3));
28 "Name of StoreArray containing the SpacePointTrackCandidates to be estimated.", std::string(
""));
41 const std::vector<const Belle2::SpacePoint*> sorted_spacepoints = aTC.getSortedHits();
42 int n_svd_spacepoints = 0;
44 for (
auto& spacepoint : sorted_spacepoints)
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
std::string m_SpacePointTrackCandsStoreArrayName
sets the name of the expected StoreArray containing SpacePointTrackCands
void initialize() override
Initializes the Module.
void event() override
Applies the selected quality estimation method for a given set of TCs.
int m_minSVDSPs
Minimum number of SVD SpacePointss to keep a SpacePointTrackCandidate.
PXDSVDCutModule()
Constructor of the module.
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
the storeArray for SpacePointTrackCands as member, is faster than recreating link for each event
Storage for (VXD) SpacePoint-based track candidates.
@ c_isActive
bit 11: SPTC is active (i.e.
bool isRequired(const std::string &name="")
Ensure this array/object has been registered previously.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.