Belle II Software  release-05-02-19
ClusterBackgroundDetector.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13 
14 #include <tracking/trackFindingCDC/filters/cluster/ChooseableClusterFilter.h>
15 
16 #include <vector>
17 #include <string>
18 
19 namespace Belle2 {
26  namespace TrackFindingCDC {
27  class CDCWireHitCluster;
28 
30  class ClusterBackgroundDetector : public Findlet<CDCWireHitCluster&> {
31 
32  private:
34  using Super = Findlet<CDCWireHitCluster&>;
35 
36  public:
39 
41  std::string getDescription() final;
42 
44  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
45 
47  void apply(std::vector<CDCWireHitCluster>& outputClusters) final;
48 
49  private:
52  };
53  }
55 }
Belle2::TrackFindingCDC::ClusterBackgroundDetector::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: ClusterBackgroundDetector.cc:26
Belle2::TrackFindingCDC::ChooseableFilter< ClusterFilterFactory >
Belle2::TrackFindingCDC::ClusterBackgroundDetector::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: ClusterBackgroundDetector.cc:31
Belle2::TrackFindingCDC::ClusterBackgroundDetector::apply
void apply(std::vector< CDCWireHitCluster > &outputClusters) final
Main algorithm applying the cluster background detection.
Definition: ClusterBackgroundDetector.cc:37
Belle2::TrackFindingCDC::ClusterBackgroundDetector::ClusterBackgroundDetector
ClusterBackgroundDetector()
Constructor adding the filter as a subordinary processing signal listener.
Definition: ClusterBackgroundDetector.cc:21
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::CDCWireHitCluster
An aggregation of CDCWireHits.
Definition: CDCWireHitCluster.h:31
Belle2::TrackFindingCDC::ClusterBackgroundDetector::m_clusterFilter
ChooseableClusterFilter m_clusterFilter
Chooseable cluster filter to be used to filter background.
Definition: ClusterBackgroundDetector.h:59
Belle2::TrackFindingCDC::ClusterBackgroundDetector::Super
Findlet< CDCWireHitCluster & > Super
Type of the base class.
Definition: ClusterBackgroundDetector.h:42
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46