 |
Belle II Software
release-05-01-25
|
10 #include <tracking/ckf/svd/findlets/SpacePointLoader.h>
11 #include <tracking/trackFindingCDC/utilities/StringManipulation.h>
12 #include <tracking/spacePointCreation/SpacePoint.h>
14 #include <framework/core/ModuleParamList.templateDetails.h>
16 #include <tracking/ckf/general/utilities/ClassMnemomics.h>
30 "Use only already assigned hits",
33 m_storeArrayLoader.exposeParameters(moduleParamList, TrackFindingCDC::prefixed(prefix,
"hits"));
41 const auto hitIsNotAlreadyUsed = [](
const auto & hit) {
42 return not hit->getAssignmentState();
44 TrackFindingCDC::erase_remove_if(spacePoints, hitIsNotAlreadyUsed);
46 const auto hitIsAlreadyUsed = [](
const auto & hit) {
47 return hit->getAssignmentState();
49 TrackFindingCDC::erase_remove_if(spacePoints, hitIsAlreadyUsed);
52 B2DEBUG(50,
"Starting with " << spacePoints.size() <<
" hits.");
bool m_param_useAssignedHits
Use only already used hits.
SpacePointLoader()
Add the sub findlet as a listener.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
void addParameter(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module list.
Abstract base class for different kinds of events.
virtual void exposeParameters(ModuleParamList *moduleParamList __attribute__((unused)), const std::string &prefix __attribute__((unused)))
Forward prefixed parameters of this findlet to the module parameter list.
TrackFindingCDC::StoreArrayLoader< const SpacePoint > m_storeArrayLoader
Findlet for actually loading the hits.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
The Module parameter list class.
void apply(std::vector< const SpacePoint * > &spacePoints) final
Do the space point retrieval.