149 """Query geometry DB for detector description.
150 Returns a set of detectors used in a geometry tag.
152 geoTag: geometry tag (e.g. ATLAS-R2-2016-01-00-01)
154 detectors =
DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Common'][
'Detectors']
156 manualConfig =
not DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Common'][
"DetectorsConfigured"]
160 detectors.add(
'Bpipe')
161 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Common'][
'Run']
not in [
'RUN1',
'RUN2',
'RUN3']:
162 detectors.add(
'ITkPixel')
163 detectors.add(
'ITkStrip')
164 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Luminosity'][
'BCMPrime']:
165 detectors.add(
'BCMPrime')
166 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Luminosity'][
'PLR']:
169 detectors.add(
'Pixel')
174 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Common'][
'Run']
not in [
'RUN1',
'RUN2',
'RUN3']:
175 detectors.add(
'HGTD')
178 detectors.add(
'Tile')
181 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Common'][
'Run']
in [
'RUN1',
'RUN2',
'RUN3']:
182 detectors.add(
'MBTS')
184 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Muon'][
'HasMDT']:
186 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Muon'][
'HasRPC']:
188 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Muon'][
'HasTGC']:
190 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Muon'][
'HasCSC']:
192 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Muon'][
'HasSTGC']:
193 detectors.add(
'sTGC')
194 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Muon'][
'HasMM']:
198 detectors.add(
'Lucid')
199 if DetDescrInfo(geoTag,sqliteDB,sqliteDBFullPath)[
'Common'][
'Run']
not in [
'RUN1']:
202 detectors.add(
'ALFA')
203 detectors.add(
'FwdRegion')