Belle II Software development
BadBoardADCDetector.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
9#pragma once
10
11#include <tracking/trackingUtilities/findlets/base/Findlet.h>
12#include <tracking/trackingUtilities/eventdata/hits/CDCWireHit.h>
13#include <vector>
14#include <string>
15
16
17namespace Belle2 {
22
23 namespace TrackFindingCDC {
24
26 class BadBoardADCDetector : public TrackingUtilities::Findlet<TrackingUtilities::CDCWireHit&> {
27
28 private:
30 using Super = Findlet<TrackingUtilities::CDCWireHit&>;
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<TrackingUtilities::CDCWireHit>& wireHits) final;
44
45 private:
46
49
52 };
53 }
55}
The Module parameter list class.
int m_badTOTaverageMin
Min TOT value for the average.
Findlet< TrackingUtilities::CDCWireHit & > Super
Type of the base class.
int m_badADCaverageMin
Min ADC value for the average.
std::string getDescription() final
Short description of the findlet.
void apply(std::vector< TrackingUtilities::CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Class representing a hit wire in the central drift chamber.
Definition CDCWireHit.h:58
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
STL class.
Abstract base class for different kinds of events.
STL namespace.