Belle II Software development
ARICHHapdMask.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#include <TObject.h>
11
12namespace Belle2 {
20
21 class ARICHHapdMask: public TObject {
22 public:
26 enum {c_Size = 54,
27 };
28
33 {
34 for (unsigned i = 0; i < c_Size; i++)
35 m_mask[i] = 0;
36 };
37
41 explicit ARICHHapdMask(unsigned char* mask)
42 {
43 for (unsigned i = 0; i < c_Size; i++)
44 m_mask[i] = mask[i];
45 };
46
51
52
53 private:
54 unsigned char m_mask[c_Size];
55
57 };
58
59} // end namespace Belle2
60
ClassDef(ARICHHapdMask, 1)
ClassDef.
ARICHHapdMask()
Default constructor.
unsigned char m_mask[c_Size]
mask 1 bit per sensor
~ARICHHapdMask()
Destructor.
@ c_Size
storage size in bytes 420 sensors / 8 bits
ARICHHapdMask(unsigned char *mask)
Constructor.
Abstract base class for different kinds of events.