Belle II Software development
ARICHAsicChannelMask.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#include <vector>
12
13namespace Belle2 {
21 class ARICHAsicChannelMask: public TObject {
22 public:
23
27 enum {c_Size = 18,
28 };
29
34 {
35 for (unsigned i = 0; i < c_Size; i++)
36 m_mask[i] = 0;
37 };
38
42 explicit ARICHAsicChannelMask(unsigned char* mask)
43 {
44 for (unsigned i = 0; i < c_Size; i++)
45 m_mask[i] = mask[i];
46 };
47
52
53
54 private:
55 unsigned char m_mask[c_Size];
59 };
61} // end namespace Belle2
ARICHAsicChannelMask(unsigned char *mask)
Constructor.
unsigned char m_mask[c_Size]
FPGA bitfile.
ARICHAsicChannelMask()
Default constructor.
ClassDef(ARICHAsicChannelMask, 1)
ClassDef.
@ c_Size
storage size in bytes 4*36 channels / 8 bits
Abstract base class for different kinds of events.