10 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
13 from LArCabling.LArCablingConfig
import LArLATOMEMappingCfg
16 LArRawSCDataReadingAlg=CompFactory.LArRawSCDataReadingAlg
17 acc.addEventAlgo(
LArRawSCDataReadingAlg(LATOMEDecoder = CompFactory.LArLATOMEDecoder(
"LArLATOMEDecoder",ProtectSourceId =
True)))
19 from TileGeoModel.TileGMConfig
import TileGMCfg
21 acc.addCondAlgo(CompFactory.CaloSuperCellAlignCondAlg(
'CaloSuperCellAlignCondAlg'))
23 from LArBadChannelTool.LArBadChannelConfig
import LArBadChannelCfg
26 from AthenaCommon.Logging
import logging
27 mlog = logging.getLogger(
'RecoPT_Phase1' )
30 mlog.info(
"Run number: "+
str(flags.Input.RunNumbers[0]))
33 runinfo=
getLArDTInfoForRun(flags.Input.RunNumbers[0], connstring=
"COOLONL_LAR/CONDBR2")
35 streams=runinfo.streamTypesPEB()
36 nsamples=
int(runinfo.streamLengthsPEB()[0])
38 streams=runinfo.streamTypes()
39 nsamples=
int(runinfo.streamLengths()[0])
40 except Exception
as e:
41 mlog.warning(
"Could not get DT run info")
43 streams=[
"ADC",
"SelectedEnergy"]
51 larLATOMEBuilderAlg=CompFactory.LArLATOMEBuilderAlg(
"LArLATOMEBuilderAlg",LArDigitKey=
"SC", isADCBas=
False, nEnergies=nenergies)
52 acc.addEventAlgo(larLATOMEBuilderAlg)
54 from LArMonitoring.LArDigitalTriggMonAlg
import LArDigitalTriggMonConfig