Belle II Software  release-08-01-10
ClusterBackgroundDetector.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #pragma once
9 
10 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11 
12 #include <tracking/trackFindingCDC/filters/cluster/ChooseableClusterFilter.h>
13 
14 #include <vector>
15 #include <string>
16 
17 namespace Belle2 {
24  namespace TrackFindingCDC {
25  class CDCWireHitCluster;
26 
28  class ClusterBackgroundDetector : public Findlet<CDCWireHitCluster&> {
29 
30  private:
33 
34  public:
37 
39  std::string getDescription() final;
40 
42  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
43 
45  void apply(std::vector<CDCWireHitCluster>& outputClusters) final;
46 
47  private:
50  };
51  }
53 }
The Module parameter list class.
Marks clusters as background based on a background measure.
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.
void apply(std::vector< CDCWireHitCluster > &outputClusters) final
Main algorithm applying the cluster background detection.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Abstract base class for different kinds of events.