30 if (det_id == eformat::MUON_MMEGA_ENDCAP_A_SIDE || det_id == eformat::MUON_MMEGA_ENDCAP_C_SIDE) {
34 }
else if (det_id == eformat::MUON_STGC_ENDCAP_A_SIDE || det_id == eformat::MUON_STGC_ENDCAP_C_SIDE) {
37 uint8_t is_large =
m_elinkId->is_large_station () ? 1 : 0;
49 bool is_large = station_name.substr (2, 1) ==
"L";
50 std::string detectorString = station_name.substr(0,2);
51 const std::pair <std::string, bool> name_and_side = {detectorString, station_eta > 0};
53 uint8_t detId = Muon::nsw::helper::s_station_to_detector_map.at (name_and_side);
54 uint8_t sector = (station_phi - 1) * 2 + (is_large ? 0 : 1);
58 for(uint8_t splitConfig = 0; splitConfig<4; splitConfig++){
59 if( detectorString==
"MM" && splitConfig == 3)
continue;
60 uint32_t sourceId = (detId << 16) | (splitConfig << 8) | sector;