ATLAS Offline Software
|
Holds information from the FEB Header. More...
#include <LArFebHeader.h>
Classes | |
struct | DspHeader |
DSP-Header (most of it is actually in the DSP-Trailer) More... | |
struct | RodHeader |
ROD-Header, always present (is part of the FEB-Header) More... | |
Public Member Functions | |
LArFebHeader () | |
for ROOT I/O More... | |
LArFebHeader (const HWIdentifier febid) | |
Constructor with FEB Id. More... | |
~LArFebHeader ()=default | |
Destructor. More... | |
HWIdentifier | FEBId () const |
get the FEBId More... | |
uint32_t | FormatVersion () const |
get the format version More... | |
uint32_t | SourceId () const |
get the source Id More... | |
uint32_t | RunNumber () const |
get the run number More... | |
uint16_t | ELVL1Id () const |
get the EventID More... | |
uint16_t | BCId () const |
get the Bunch Crossing ID More... | |
uint32_t | LVL1TigType () const |
get the Level1 trigger type ID More... | |
uint32_t | DetEventType () const |
get the Detector event type ID More... | |
uint32_t | DspCodeVersion () const |
get the version of the DSP code More... | |
uint32_t | DspEventCounter () const |
get the Event number counted by the DSP code More... | |
uint16_t | FebELVL1Id () const |
get the FEB Event ID More... | |
uint16_t | FebBCId () const |
get the FEB Bunch Crossing ID More... | |
uint16_t | RodResults1Size () const |
get the ROD block sizes More... | |
uint16_t | RodResults2Size () const |
uint16_t | RodRawDataSize () const |
uint16_t | NbSamples () const |
get the number of samples and cells above threshold More... | |
uint16_t | NbSweetCells1 () const |
uint16_t | NbSweetCells2 () const |
uint32_t | OnlineChecksum () const |
uint32_t | OfflineChecksum () const |
bool | ChecksumVerification () const |
const std::vector< uint16_t > & | FebCtrl1 () const |
get the FEB Control Word #1 More... | |
const std::vector< uint16_t > & | FebCtrl2 () const |
get the FEB Control Word #2 More... | |
const std::vector< uint16_t > & | FebCtrl3 () const |
get the FEB Control Word #3 More... | |
uint32_t | RodStatus () const |
get the ROD Status More... | |
const std::vector< uint16_t > & | SCA () const |
get the SCA's More... | |
bool | CheckErrorELVL1Id () const |
Check functions: return true if mismatch in Event ID. More... | |
bool | CheckErrorBCId () const |
Check functions: return true if mismatch in Bunch Crossing ID. More... | |
void | SetFormatVersion (const uint32_t formatVersion) |
set the format version More... | |
void | SetSourceId (const uint32_t sourceID) |
set the source Id More... | |
void | SetRunNumber (const uint32_t runNumber) |
set the run number More... | |
void | SetELVL1Id (const uint16_t elvl1Id) |
set the EventID More... | |
void | SetBCId (const uint16_t bcid) |
set the Bunch Crossing ID More... | |
void | SetRodResults1Size (const uint16_t size) |
set the ROD block sizes More... | |
void | SetRodResults2Size (const uint16_t size) |
void | SetRodRawDataSize (const uint16_t size) |
void | SetNbSweetCells1 (const uint16_t n) |
set the number of samples and cells above thresholds More... | |
void | SetNbSweetCells2 (const uint16_t n) |
void | SetNbSamples (const uint16_t n) |
void | SetOnlineChecksum (const uint32_t checksum) |
void | SetOfflineChecksum (const uint32_t checksum) |
void | SetLVL1TigType (const uint32_t lvl1ttype) |
set the Level1 trigger type ID More... | |
void | SetDetEventType (const uint32_t detEvType) |
set the Detector event type ID More... | |
void | SetDspCodeVersion (const uint32_t codeVersion) |
set the version of the DSP code More... | |
void | SetDspEventCounter (const uint32_t eventCounter) |
set the Event number counted by the DSP code More... | |
void | SetFebELVL1Id (const uint16_t elvl1Id) |
set the FEB Event ID More... | |
void | SetFebBCId (const uint16_t bcid) |
set the FEB Bunch Crossing ID More... | |
void | SetFebCtrl1 (const uint16_t ctrl1) |
set the FEB Control Word #1 More... | |
void | SetFebCtrl2 (const uint16_t ctrl2) |
set the FEB Control Word #2 More... | |
void | SetFebCtrl3 (const uint16_t ctrl3) |
set the FEB Control Word #3 More... | |
void | SetRodStatus (const uint32_t status) |
set the ROD Status More... | |
void | SetFebSCA (const uint16_t sca) |
set the SCA's More... | |
Static Private Member Functions | |
static int | degray (unsigned int x) |
like explained in: http://mathworld.wolfram.com/GrayCode.html More... | |
Private Attributes | |
const HWIdentifier | m_FEBId {} |
Feb Identifier. More... | |
RodHeader | m_RodHeader {} |
DspHeader | m_DspHeader {} |
uint16_t | m_ELVL1Id {} |
FEB EventId. More... | |
uint16_t | m_BCId {} |
FEB BCId. More... | |
uint16_t | m_Results1Size {} |
uint16_t | m_Results2Size {} |
uint16_t | m_RawDataSize {} |
uint16_t | m_NbSweetCells1 {} |
uint16_t | m_NbSweetCells2 {} |
uint16_t | m_NbSamples {} |
uint32_t | m_OnlineChecksum {1} |
uint32_t | m_OfflineChecksum {} |
uint32_t | m_Status {} |
ROD Status word. More... | |
std::vector< uint16_t > | m_SCA |
SCA number for each samples. More... | |
std::vector< uint16_t > | m_Ctrl1 |
FEB Control word 1. More... | |
std::vector< uint16_t > | m_Ctrl2 |
@Brief FEB Control word 2 More... | |
std::vector< uint16_t > | m_Ctrl3 |
FEB Control word 3. More... | |
Holds information from the FEB Header.
Definition at line 20 of file LArFebHeader.h.
LArFebHeader::LArFebHeader | ( | ) |
LArFebHeader::LArFebHeader | ( | const HWIdentifier | febid | ) |
Constructor with FEB Id.
Definition at line 10 of file LArFebHeader.cxx.
|
default |
Destructor.
|
inline |
|
inline |
Check functions: return true if mismatch in Bunch Crossing ID.
Definition at line 119 of file LArFebHeader.h.
|
inline |
Check functions: return true if mismatch in Event ID.
Definition at line 116 of file LArFebHeader.h.
|
inline |
Definition at line 98 of file LArFebHeader.h.
|
staticprivate |
like explained in: http://mathworld.wolfram.com/GrayCode.html
Definition at line 14 of file LArFebHeader.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 94 of file LArFebHeader.h.
|
inline |
Definition at line 95 of file LArFebHeader.h.
|
inline |
Definition at line 97 of file LArFebHeader.h.
|
inline |
Definition at line 96 of file LArFebHeader.h.
|
inline |
Definition at line 90 of file LArFebHeader.h.
|
inline |
|
inline |
Definition at line 89 of file LArFebHeader.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
set the FEB Bunch Crossing ID
Definition at line 182 of file LArFebHeader.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
set the SCA's
Definition at line 202 of file LArFebHeader.h.
|
inline |
|
inline |
|
inline |
Definition at line 154 of file LArFebHeader.h.
|
inline |
|
inline |
Definition at line 152 of file LArFebHeader.h.
|
inline |
Definition at line 158 of file LArFebHeader.h.
|
inline |
Definition at line 156 of file LArFebHeader.h.
|
inline |
Definition at line 146 of file LArFebHeader.h.
|
inline |
|
inline |
Definition at line 144 of file LArFebHeader.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
FEB BCId.
Definition at line 224 of file LArFebHeader.h.
|
private |
FEB Control word 1.
Definition at line 242 of file LArFebHeader.h.
|
private |
@Brief FEB Control word 2
Definition at line 245 of file LArFebHeader.h.
|
private |
FEB Control word 3.
Definition at line 248 of file LArFebHeader.h.
|
private |
Definition at line 218 of file LArFebHeader.h.
|
private |
FEB EventId.
Definition at line 221 of file LArFebHeader.h.
|
private |
Feb Identifier.
Definition at line 214 of file LArFebHeader.h.
|
private |
Definition at line 231 of file LArFebHeader.h.
|
private |
Definition at line 229 of file LArFebHeader.h.
|
private |
Definition at line 230 of file LArFebHeader.h.
|
private |
Definition at line 233 of file LArFebHeader.h.
|
private |
Definition at line 232 of file LArFebHeader.h.
|
private |
Definition at line 228 of file LArFebHeader.h.
|
private |
Definition at line 226 of file LArFebHeader.h.
|
private |
Definition at line 227 of file LArFebHeader.h.
|
private |
Definition at line 216 of file LArFebHeader.h.
|
private |
SCA number for each samples.
Definition at line 239 of file LArFebHeader.h.
|
private |
ROD Status word.
Definition at line 236 of file LArFebHeader.h.