Tool to store LATOME mon header and footer data.
More...
#include <Mon.h>
|
uint32_t | LATOMEID = 0U |
|
uint32_t | extendedL1ID = 0U |
|
uint32_t | headerMarker |
|
int | nPackets = 0 |
|
int | packetIndex = 0 |
|
int | packetSize = 0 |
|
uint32_t | debugMarker |
|
int | headerSize = MON_HEADER_SIZE |
|
int | region = 0 |
|
int | nStreams |
|
int | streamNumber |
|
std::array< int, 2 > | dataType {} |
|
std::array< int, 2 > | nBCs {} |
|
std::array< uint32_t, 2 > | timeShift {} |
|
int | nActiveSCs = 0 |
|
int | nthMONHWordPacketDetermined = 3 |
|
std::array< uint32_t, MON_HEADER_SIZE > | headerRef = {0, 0, 0xFF1234FF, 0, 0xDEADBEEF, MON_HEADER_SIZE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} |
|
std::array< uint32_t, 2 > | trailerRef = {0xC0FFEE00, 0xAAAAAAAA} |
|
Tool to store LATOME mon header and footer data.
Definition at line 19 of file Mon.h.
◆ Mon()
◆ ~Mon()
◆ fillDataType()
void Mon::fillDataType |
( |
uint32_t |
word, |
|
|
int |
i |
|
) |
| |
Definition at line 47 of file Mon.cxx.
56 std::cout <<
"Unknown calorimeter region word in mon header.\n";
◆ fillHeaderSize()
void Mon::fillHeaderSize |
( |
uint32_t |
word | ) |
|
◆ fillNActiveSCs()
void Mon::fillNActiveSCs |
( |
uint32_t |
word | ) |
|
Definition at line 69 of file Mon.cxx.
71 if (
nActiveSCs !=
NACTIVESCS) std::cout <<
"Number of BCs word in mon header is not the standard one.\n";
◆ fillNBCs()
void Mon::fillNBCs |
( |
uint32_t |
word, |
|
|
int |
i |
|
) |
| |
Definition at line 60 of file Mon.cxx.
61 nBCs[
i] =
static_cast<int>(word);
62 if (
nBCs[
i] !=
NBCS) std::cout <<
"Number of BCs word in mon header is not the standard one.\n";
◆ fillNStreams()
void Mon::fillNStreams |
( |
uint32_t |
word | ) |
|
Definition at line 37 of file Mon.cxx.
39 if (
nStreams !=
NSTREAMS) std::cout <<
"Number of streams word in mon header is not the standard one.\n";
◆ fillPacketInfo()
void Mon::fillPacketInfo |
( |
uint32_t |
word | ) |
|
Definition at line 15 of file Mon.cxx.
16 nPackets =
static_cast<int>((word & 0xff000000) >> 24);
17 packetIndex =
static_cast<int>((word & 0xff0000) >> 16);
19 if (sizeInBytes % 4) std::cout <<
"ERROR: Packet size written in the mon header is not multiple of 4 (cannot be converted from [bytes] to [32 bit words])\n";
20 else packetSize =
static_cast<int>(sizeInBytes / 4);
◆ fillRegion()
void Mon::fillRegion |
( |
uint32_t |
word | ) |
|
Definition at line 23 of file Mon.cxx.
24 region =
static_cast<int>(word);
33 std::cout <<
"Unknown calorimeter region word in mon header.\n";
◆ fillStreamNumber()
void Mon::fillStreamNumber |
( |
uint32_t |
word | ) |
|
◆ fillTimeShift()
void Mon::fillTimeShift |
( |
uint32_t |
word, |
|
|
int |
i |
|
) |
| |
◆ dataType
std::array<int, 2> Mon::dataType {} |
Definition at line 45 of file Mon.h.
◆ debugMarker
uint32_t Mon::debugMarker |
Definition at line 40 of file Mon.h.
◆ extendedL1ID
uint32_t Mon::extendedL1ID = 0U |
Definition at line 35 of file Mon.h.
◆ headerMarker
uint32_t Mon::headerMarker |
Definition at line 36 of file Mon.h.
◆ headerRef
std::array<uint32_t, MON_HEADER_SIZE> Mon::headerRef = {0, 0, 0xFF1234FF, 0, 0xDEADBEEF, MON_HEADER_SIZE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} |
Definition at line 50 of file Mon.h.
◆ headerSize
Definition at line 41 of file Mon.h.
◆ LATOMEID
uint32_t Mon::LATOMEID = 0U |
Definition at line 34 of file Mon.h.
◆ nActiveSCs
Definition at line 48 of file Mon.h.
◆ nBCs
std::array<int, 2> Mon::nBCs {} |
Definition at line 46 of file Mon.h.
◆ nPackets
Definition at line 37 of file Mon.h.
◆ nStreams
Definition at line 43 of file Mon.h.
◆ nthMONHWordPacketDetermined
int Mon::nthMONHWordPacketDetermined = 3 |
Definition at line 49 of file Mon.h.
◆ packetIndex
Definition at line 38 of file Mon.h.
◆ packetSize
Definition at line 39 of file Mon.h.
◆ region
Definition at line 42 of file Mon.h.
◆ streamNumber
Definition at line 44 of file Mon.h.
◆ timeShift
std::array<uint32_t, 2> Mon::timeShift {} |
Definition at line 47 of file Mon.h.
◆ trailerRef
std::array<uint32_t, 2> Mon::trailerRef = {0xC0FFEE00, 0xAAAAAAAA} |
Definition at line 51 of file Mon.h.
The documentation for this class was generated from the following files: