#include <ResourceChecker.h>
Public Member Functions | |
void | processDataBlock (MemRef_t *bufRef) throw (evf::Exception) |
ResourceChecker (FUResource *const resToCheck) | |
Private Member Functions | |
void | checkDataBlockPayload (MemRef_t *bufRef) throw (evf::Exception) |
void | findFEDs () throw (evf::Exception) |
Private Attributes | |
FUResource *const | res_ |
ResourceChecker::ResourceChecker | ( | FUResource *const | resToCheck | ) |
Definition at line 27 of file ResourceChecker.cc.
|
private |
Performs checks on the Data Block payload.
Definition at line 203 of file ResourceChecker.cc.
References Association::block, and edm::bufSize.
|
private |
Finds individual FED frames in the data block payload by using FED header information.
Definition at line 292 of file ResourceChecker.cc.
References evf::FUResource::app_, evf::compute_crc(), fedt_struct::conscheck, evf::evtn::daq_board_sense(), evf::FUResource::doCrcCheck_, evf::FUResource::doFedIdCheck_, fedh_struct::eventid, fedt_struct::eventsize, evf::evtn::evm_board_sense(), evf::FUResource::evtNumber_, FED_CRCS_MASK, FED_CRCS_SHIFT, FED_EVSZ_MASK, FED_HCTRLID, FED_HCTRLID_MASK, FED_LVL1_MASK, FED_RBIT_MASK, FED_TCTRLID, FED_TCTRLID_MASK, evf::FUResource::fedSize_, evf::evtn::get(), evf::evtn::getlbn(), evf::FUResource::gtpDaqId_, evf::evtn::gtpe_board_sense(), evf::evtn::gtpe_get(), evf::FUResource::gtpeId_, evf::FUResource::gtpEvmId_, FEDNumbering::inRange(), evf::FUResource::iSuperFrag_, evf::FUResource::log_, evf::FUShmRawCell::markFed(), evf::FUResource::nbCrcErrors_, evf::FUResource::nbErrors_, evf::FUResource::nextEventWillHaveCRCError_, random, REAL_SOID_MASK, res_, evf::FUShmRawCell::setEvtNumber(), evf::FUShmRawCell::setLumiSection(), evf::FUResource::shmCell_, fedh_struct::sourceid, evf::FUShmRawCell::superFragAddr(), evf::FUShmRawCell::superFragSize(), and evf::FUResource::useEvmBoard_.
void ResourceChecker::processDataBlock | ( | MemRef_t * | bufRef | ) | |
throw | ( | evf::Exception | |||
) |
Performs checks on Data Blocks received from the BU.
Definition at line 32 of file ResourceChecker.cc.
References Association::block, alignCSCRings::e, and edm::hlt::Exception.
Referenced by evf::FUResource::process().
|
private |
Definition at line 47 of file ResourceChecker.h.
Referenced by findFEDs().