8 if 'isSC' in kwargs
and kwargs[
'isSC']:
11 cfg.addEventAlgo(CompFactory.LArRawSCCalibDataReadingAlg(LArSCAccCalibDigitKey = flags.LArSCDump.accdigitsKey,
12 CalibCablingKeyLeg =
"LArCalibLineMap",
13 OnOffMapLeg =
"LArOnOffIdMap",
14 LATOMEDecoder = CompFactory.LArLATOMEDecoder(
"LArLATOMEDecoder")))
16 from LArByteStream.LArRawSCDataReadingConfig
import LArRawSCDataReadingCfg
20 Digit = kwargs[
'ContainerKey']
if 'ContainerKey' in kwargs
else ""
21 accDigit = kwargs[
'AccContainerKey']
if 'AccContainerKey' in kwargs
else ""
22 accCalibDigit = kwargs[
'AccCalibContainerKey']
if 'AccCalibContainerKey'in kwargs
else ""
23 from LArByteStream.LArRawCalibDataReadingConfig
import LArRawCalibDataReadingCfg
25 doDigit = Digit,doAccDigit = accDigit,
26 doAccCalibDigit = accCalibDigit))
28 from LArByteStream.LArRawDataReadingConfig
import LArRawDataReadingCfg
31 cfg.addEventAlgo(CompFactory.LArDigits2Ntuple(
"LArDigits2Ntuple",**kwargs))