3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaMonitoringKernel.GenericMonitoringTool
import GenericMonitoringTool
6 from IOVDbSvc.IOVDbSvcConfig
import addFolders
14 monTool.defineHistogram(
'bitWise_flags', type=
'TH1I', path=
'EXPERT',
15 title=
"LArNoiseBurst Cut Counter;Cut;Count",
16 xlabels=[
"Input",
"BadFEBFlaggedPartitions",
"BadFEB_WFlaggedPartitions",
"SatTightFlaggedPartitions",
"MNBLooseFlaggedPartions",
"MNBTightFlaggedPartions",
"MNBTight_PsVetoFlaggedPartions",
"Output"])
17 monTool.defineHistogram(
'TIME_larnoisetool', type=
'TH1F', path=
'EXPERT', title=
"Time;time(ps)",
18 xbins=100, xmin=-100.0, xmax=15000)
20 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg
23 cfg.addEventAlgo( CompFactory.TrigLArNoiseBurstRecoAlg(
24 CellContainerKey = cells_name,
25 Tool = CompFactory.LArNoisyROTool(SaturatedCellTightCut=20, MNBLooseCut=5, MNBTightCut=17,
29 cfg.addCondAlgo( CompFactory.LArBadFebCondAlg(
31 ReadKey=
"/LAR/BadChannels/KnownBADFEBs" if not flags.Input.isMC
else "",
32 WriteKey=
"LArKnownBadFEBs") )
34 cfg.addCondAlgo( CompFactory.LArBadFebCondAlg(
36 ReadKey=
"/LAR/BadChannels/KnownMNBFEBs" if not flags.Input.isMC
else "",
37 WriteKey=
"LArKnownMNBFEBs") )
39 if not flags.Input.isMC:
40 cfg.merge(
addFolders(flags, [
"/LAR/BadChannels/KnownBADFEBs",
"/LAR/BadChannels/KnownMNBFEBs"],
41 "LAR_ONL", className=
"AthenaAttributeList") )
47 return CompFactory.TrigLArNoiseBurstHypoTool(chainDict[
'chainName'])
51 return CompFactory.TrigL2CaloLayersHypoTool(
53 EnergyFractionCut=[0.80,1.0,1.0,1.0],