14 std::map<int, int>::const_iterator it =
hw2sw_.find(hid);
18 std::cout <<
myName_ <<
": for requested hw id = " << hid <<
", found sw id = " << cid << std::endl;
20 std::cout <<
myName_ <<
": ERROR, cannot find requested hw id = " << hid <<
" in mapping." << std::endl;
27 int lid = cid + layer;
41 Connection newRecord(rendcap, rstation, rsector, rsubsector, rcscid, cendcap, cstation, csector, csubsector, ccscid);
43 int hid =
hwId(rendcap, rstation, rsector, rsubsector, rcscid);
44 int sid =
swId(cendcap, cstation, csector, csubsector, ccscid);
47 if (
hw2sw_.insert(std::make_pair(hid, sid)).second) {