Belle II Software  release-05-01-25
WireHitBackgroundBlocker.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - 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 <vector>
15 #include <string>
16 
17 namespace Belle2 {
23  namespace TrackFindingCDC {
24  class CDCWireHit;
25 
27  class WireHitBackgroundBlocker : public Findlet<CDCWireHit&> {
28 
29  private:
31  using Super = Findlet<CDCWireHit&>;
32 
33  public:
35  std::string getDescription() final;
36 
38  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
39 
41  void apply(std::vector<CDCWireHit>& wireHits) final;
42 
43  private:
46 
48  double m_param_noiseChargeDeposit = 0;
49  };
50  }
52 }
Belle2::TrackFindingCDC::WireHitBackgroundBlocker::m_param_blockNegativeDriftLength
bool m_param_blockNegativeDriftLength
Parameter : Switch to drop negative drift lengths from the created wire hits.
Definition: WireHitBackgroundBlocker.h:53
Belle2::TrackFindingCDC::WireHitBackgroundBlocker::apply
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
Definition: WireHitBackgroundBlocker.cc:44
Belle2::TrackFindingCDC::WireHitBackgroundBlocker::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: WireHitBackgroundBlocker.cc:28
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::WireHitBackgroundBlocker::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: WireHitBackgroundBlocker.cc:23
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
Belle2::TrackFindingCDC::WireHitBackgroundBlocker::m_param_noiseChargeDeposit
double m_param_noiseChargeDeposit
Parameter : Threshold below, which hits are consider electronic noise background.
Definition: WireHitBackgroundBlocker.h:56
Belle2::TrackFindingCDC::WireHitBackgroundBlocker::Super
Findlet< CDCWireHit & > Super
Type of the base class.
Definition: WireHitBackgroundBlocker.h:39