13 for (
const auto& chDigis : cscDigis) {
15 for (
auto digi = chDigis.second.first; digi != chDigis.second.second; digi++) {
17 data.hitNum_ = digi->getTrknmb();
18 data.vp_ = digi->isValid();
20 data.halfStrip_ = digi->getStrip();
21 data.clctPattern_ = digi->getPattern();
22 data.keyWG_ = digi->getKeyWG();
23 data.lr_ = digi->getBend();
24 data.quality_ = digi->getQuality();
27 std::vector<EleIndex>
links = {im->second.first, im->second.second};
29 unsigned int fed =
link.fed();
35 unsigned int amc =
link.amc() * 2 - 1;
36 raws[std::make_pair(fed,
amc)].push_back(
data.rawData);
37 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
void pack(const CSCCorrelatedLCTDigiCollection *prod, FedAmcRawsMap &raws)
CSCDetId chamberId() const
char data[epos_bytes_allocation]