1 #ifndef DQM_SiStripCommissioningSummary_ViewTranslator_H 2 #define DQM_SiStripCommissioningSummary_ViewTranslator_H 5 #include <boost/cstdint.hpp> 23 typedef std::map<uint32_t,uint32_t>
Mapping;
30 Mapping& fed_to_fec );
33 uint32_t
fedToFec(
const uint32_t& fed_key_mask,
38 uint32_t
detToFec(
const uint32_t& det_key_mask,
47 uint32_t& det_key_mask,
48 Mapping& det_to_fec ) {;}
53 uint32_t& fed_key_mask,
54 Mapping& fed_to_fec ) {;}
60 Mapping& fed_to_fec );
74 #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 std::string const input
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_