7 kwargs.setdefault(
"IdDictName",
"IdDictParser/ATLAS_IDS.xml")
8 kwargs.setdefault(
"HasCSC", flags.Detector.GeometryCSC)
9 kwargs.setdefault(
"HasSTgc", flags.Detector.GeometrysTGC)
10 kwargs.setdefault(
"HasMM", flags.Detector.GeometryMM)
11 kwargs.setdefault(
"HasTGC", flags.Detector.GeometryTGC)
12 kwargs.setdefault(
"HasMDT", flags.Detector.GeometryMDT)
13 kwargs.setdefault(
"HasRPC", flags.Detector.GeometryRPC)
17 kwargs.setdefault(
"useGeomDB_InDet",
not flags.GeoModel.SQLiteDB
and (flags.Detector.GeometryITk
or \
18 flags.Detector.GeometryHGTD))
20 if (flags.Detector.GeometryITk
or flags.Detector.GeometryHGTD) \
21 and flags.ITk.Geometry.DictionaryLocal:
22 kwargs.setdefault(
"IdDictFromRDB",
False)
23 kwargs.setdefault(
"InDetIDFileName", flags.ITk.Geometry.DictionaryFilename)
24 kwargs.setdefault(
"MuonIDFileName",
"IdDictParser/IdDictMuonSpectrometer_R.10.00.xml")
25 kwargs.setdefault(
"LArIDFileName",
"IdDictParser/IdDictLArCalorimeter_DC3-05-Comm-01.xml")
26 kwargs.setdefault(
"TileIDFileName",
"IdDictParser/IdDictTileCalorimeter.xml")
27 kwargs.setdefault(
"CaloIDFileName",
"IdDictParser/IdDictCalorimeter_L1Onl.xml")
28 kwargs.setdefault(
"ForwardIDFileName",
"IdDictParser/IdDictForwardDetectors_2010.xml")
30 kwargs.setdefault(
"IdDictFromRDB",
True)
33 service = CompFactory.DetDescrCnvSvc(**kwargs)
34 acc.addService(service, create=
True)
35 acc.addService(CompFactory.EvtPersistencySvc(
"EventPersistencySvc",
36 CnvServices=[service.getName()]))