12 isMC=configFlags.Input.isMC
19 LArNoisyROAlg,LArNoisyROTool=CompFactory.getComps(
"LArNoisyROAlg",
"LArNoisyROTool")
20 if configFlags.Common.ProductionStep
is ProductionStep.PileUpPretracking:
21 kwargs.setdefault(
'EventInfoKey',
"Bkg_EventInfo")
23 theLArNoisyROTool=
LArNoisyROTool(CellQualityCut=configFlags.LAr.NoisyRO.CellQuality,
24 BadChanPerFEB=configFlags.LAr.NoisyRO.BadChanPerFEB,
25 BadFEBCut=configFlags.LAr.NoisyRO.BadFEBCut,
26 MNBLooseCut=configFlags.LAr.NoisyRO.MNBLooseCut,
27 MNBTightCut=configFlags.LAr.NoisyRO.MNBTightCut,
28 MNBTight_PsVetoCut=configFlags.LAr.NoisyRO.MNBTight_PsVetoCut
31 theLArNoisyROAlg=
LArNoisyROAlg(isMC=isMC,Tool=theLArNoisyROTool, **kwargs)
32 result.addEventAlgo(theLArNoisyROAlg)
34 toStore=
"LArNoisyROSummary#LArNoisyROSummary"
35 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD, addToAOD
36 result.merge(
addToESD(configFlags,toStore))
37 result.merge(
addToAOD(configFlags,toStore))