Belle II Software development
WireHitBackgroundDetector.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#include <tracking/trackFindingCDC/filters/wireHit/ChooseableWireHitFilter.h>
12#include <vector>
13#include <string>
14
15
16namespace Belle2 {
21
22 namespace TrackingUtilities {
23 class CDCWireHit;
24 }
25
26 namespace TrackFindingCDC {
27
29 class WireHitBackgroundDetector : public TrackingUtilities::Findlet<TrackingUtilities::CDCWireHit&> {
30
31 private:
34
35 public:
38
40 std::string getDescription() final;
41
43 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
44
46 void apply(std::vector<TrackingUtilities::CDCWireHit>& wireHits) final;
47
48 private:
49
51 ChooseableWireHitFilter m_wireHitFilter;
52 };
53 }
55}
The Module parameter list class.
std::string getDescription() final
Short description of the findlet.
ChooseableWireHitFilter m_wireHitFilter
Chooseable WireHit filter to be used to filter background.
void apply(std::vector< TrackingUtilities::CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
TrackingUtilities::Findlet< TrackingUtilities::CDCWireHit & > Super
Type of the base class.
Class representing a hit wire in the central drift chamber.
Definition CDCWireHit.h:58
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.