Belle II Software  release-05-01-25
WireHitBackgroundDetector.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost, Cyrille Praz *
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 #include <tracking/trackFindingCDC/filters/wireHit/ChooseableWireHitFilter.h>
14 #include <vector>
15 #include <string>
16 
17 namespace Belle2 {
23  namespace TrackFindingCDC {
24  class CDCWireHit;
25 
27  class WireHitBackgroundDetector : public Findlet<CDCWireHit&> {
28 
29  private:
31  using Super = Findlet<CDCWireHit&>;
32 
33  public:
36 
38  std::string getDescription() final;
39 
41  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
42 
44  void apply(std::vector<CDCWireHit>& wireHits) final;
45 
46  private:
47 
50 
51  };
52  }
54 }
Belle2::TrackFindingCDC::WireHitBackgroundDetector::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: WireHitBackgroundDetector.cc:32
Belle2::TrackFindingCDC::ChooseableFilter< WireHitFilterFactory >
Belle2::TrackFindingCDC::WireHitBackgroundDetector::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: WireHitBackgroundDetector.cc:27
Belle2::TrackFindingCDC::WireHitBackgroundDetector::m_wireHitFilter
ChooseableWireHitFilter m_wireHitFilter
Chooseable WireHit filter to be used to filter background.
Definition: WireHitBackgroundDetector.h:57
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::WireHitBackgroundDetector::apply
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
Definition: WireHitBackgroundDetector.cc:38
Belle2::TrackFindingCDC::WireHitBackgroundDetector::WireHitBackgroundDetector
WireHitBackgroundDetector()
Default constructor.
Definition: WireHitBackgroundDetector.cc:21
Belle2::TrackFindingCDC::WireHitBackgroundDetector::Super
Findlet< CDCWireHit & > Super
Type of the base class.
Definition: WireHitBackgroundDetector.h:39
Belle2::TrackFindingCDC::CDCWireHit
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:65
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46