 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/findlets/minimal/WireHitBackgroundDetector.h>
12 #include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
14 #include <framework/core/ModuleParamList.templateDetails.h>
19 using namespace TrackFindingCDC;
29 return "Marks hits as background based on the result of a filter.";
33 const std::string& prefix)
44 if (std::isnan(wireHitWeight)) {
45 wireHit->setBackgroundFlag();
46 wireHit->setTakenFlag();
47 wireHit->setBadADCOrTOTFlag();
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
std::string getDescription() final
Short description of the findlet.
ChooseableWireHitFilter m_wireHitFilter
Chooseable WireHit filter to be used to filter background.
Abstract base class for different kinds of events.
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
WireHitBackgroundDetector()
Default constructor.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the set of parameters of the filter to the module parameter list.
Class representing a hit wire in the central drift chamber.
The Module parameter list class.