ATLAS Offline Software
Mon.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
12 #ifndef MON_H
13 #define MON_H
14 #include <map>
16 
17 #define MON_HEADER_SIZE 18
18 
19 class Mon
20 {
21  public:
22  Mon();
23  ~Mon();
24  void fillPacketInfo(uint32_t word);
26  void fillRegion(uint32_t word);
27  void fillNStreams(uint32_t word);
28  void fillStreamNumber(uint32_t word);
29  void fillDataType(uint32_t word, int i);
30  void fillNBCs(uint32_t word, int i);
31  void fillTimeShift(uint32_t word, int i);
32  void fillNActiveSCs(uint32_t word);
33 
37  int nPackets = 0;
38  int packetIndex = 0;
39  int packetSize = 0;
42  int region = 0;
43  int nStreams;
45  std::array<int, 2> dataType{};
46  std::array<int, 2> nBCs{};
47  std::array<uint32_t, 2> timeShift{};
48  int nActiveSCs = 0;
50  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};
51  std::array<uint32_t, 2> trailerRef = {0xC0FFEE00, 0xAAAAAAAA};
52 };
53 
54 #endif // MON_H
Mon::fillHeaderSize
void fillHeaderSize(uint32_t word)
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
Mon::packetSize
int packetSize
Definition: Mon.h:39
Mon::fillNBCs
void fillNBCs(uint32_t word, int i)
Definition: Mon.cxx:60
Mon::Mon
Mon()
Definition: Mon.cxx:11
Mon::nthMONHWordPacketDetermined
int nthMONHWordPacketDetermined
Definition: Mon.h:49
Mon::region
int region
Definition: Mon.h:42
Mon::dataType
std::array< int, 2 > dataType
Definition: Mon.h:45
Mon::extendedL1ID
uint32_t extendedL1ID
Definition: Mon.h:35
MON_HEADER_SIZE
#define MON_HEADER_SIZE
Definition: Mon.h:17
Mon::fillStreamNumber
void fillStreamNumber(uint32_t word)
Definition: Mon.cxx:42
lumiFormat.i
int i
Definition: lumiFormat.py:85
Mon::nActiveSCs
int nActiveSCs
Definition: Mon.h:48
Mon::fillTimeShift
void fillTimeShift(uint32_t word, int i)
Definition: Mon.cxx:65
Mon::nBCs
std::array< int, 2 > nBCs
Definition: Mon.h:46
Mon::nStreams
int nStreams
Definition: Mon.h:43
Mon::headerMarker
uint32_t headerMarker
Definition: Mon.h:36
Mon::fillNStreams
void fillNStreams(uint32_t word)
Definition: Mon.cxx:37
Mon::debugMarker
uint32_t debugMarker
Definition: Mon.h:40
Mon::nPackets
int nPackets
Definition: Mon.h:37
Mon::timeShift
std::array< uint32_t, 2 > timeShift
Definition: Mon.h:47
Mon::fillNActiveSCs
void fillNActiveSCs(uint32_t word)
Definition: Mon.cxx:69
Mon::~Mon
~Mon()
Mon::fillPacketInfo
void fillPacketInfo(uint32_t word)
Definition: Mon.cxx:15
Mon::trailerRef
std::array< uint32_t, 2 > trailerRef
Definition: Mon.h:51
Mon::LATOMEID
uint32_t LATOMEID
Definition: Mon.h:34
Mon::fillDataType
void fillDataType(uint32_t word, int i)
Definition: Mon.cxx:47
Mon::headerRef
std::array< uint32_t, MON_HEADER_SIZE > headerRef
Definition: Mon.h:50
LArLATOMEDecoder.h
Byte stream converter of LATOME.
Mon::fillRegion
void fillRegion(uint32_t word)
Definition: Mon.cxx:23
Mon::streamNumber
int streamNumber
Definition: Mon.h:44
Mon::headerSize
int headerSize
Definition: Mon.h:41
Mon::packetIndex
int packetIndex
Definition: Mon.h:38
Mon
Tool to store LATOME mon header and footer data.
Definition: Mon.h:20