ATLAS Offline Software
Loading...
Searching...
No Matches
PixelRodDecoder.cxx File Reference
#include "PixelRodDecoder.h"
#include "InDetIdentifier/PixelID.h"
#include "PixelReadoutGeometry/PixelDetectorManager.h"
#include "ExtractCondensedIBLhits.h"
#include "PixelByteStreamModuleMask.h"
#include "ByteStreamData/RawEvent.h"
#include "eformat/SourceIdentifier.h"
#include "xAODEventInfo/EventInfo.h"
#include <fstream>
#include <iostream>
#include <unordered_set>
#include <string>

Go to the source code of this file.

Macros

#define generalwarning(x)
#define lvl1id_bcid_warning(x)

Typedefs

using ROBFragment

Functions

bool isIBL (uint32_t robId)
bool isDBM (uint32_t robId)

Macro Definition Documentation

◆ generalwarning

#define generalwarning ( x)
Value:
if (this->m_numGenWarnings < this->m_maxNumGenWarnings) \
{ATH_MSG_DEBUG(x); ++this->m_numGenWarnings;} \
else if (this->m_numGenWarnings == this->m_maxNumGenWarnings) \
{ATH_MSG_DEBUG("PixelRodDecoder: suppressing further general warnings"); ++this->m_numGenWarnings;} \
else {++this->m_numGenWarnings; /* No warning */}
#define ATH_MSG_DEBUG(x,...)
#define x

Definition at line 26 of file PixelRodDecoder.cxx.

26#define generalwarning(x) \
27 if (this->m_numGenWarnings < this->m_maxNumGenWarnings) \
28 {ATH_MSG_DEBUG(x); ++this->m_numGenWarnings;} \
29 else if (this->m_numGenWarnings == this->m_maxNumGenWarnings) \
30 {ATH_MSG_DEBUG("PixelRodDecoder: suppressing further general warnings"); ++this->m_numGenWarnings;} \
31 else {++this->m_numGenWarnings; /* No warning */}

◆ lvl1id_bcid_warning

#define lvl1id_bcid_warning ( x)
Value:
if (this->m_numBCIDWarnings < this->m_maxNumBCIDWarnings) \
{ATH_MSG_DEBUG(x); ++this->m_numBCIDWarnings;} \
else if (this->m_numBCIDWarnings == this->m_maxNumBCIDWarnings) \
{ATH_MSG_DEBUG("PixelRodDecoder: suppressing further BCID/LVL1ID warnings"); ++this->m_numBCIDWarnings;} \
else {++this->m_numBCIDWarnings; /* No warning */}

Definition at line 33 of file PixelRodDecoder.cxx.

33#define lvl1id_bcid_warning(x) \
34 if (this->m_numBCIDWarnings < this->m_maxNumBCIDWarnings) \
35 {ATH_MSG_DEBUG(x); ++this->m_numBCIDWarnings;} \
36 else if (this->m_numBCIDWarnings == this->m_maxNumBCIDWarnings) \
37 {ATH_MSG_DEBUG("PixelRodDecoder: suppressing further BCID/LVL1ID warnings"); ++this->m_numBCIDWarnings;} \
38 else {++this->m_numBCIDWarnings; /* No warning */}

Typedef Documentation

◆ ROBFragment

Definition at line 27 of file RawEvent.h.

Function Documentation

◆ isDBM()

bool isDBM ( uint32_t robId)
inline

Definition at line 44 of file PixelRodDecoder.cxx.

44{ return ((robId>>16) & 0xFF)==0x15; }

◆ isIBL()

bool isIBL ( uint32_t robId)
inline

Definition at line 43 of file PixelRodDecoder.cxx.

43{ return ((robId>>16) & 0xFF)==0x14; }