Project
Loading...
Searching...
No Matches
ROBoardConfig.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
16#ifndef O2_MID_ROBOARDCONFIG_H
17#define O2_MID_ROBOARDCONFIG_H
18
19#include <cstdint>
21
22namespace o2
23{
24namespace mid
25{
27 uint32_t configWord = 0; // Readout board config word
28 uint8_t boardId{0}; // Board ID
29 std::array<uint16_t, 4> masksBP{}; // Bending plane mask
30 std::array<uint16_t, 4> masksNBP{}; // Non-bending plane mask
31};
32
33std::ostream& operator<<(std::ostream& os, const ROBoardConfig& cfg);
34
35namespace crateconfig
36{
37static constexpr uint32_t sTxDataMask = 0x10000;
38static constexpr uint32_t sMonmoff = 0x2;
39static constexpr uint32_t sXorY = 0x400;
40} // namespace crateconfig
41
42} // namespace mid
43} // namespace o2
44
45#endif /* O2_MID_ROBOARDCONFIG_H */
Structure to store the readout board information.
std::ostream & operator<<(std::ostream &os, const Cluster &data)
Definition Cluster.cxx:27
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::array< uint16_t, 4 > masksNBP
std::array< uint16_t, 4 > masksBP