4 """Read muon geometry parameters
6 dbGeomCursor: AtlasGeoDBInterface instance
8 dbId, dbSwitches, dbParam = dbGeomCursor.GetCurrentLeafContent(
"MuonSwitches")
9 params = {
"Layout" :
"UNDEFINED",
20 if "LAYOUTNAME" in dbParam:
21 params[
"Layout"] = dbSwitches[key][dbParam.index(
"LAYOUTNAME")]
22 if "HASCSC" in dbParam:
23 params[
"HasCSC"] = (dbSwitches[key][dbParam.index(
"HASCSC")] != 0)
24 if "HASSTGC" in dbParam:
25 params[
"HasSTGC"] = (dbSwitches[key][dbParam.index(
"HASSTGC")] !=0)
26 if "HASMM" in dbParam:
27 params[
"HasMM"] = (dbSwitches[key][dbParam.index(
"HASMM")] != 0)