ATLAS Offline Software
Loading...
Searching...
No Matches
PixelRodDecoder.cxx File Reference
#include "PixelRodDecoder.h"
#include "CxxUtils/AthUnlikelyMacros.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 27 of file PixelRodDecoder.cxx.

27#define generalwarning(x) \
28 if (this->m_numGenWarnings < this->m_maxNumGenWarnings) \
29 {ATH_MSG_DEBUG(x); ++this->m_numGenWarnings;} \
30 else if (this->m_numGenWarnings == this->m_maxNumGenWarnings) \
31 {ATH_MSG_DEBUG("PixelRodDecoder: suppressing further general warnings"); ++this->m_numGenWarnings;} \
32 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 34 of file PixelRodDecoder.cxx.

34#define lvl1id_bcid_warning(x) \
35 if (this->m_numBCIDWarnings < this->m_maxNumBCIDWarnings) \
36 {ATH_MSG_DEBUG(x); ++this->m_numBCIDWarnings;} \
37 else if (this->m_numBCIDWarnings == this->m_maxNumBCIDWarnings) \
38 {ATH_MSG_DEBUG("PixelRodDecoder: suppressing further BCID/LVL1ID warnings"); ++this->m_numBCIDWarnings;} \
39 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 45 of file PixelRodDecoder.cxx.

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

◆ isIBL()

bool isIBL ( uint32_t robId)
inline

Definition at line 44 of file PixelRodDecoder.cxx.

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