ATLAS Offline Software
Macros | Functions
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)
 

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 */}

Definition at line 28 of file PixelRodDecoder.cxx.

◆ 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 35 of file PixelRodDecoder.cxx.

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; }
x
#define x
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29