Belle II Software release-09-00-11
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#pragma once
9
10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11#include <vector>
12#include <string>
13
14
15namespace Belle2 {
21 namespace TrackFindingCDC {
22 class CDCWireHit;
23
25 class BadBoardADCDetector : public Findlet<CDCWireHit&> {
26
27 private:
30
31 public:
34
36 std::string getDescription() final;
37
39 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
40
42 void apply(std::vector<CDCWireHit>& wireHits) final;
43
44 private:
45
48
51 };
52 }
54}
The Module parameter list class.
Marks hits as background based on the result of a filter.
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
int m_badTOTaverageMin
Min TOT value for the average.
int m_badADCaverageMin
Min ADC value for the average.
std::string getDescription() final
Short description of the findlet.
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:55
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Abstract base class for different kinds of events.
STL namespace.