Belle II Software development
EKLMDataCheckerModule.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/* KLM headers. */
12#include <klm/dataobjects/KLMDigit.h>
13#include <klm/eklm/geometry/GeometryData.h>
14
15/* Basf2 headers. */
16#include <framework/core/Module.h>
17#include <framework/datastore/StoreArray.h>
18
19/* C++ headers. */
20#include <map>
21
22namespace Belle2 {
32
33 public:
34
38 struct StripData {
39 int strip;
40 int nDigits;
42 };
43
48
53
57 void initialize() override;
58
62 void beginRun() override;
63
67 void event() override;
68
72 void endRun() override;
73
77 void terminate() override;
78
79 private:
80
83
86
89
91 std::map<int, struct StripData> m_StripDataMap;
92
93 };
94
96}
Module for checking of collected data.
const EKLM::GeometryData * m_GeoDat
Geometry data.
StoreArray< KLMDigit > m_Digits
Digits.
void initialize() override
Initializer.
std::map< int, struct StripData > m_StripDataMap
Map of strip data information.
void event() override
This method is called for each event.
void endRun() override
This method is called if the current run ends.
void terminate() override
This method is called at the end of the event processing.
void beginRun() override
Called when entering a new run.
const EKLMElementNumbers * m_ElementNumbers
Element numbers.
EKLM element numbers.
EKLM geometry data.
Definition: GeometryData.h:38
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.
int nBadDigits
Number of digits with readout error.