8#include <tracking/trackFindingCDC/findlets/minimal/ClusterBackgroundDetector.h>
10#include <tracking/trackingUtilities/eventdata/segments/CDCWireHitCluster.h>
11#include <tracking/trackingUtilities/eventdata/hits/CDCWireHit.h>
17using namespace TrackFindingCDC;
18using namespace TrackingUtilities;
27 return "Marks clusters as background if the used filter detects them as such";
31 const std::string& prefix)
40 if (std::isnan(clusterWeight)) {
42 cluster.setBackgroundFlag(
true);
44 wireHit->getAutomatonCell().setBackgroundFlag();
45 wireHit->getAutomatonCell().setTakenFlag();
The Module parameter list class.
void apply(std::vector< TrackingUtilities::CDCWireHitCluster > &outputClusters) final
Main algorithm applying the cluster background detection.
ClusterBackgroundDetector()
Constructor adding the filter as a subordinary processing signal listener.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
ChooseableClusterFilter m_clusterFilter
Chooseable cluster filter to be used to filter background.
An aggregation of CDCWireHits.
Class representing a hit wire in the central drift chamber.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Abstract base class for different kinds of events.