28 omtfLink2Ele.
init(es);
36 omtfLink2Ele.
init(connectionFile);
43 for (
int dcc=790; dcc <= 792; dcc++) {
46 LogTrace(
"") <<
" SIZE OF MERGED, for DCC="<<dcc<<
" is: "<<merged.size()<<std::endl;
47 for (
const auto & rpcEvent : merged) {
49 data.
bxNum_ = rpcEvent.dataToTriggerDelay();
50 data.
frame1_ = rpcEvent.recordCD().data();
51 LinkBoardElectronicIndex rpcEle = { dcc, rpcEvent.recordSLD().rmb(), rpcEvent.recordSLD().tbLinkInputNumber(), rpcEvent.recordCD().lbInLink() };
54 const EleIndex & omtfEle1 = it->second.first;
55 const EleIndex & omtfEle2 = it->second.second;
56 if(omtfEle1.
fed()) { data.
linkNum_ = omtfEle1.
link(); raws[std::make_pair(omtfEle1.
fed(), omtfEle1.
amc()*2-1)].push_back(data.
rawData); }
57 if(omtfEle2.
fed()) { data.
linkNum_ = omtfEle2.
link(); raws[std::make_pair(omtfEle2.
fed(), omtfEle2.
amc()*2-1)].push_back(data.
rawData); }
std::unique_ptr< const RPCReadOutMapping > thePactCabling
MapLBIndex2EleIndex translatePact2Omtf(const RpcLinkMap &omtfLnks, const RPCReadOutMapping *pactCabling)
void initCabling(const edm::EventSetup &es)
static std::vector< rpcrawtodigi::EventRecords > eventRecords(int fedId, int trigger_BX, const RPCDigiCollection *, const RPCRecordFormatter &)
std::map< std::pair< unsigned int, unsigned int >, std::vector< Word64 > > FedAmcRawsMap
void pack(const RPCDigiCollection *prod, FedAmcRawsMap &raws)
char data[epos_bytes_allocation]
MapLBIndex2EleIndex thePact2Omtf
RPCReadOutMapping const * convert() const
void init(const edm::EventSetup &es)
unsigned int link() const
void init(const edm::EventSetup &es)