Belle II Software  release-08-01-10
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/trackFindingCDC/findlets/base/Findlet.h>
11 #include <tracking/trackFindingCDC/filters/wireHit/ChooseableWireHitFilter.h>
12 #include <vector>
13 #include <string>
14 
15 namespace Belle2 {
21  namespace TrackFindingCDC {
22  class CDCWireHit;
23 
25  class WireHitBackgroundDetector : public Findlet<CDCWireHit&> {
26 
27  private:
30 
31  public:
34 
36  std::string getDescription() final;
37 
39  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
40 
42  void apply(std::vector<CDCWireHit>& wireHits) final;
43 
44  private:
45 
48 
49  };
50  }
52 }
The Module parameter list class.
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Marks hits as background based on the result of a filter.
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
std::string getDescription() final
Short description of the findlet.
ChooseableWireHitFilter m_wireHitFilter
Chooseable WireHit filter to be used to filter background.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Abstract base class for different kinds of events.