Go to the documentation of this file.
25 for (
auto ifed = cabling.
fedIds().begin(); ifed != cabling.
fedIds().end(); ++ifed) {
27 for (
auto ichan = conns.begin(); ichan != conns.end(); ichan++) {
40 SiStripDetId det_id(ichan->detId(), ichan->apvPairNumber());
43 det_to_fec[det] = fec;
44 fed_to_fec[fed] = fec;
50 <<
" Size of FedToFec std::map: " << fed_to_fec.size()
51 <<
", size of DetToFec std::map: " << det_to_fec.size();
59 <<
" Input std::map is empty!";
uint32_t detToFec(const uint32_t &det_key_mask, const Mapping &input, Mapping &output)
static const std::string input
const uint32_t & key() const
A container class for generic run and event-related info, information required by the commissioning a...
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Log< level::Warning, false > LogWarning
uint32_t fedToFec(const uint32_t &fed_key_mask, const Mapping &input, Mapping &output)
void writeMapsToFile(std::string root_filename, Mapping &det_to_fec, Mapping &fed_to_fec)
Utility class that identifies a position within the strip tracker control structure,...
static const char mlCabling_[]
static void buildMaps(const SiStripFedCabling &, Mapping &det_to_fec, Mapping &fed_to_fec)
std::map< uint32_t, uint32_t > Mapping
const uint16_t & feUnit() const
Utility class that identifies a position within the strip tracker geometrical structure,...
FedsConstIterRange fedIds() const
Detector identifier class for the strip tracker.
ConnsConstIterRange fedConnections(uint16_t fed_id) const
const uint16_t & feChan() const