Belle II Software development
WireHitBackgroundBlocker.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
12#include <vector>
13#include <string>
14
15namespace Belle2 {
21 namespace TrackFindingCDC {
22 class CDCWireHit;
23
25 class WireHitBackgroundBlocker : public Findlet<CDCWireHit&> {
26
27 private:
30
31 public:
33 std::string getDescription() final;
34
36 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
37
39 void apply(std::vector<CDCWireHit>& wireHits) final;
40
41 private:
44
47 };
48 }
50}
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 simple heuristics.
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
double m_param_noiseChargeDeposit
Parameter : Threshold below, which hits are consider electronic noise background.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
bool m_param_blockNegativeDriftLength
Parameter : Switch to drop negative drift lengths from the created wire hits.
Abstract base class for different kinds of events.
STL namespace.