Skip to content
Snippets Groups Projects

Update Digi config for CA-based Transforms

Merged Nicholas Styles requested to merge nstyles/athena:master-digiConfigUpdate into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
from AthenaKernel.EventIdOverrideConfig import getMinMaxRunNumbers
from AthenaCommon.Logging import logging
@@ -51,8 +51,8 @@ def writeDigitizationMetadata(ConfigFlags):
## Digitized detector flags: add each enabled detector to the DigitizedDetectors list - might be better to determine this from the OutputStream or CA-itself? Possibly redundant info though?
digiDets = []
for det in ['Pixel','SCT','TRT','BCM','Lucid','ZDC','ALFA','AFP','FwdRegion','LAr','HGTD','Tile','MDT','CSC','TGC','RPC','MM','sTGC','Truth','LVL1']:
attrname = "Detector.Geometry"+det
for det in ['Pixel','SCT','TRT','BCM','Lucid','ZDC','ALFA','AFP','FwdRegion','LAr','HGTD','Tile','MDT','CSC','TGC','RPC','MM','sTGC','Truth','LVL1','ITkPixel','ITkStrip']:
attrname = "Detector.Enable"+det
if ConfigFlags.hasFlag(attrname):
testValue = ConfigFlags._get(attrname)
if testValue:
Loading