8 itkcf = AthConfigFlags()
11 itkcf.addFlag(
"ITk.Geometry.AllLocal",
False)
12 itkcf.addFlag(
"ITk.Geometry.PixelLocal",
13 lambda prevFlags: prevFlags.ITk.Geometry.AllLocal)
14 itkcf.addFlag(
"ITk.Geometry.PixelFilename",
15 "ITKLayouts/Pixel/ITkPixel.gmx")
16 itkcf.addFlag(
"ITk.Geometry.PixelClobOutputName",
"")
17 itkcf.addFlag(
"ITk.Geometry.StripLocal",
18 lambda prevFlags: prevFlags.ITk.Geometry.AllLocal)
19 itkcf.addFlag(
"ITk.Geometry.StripFilename",
20 "ITKLayouts/Strip/ITkStrip.gmx")
21 itkcf.addFlag(
"ITk.Geometry.StripClobOutputName",
"")
22 itkcf.addFlag(
"ITk.Geometry.BCMPrimeLocal",
23 lambda prevFlags: prevFlags.ITk.Geometry.AllLocal)
24 itkcf.addFlag(
"ITk.Geometry.BCMPrimeFilename",
25 "ITKLayouts/BCM/BCMPrime.gmx")
26 itkcf.addFlag(
"ITk.Geometry.BCMPrimeClobOutputName",
"")
27 itkcf.addFlag(
"ITk.Geometry.PLRLocal",
28 lambda prevFlags: prevFlags.ITk.Geometry.AllLocal)
29 itkcf.addFlag(
"ITk.Geometry.PLRFilename",
"ITKLayouts/PLR/PLR.gmx")
30 itkcf.addFlag(
"ITk.Geometry.PLRClobOutputName",
"")
31 itkcf.addFlag(
"ITk.Geometry.DictionaryLocal",
32 lambda prevFlags: prevFlags.ITk.Geometry.AllLocal)
33 itkcf.addFlag(
"ITk.Geometry.DictionaryFilename",
34 "ITKLayouts/IdDictInnerDetector_ITK_LOCAL.xml")
35 itkcf.addFlag(
"ITk.Geometry.isLocal",
lambda prevFlags:
36 prevFlags.ITk.Geometry.PixelLocal
or
37 prevFlags.ITk.Geometry.StripLocal
or
38 prevFlags.ITk.Geometry.BCMPrimeLocal
or
39 prevFlags.ITk.Geometry.PLRLocal)
41 itkcf.addFlag(
"ITk.Geometry.isAlignable",
False)
42 itkcf.addFlag(
"ITk.Geometry.stripAlignable",
lambda prevFlags: prevFlags.ITk.Geometry.isAlignable)
43 itkcf.addFlag(
"ITk.Geometry.pixelAlignable",
lambda prevFlags: prevFlags.ITk.Geometry.isAlignable)
44 itkcf.addFlag(
"ITk.Geometry.alignmentFolder",
"/Indet/Align")
49 itkcf.addFlag(
"ITk.Conditions.PixelChargeCalibTag",
"ChargeCalib-MC21-01")
50 itkcf.addFlag(
"ITk.Conditions.PixelChargeCalibFile",
"")
51 itkcf.addFlag(
"ITk.Conditions.PixelOfflineCalibTag",
52 "PixelITkError_v5_ATLAS-P2-RUN4-01")
53 itkcf.addFlag(
"ITk.Conditions.PixelOfflineCalibFile",
"")
56 itkcf.addFlag(
"ITk.doTruth",
lambda prevFlags: prevFlags.Input.isMC)
59 itkcf.addFlag(
"ITk.doStripModuleVeto",
False)
61 itkcf.addFlag(
"ITk.JsonPathStripModuleVeto",
"")
64 itkcf.addFlag(
"ITk.JsonPathPixelModuleVeto",
"")
66 itkcf.addFlag(
"ITk.checkDeadPixelsOnTrack",
True)
68 itkcf.addFlag(
"ITk.selectStripIntimeHits",
lambda prevFlags:
69 not(prevFlags.Beam.Type
is BeamType.Cosmics))
72 itkcf.addFlag(
"ITk.DAODStorePixel",
lambda prevFlags:
73 prevFlags.Detector.EnableITkPixel)
74 itkcf.addFlag(
"ITk.DAODStoreStrip",
lambda prevFlags:
75 prevFlags.Detector.EnableITkStrip)
76 itkcf.addFlag(
"ITk.DAODStoreExtra",
True)
79 itkcf.addFlag(
"ITk.savePixelSiHits",
lambda prevFlags:
80 prevFlags.BTagging.Trackless
or
81 prevFlags.BTagging.savePixelHits)
82 itkcf.addFlag(
"ITk.saveStripSiHits",
lambda prevFlags:
83 prevFlags.BTagging.Trackless
or
84 prevFlags.BTagging.saveSCTHits)
87 from InDetConfig.TrackingGeometryFlags
import createITkTrackingGeometryFlags
88 itkcf.addFlagsCategory(
"ITk.trackingGeometry",
89 createITkTrackingGeometryFlags, prefix=
True)