12 using namespace sistrip;
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!";
A container class for generic run and event-related info, information required by the commissioning a...
uint32_t fedToFec(const uint32_t &fed_key_mask, const Mapping &input, Mapping &output)
uint32_t detToFec(const uint32_t &det_key_mask, const Mapping &input, Mapping &output)
static std::string const input
const uint32_t & key() const
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
static const char mlCabling_[]
static void buildMaps(const SiStripFedCabling &, Mapping &det_to_fec, Mapping &fed_to_fec)
FedsConstIterRange fedIds() const
tuple key
prepare the HTCondor submission files and eventually submit them
std::map< uint32_t, uint32_t > Mapping
Utility class that identifies a position within the strip tracker geometrical structure, down to the level of an APV25 chip.
Detector identifier class for the strip tracker.
const uint16_t & feUnit() const
void writeMapsToFile(std::string root_filename, Mapping &det_to_fec, Mapping &fed_to_fec)
ConnsConstIterRange fedConnections(uint16_t fed_id) const
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
const uint16_t & feChan() const
Log< level::Warning, false > LogWarning