Belle II Software development
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/trackingUtilities/findlets/base/Findlet.h>
11
12#include <tracking/trackFindingCDC/filters/cluster/ChooseableClusterFilter.h>
13
14#include <vector>
15#include <string>
16
17namespace Belle2 {
22
23
24 namespace TrackingUtilities {
26 }
27 namespace TrackFindingCDC {
28
30 class ClusterBackgroundDetector : public TrackingUtilities::Findlet<TrackingUtilities::CDCWireHitCluster&> {
31
32 private:
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<TrackingUtilities::CDCWireHitCluster>& outputClusters) final;
48
49 private:
51 ChooseableClusterFilter m_clusterFilter;
52 };
53 }
55}
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.
TrackingUtilities::Findlet< TrackingUtilities::CDCWireHitCluster & > Super
Type of the base class.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
STL class.
Abstract base class for different kinds of events.
STL namespace.