6 #ifndef QC_MODULE_MUONCHAMBERS_MAPPING_H 7 #define QC_MODULE_MUONCHAMBERS_MAPPING_H 9 #include "MCHMappingInterface/Segmentation.h" 13 #define MCH_DE_MAX 2000 14 #define MCH_DSID_MAX 2047 15 #define MCH_MAX_CRU_ID 31 16 #define MCH_MAX_CRU_IN_FLP 31 17 #define LINKID_MAX 0x7FF 23 namespace quality_control_modules
25 namespace muonchambers
90 MapSolar mSolarMap[MCH_MAX_CRU_IN_FLP][24];
95 bool readMapping(std::string mapFile);
96 int32_t getLink(int32_t c, int32_t l);
97 bool getLinkInv(uint32_t link_id, int32_t& c, int32_t& l);
108 bool readDSMapping(std::string mapFile);
109 bool getDSMapping(uint32_t link_id, uint32_t ds_addr, uint32_t& de, uint32_t& dsid);
110 bool getDSMappingInv(uint32_t de, uint32_t dsid, uint32_t& link_id, uint32_t& ds_addr);
111 bool getPadByLinkID(uint32_t link_id, uint32_t ds_addr, uint32_t dsch,
MapPad& pad);
112 bool getPadByDE(uint32_t de, uint32_t dsid, uint32_t dsch,
MapPad& pad);
119 #endif // QC_MODULE_MUONCHAMBERS_MAPPING_H
Definition: Mapping.h:100
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19