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/trackFindingCDC/findlets/base/Findlet.h>
11#include <tracking/trackFindingCDC/filters/wireHit/ChooseableWireHitFilter.h>
12#include <vector>
13#include <string>
14
15
16namespace Belle2 {
22 namespace TrackFindingCDC {
23 class CDCWireHit;
24
26 class WireHitBackgroundDetector : public Findlet<CDCWireHit&> {
27
28 private:
31
32 public:
35
37 std::string getDescription() final;
38
40 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
41
43 void apply(std::vector<CDCWireHit>& wireHits) final;
44
45 private:
46
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.
STL namespace.