32 if configFlags.LAr.RawChannelSource
in (RawChannelSource.Both, RawChannelSource.Input)
and not configFlags.Input.isMC
and not configFlags.Overlay.DataOverlay:
33 theMerger=
LArCellMerger(RawChannelsName=
"LArRawChannels_FromDigits")
34 correctionTools.append(theMerger)
36 if configFlags.LAr.doCellNoiseMasking
or configFlags.LAr.doCellSporadicNoiseMasking:
39 if configFlags.LAr.doCellNoiseMasking:
40 theNoiseMasker.ProblemsToMask=[
"highNoiseHG",
"highNoiseMG",
"highNoiseLG",
"deadReadout",
"deadPhys"]
42 if configFlags.LAr.doCellSporadicNoiseMasking:
43 theNoiseMasker.SporadicProblemsToMask=[
"sporadicBurstNoise",]
45 correctionTools.append(theNoiseMasker)
47 if configFlags.LAr.doBadFebMasking:
48 from LArROD.LArFebErrorSummaryMakerConfig
import LArFebErrorSummaryMakerCfg
50 badFebMask=CompFactory.LArBadFebMaskingTool()
52 correctionTools.append(badFebMask)
55 result.setPrivateTools(correctionTools)