16 for (
const auto & chDigis : cscDigis) {
18 for (
auto digi = chDigis.second.first; digi != chDigis.second.second; digi++) {
20 data.
hitNum_ = digi->getTrknmb();
21 data.
vp_ = digi->isValid();
22 data.
bxNum_ = digi->getBX()-3;
25 data.
keyWG_ = digi->getKeyWG();
26 data.
lr_ = digi->getBend();
30 std::vector<EleIndex> links = {im->second.first, im->second.second};
31 for (
const auto & link : links) {
32 unsigned int fed = link.fed();
33 if (fed == 0)
continue;
37 unsigned int amc = link.amc()*2-1;
38 raws[std::make_pair(fed,amc)].push_back(data.
rawData);
39 LogTrace(
"") <<
"ADDED RAW: fed: "<< fed <<
" amc: "<<amc <<
" CSC DATA: " << data<< std::endl;
std::map< std::pair< unsigned int, unsigned int >, std::vector< Word64 > > FedAmcRawsMap
MapCscDet2EleIndex mapCscDet2EleIndex()
MapCscDet2EleIndex theCsc2Omtf
CSCDetId chamberId() const
void pack(const CSCCorrelatedLCTDigiCollection *prod, FedAmcRawsMap &raws)
char data[epos_bytes_allocation]