12 isMC=configFlags.Input.isMC
17 result.addEventAlgo(CompFactory.LArHVlineMapAlg(keyOutput=
"LArHVNcells"))
20 LArNoisyROAlg,LArNoisyROTool=CompFactory.getComps(
"LArNoisyROAlg",
"LArNoisyROTool")
21 if configFlags.Common.ProductionStep
in [ProductionStep.PileUpPretracking, ProductionStep.MinbiasPreprocessing]:
22 kwargs.setdefault(
'EventInfoKey', f
"{configFlags.Overlay.BkgPrefix}EventInfo")
24 theLArNoisyROTool=
LArNoisyROTool(CellQualityCut=configFlags.LAr.NoisyRO.CellQuality,
25 BadChanPerFEB=configFlags.LAr.NoisyRO.BadChanPerFEB,
26 BadFEBCut=configFlags.LAr.NoisyRO.BadFEBCut,
27 MNBLooseCut=configFlags.LAr.NoisyRO.MNBLooseCut,
28 MNBTightCut=configFlags.LAr.NoisyRO.MNBTightCut,
29 MNBTight_PsVetoCut=configFlags.LAr.NoisyRO.MNBTight_PsVetoCut,
30 BadHVCut=configFlags.LAr.NoisyRO.BadHVCut,
31 BadChanFracPerHVline=configFlags.LAr.NoisyRO.BadHVlineFrac,
35 theLArNoisyROAlg=
LArNoisyROAlg(isMC=isMC,Tool=theLArNoisyROTool)
37 theLArNoisyROAlg.HVMapKey=
"LArHVNcells"
38 result.addEventAlgo(theLArNoisyROAlg)
40 toStore=
"LArNoisyROSummary#LArNoisyROSummary"
41 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD, addToAOD
42 result.merge(
addToESD(configFlags,toStore))
43 result.merge(
addToAOD(configFlags,toStore))