1 #ifndef DQM_SiStripCommissioningSummary_ViewTranslator_H
2 #define DQM_SiStripCommissioningSummary_ViewTranslator_H
5 #include <boost/cstdint.hpp>
25 typedef std::map<uint32_t,uint32_t>
Mapping;
35 uint32_t
fedToFec(
const uint32_t& fed_key_mask,
40 uint32_t
detToFec(
const uint32_t& det_key_mask,
49 uint32_t& det_key_mask,
55 uint32_t& fed_key_mask,
76 #endif // DQM_SiStripCommissioningSummary_ViewTranslator_H
static const uint16_t fedFeMask_
void detToFec(std::string root_filename, uint32_t &det_key_mask, Mapping &det_to_fec)
static const uint16_t fedIdMask_
std::map< uint32_t, uint32_t > Mapping
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 void buildMaps(const SiStripFedCabling &, Mapping &det_to_fec, Mapping &fed_to_fec)
void fedToFec(std::string root_filename, uint32_t &fed_key_mask, Mapping &fed_to_fec)
void writeMapsToFile(std::string root_filename, Mapping &det_to_fec, Mapping &fed_to_fec)
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
static const uint16_t fedChMask_