Belle II Software  release-05-02-19
KLMChannelStatusCollectorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Kirill Chilikin *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 /* KLM headers. */
14 #include <klm/dataobjects/KLMDigit.h>
15 #include <klm/dataobjects/KLMChannelArrayIndex.h>
16 #include <klm/dataobjects/KLMChannelMapValue.h>
17 #include <klm/dataobjects/KLMElementNumbers.h>
18 
19 /* Belle 2 headers. */
20 #include <calibration/CalibrationCollectorModule.h>
21 #include <framework/datastore/StoreArray.h>
22 #include <framework/datastore/StoreObjPtr.h>
23 
24 namespace Belle2 {
33  class KLMChannelStatusCollectorModule :
34  public CalibrationCollectorModule {
35 
36  public:
37 
42 
47 
51  void prepare() override;
52 
56  void collect() override;
57 
61  void closeRun() override;
62 
67  void collectFromDQM(const char* dqmFile);
68 
69  private:
70 
73 
76 
79 
82 
83  };
84 
86 }
Belle2::KLMChannelStatusCollectorModule::collect
void collect() override
This method is called for each event.
Definition: KLMChannelStatusCollectorModule.cc:51
Belle2::KLMChannelStatusCollectorModule::collectFromDQM
void collectFromDQM(const char *dqmFile)
Collection of data from DQM modules.
Definition: KLMChannelStatusCollectorModule.cc:82
Belle2::KLMChannelStatusCollectorModule::m_HitMap
StoreObjPtr< KLMChannelMapValue< unsigned int > > m_HitMap
Hit map.
Definition: KLMChannelStatusCollectorModule.h:89
Belle2::KLMChannelStatusCollectorModule::m_ElementNumbers
const KLMElementNumbers * m_ElementNumbers
Element numbers.
Definition: KLMChannelStatusCollectorModule.h:80
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::KLMChannelStatusCollectorModule::closeRun
void closeRun() override
This method is called at the end of run.
Definition: KLMChannelStatusCollectorModule.cc:65
Belle2::KLMChannelStatusCollectorModule::m_ChannelArrayIndex
const KLMChannelArrayIndex * m_ChannelArrayIndex
KLM channel array index.
Definition: KLMChannelStatusCollectorModule.h:83
Belle2::KLMChannelStatusCollectorModule::prepare
void prepare() override
Initializer.
Definition: KLMChannelStatusCollectorModule.cc:41
Belle2::KLMChannelStatusCollectorModule::m_KLMDigits
StoreArray< KLMDigit > m_KLMDigits
KLM digits.
Definition: KLMChannelStatusCollectorModule.h:86
Belle2::KLMChannelStatusCollectorModule::KLMChannelStatusCollectorModule
KLMChannelStatusCollectorModule()
Constructor.
Definition: KLMChannelStatusCollectorModule.cc:27
Belle2::KLMElementNumbers
KLM element numbers.
Definition: KLMElementNumbers.h:37
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::KLMChannelStatusCollectorModule::~KLMChannelStatusCollectorModule
~KLMChannelStatusCollectorModule()
Destructor.
Definition: KLMChannelStatusCollectorModule.cc:37
Belle2::KLMChannelArrayIndex
KLM channel array index.
Definition: KLMChannelArrayIndex.h:33