#include <OmtfRpcPacker.h>
Public Member Functions | |
void | init (const RPCEMap &readoutMapping, const RPCAMCLinkMap &linkMap) |
void | init (const RPCEMap &readoutMapping, const std::string &connectionFile) |
void | pack (const RPCDigiCollection *prod, FedAmcRawsMap &raws) |
RpcPacker () | |
Private Member Functions | |
void | initCabling (const RPCEMap &readoutMapping) |
Private Attributes | |
MapLBIndex2EleIndex | thePact2Omtf |
std::unique_ptr< const RPCReadOutMapping > | thePactCabling |
Definition at line 18 of file OmtfRpcPacker.h.
|
inline |
Definition at line 20 of file OmtfRpcPacker.h.
void omtf::RpcPacker::init | ( | const RPCEMap & | readoutMapping, |
const RPCAMCLinkMap & | linkMap | ||
) |
Definition at line 19 of file OmtfRpcPacker.cc.
References omtf::RpcLinkMap::init(), initCabling(), thePact2Omtf, thePactCabling, and omtf::translatePact2Omtf().
Referenced by omtf::OmtfPacker::beginRun().
void omtf::RpcPacker::init | ( | const RPCEMap & | readoutMapping, |
const std::string & | connectionFile | ||
) |
Definition at line 26 of file OmtfRpcPacker.cc.
References omtf::RpcLinkMap::init(), initCabling(), thePact2Omtf, thePactCabling, and omtf::translatePact2Omtf().
|
private |
Definition at line 14 of file OmtfRpcPacker.cc.
References RPCEMap::convert(), LogDebug, and thePactCabling.
Referenced by init().
void omtf::RpcPacker::pack | ( | const RPCDigiCollection * | prod, |
FedAmcRawsMap & | raws | ||
) |
Definition at line 33 of file OmtfRpcPacker.cc.
References omtf::EleIndex::amc(), omtf::RpcDataWord64::bxNum_, data, RPCPackingModule::eventRecords(), omtf::EleIndex::fed(), omtf::RpcDataWord64::frame1_, omtf::EleIndex::link(), omtf::RpcDataWord64::linkNum_, LogTrace, isotrackNtupler::merged, omtf::RpcDataWord64::rawData, thePact2Omtf, and thePactCabling.
Referenced by omtf::OmtfPacker::produce().
|
private |
Definition at line 29 of file OmtfRpcPacker.h.
|
private |
Definition at line 30 of file OmtfRpcPacker.h.
Referenced by init(), initCabling(), and pack().