#include <OmtfRpcUnpacker.h>
Public Member Functions | |
void | init (const RPCEMap &readoutMapping, const RPCAMCLinkMap &linkMap) |
void | init (const RPCEMap &readoutMapping, const std::string &connectionFile) |
RpcUnpacker () | |
void | unpack (int triggerBX, unsigned int fed, unsigned int amc, const RpcDataWord64 &raw, RPCDigiCollection *prod) |
Private Member Functions | |
void | initCabling (const RPCEMap &readoutMapping) |
Private Attributes | |
MapEleIndex2LBIndex | theOmtf2Pact |
std::unique_ptr< const RPCReadOutMapping > | thePactCabling |
Definition at line 22 of file OmtfRpcUnpacker.h.
|
inline |
Definition at line 24 of file OmtfRpcUnpacker.h.
void omtf::RpcUnpacker::init | ( | const RPCEMap & | readoutMapping, |
const RPCAMCLinkMap & | linkMap | ||
) |
Definition at line 25 of file OmtfRpcUnpacker.cc.
References omtf::RpcLinkMap::init(), initCabling(), theOmtf2Pact, thePactCabling, and omtf::translateOmtf2Pact().
Referenced by omtf::OmtfUnpacker::beginRun().
void omtf::RpcUnpacker::init | ( | const RPCEMap & | readoutMapping, |
const std::string & | connectionFile | ||
) |
Definition at line 32 of file OmtfRpcUnpacker.cc.
References omtf::RpcLinkMap::init(), initCabling(), theOmtf2Pact, thePactCabling, and omtf::translateOmtf2Pact().
|
private |
Definition at line 19 of file OmtfRpcUnpacker.cc.
References RPCEMap::convert(), LogDebug, and thePactCabling.
Referenced by init().
void omtf::RpcUnpacker::unpack | ( | int | triggerBX, |
unsigned int | fed, | ||
unsigned int | amc, | ||
const RpcDataWord64 & | raw, | ||
RPCDigiCollection * | prod | ||
) |
Definition at line 39 of file OmtfRpcUnpacker.cc.
References rpcrawtodigi::DataRecord::ChamberData, data, rpcrawtodigi::RecordCD::lbInLink(), LogTrace, rpcrawtodigi::RecordCD::partitionData(), rpcrawtodigi::RecordCD::partitionNumber(), dumpMFGeometry_cfg::prod, rpcrawtodigi::DataRecord::StartOfBXData, rpcrawtodigi::DataRecord::StartOfTbLinkInputNumberData, theOmtf2Pact, and thePactCabling.
Referenced by omtf::OmtfUnpacker::produce().
|
private |
Definition at line 33 of file OmtfRpcUnpacker.h.
|
private |
Definition at line 34 of file OmtfRpcUnpacker.h.
Referenced by init(), initCabling(), and unpack().