13 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
17 if flags.Common.ProductionStep
is ProductionStep.MinbiasPreprocessing:
18 kwargs.setdefault(
"LArDigitKey", f
"{flags.Overlay.BkgPrefix}LArDigitContainer_data")
19 kwargs.setdefault(
"LArFebHeaderKey",
"LArFebHeader")
20 elif flags.Overlay.ByteStream:
21 kwargs.setdefault(
"LArDigitKey", f
"{flags.Overlay.BkgPrefix}FREE")
22 kwargs.setdefault(
"LArFebHeaderKey",
"LArFebHeader")
23 if flags.LAr.RawChannelSource
is RawChannelSource.Calculated
or flags.Overlay.DataOverlay:
24 kwargs.setdefault(
"LArRawChannelKey",
"")
26 print(
'LArRawDataReadingCfg flags.LAr.RawChannelSource ',flags.LAr.RawChannelSource)
28 acc.addEventAlgo(CompFactory.LArRawDataReadingAlg(**kwargs))