Belle II Software  release-05-02-19
TOPChannelMaskCollectorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2021 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Marko Staric *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <calibration/CalibrationCollectorModule.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <top/dataobjects/TOPDigit.h>
16 #include <vector>
17 #include <string>
18 
19 namespace Belle2 {
31  class TOPChannelMaskCollectorModule : public CalibrationCollectorModule {
32 
33  public:
38 
39  private:
40 
44  virtual void prepare() final;
45 
49  virtual void collect() final;
50 
51  // collections
54  // other
55  std::vector<std::string> m_names;
56  std::vector<std::string> m_asicNames;
58  };
59 
61 } // end namespace Belle2
62 
Belle2::TOPChannelMaskCollectorModule::prepare
virtual void prepare() final
Replacement for initialize().
Definition: TOPChannelMaskCollectorModule.cc:41
Belle2::TOPChannelMaskCollectorModule::TOPChannelMaskCollectorModule
TOPChannelMaskCollectorModule()
Constructor.
Definition: TOPChannelMaskCollectorModule.cc:33
Belle2::TOPChannelMaskCollectorModule::m_names
std::vector< std::string > m_names
histogram names: channel occupancies
Definition: TOPChannelMaskCollectorModule.h:63
Belle2::TOPDigit
Class to store TOP digitized hits (output of TOPDigitizer or raw data unpacker) relations to TOPSimHi...
Definition: TOPDigit.h:34
Belle2::TOPChannelMaskCollectorModule::m_digits
StoreArray< TOPDigit > m_digits
collection of TOP digits
Definition: TOPChannelMaskCollectorModule.h:60
Belle2::TOPChannelMaskCollectorModule::m_asicNames
std::vector< std::string > m_asicNames
histogram names: window vs.
Definition: TOPChannelMaskCollectorModule.h:64
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TOPChannelMaskCollectorModule::collect
virtual void collect() final
Replacement for event().
Definition: TOPChannelMaskCollectorModule.cc:72
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33