5from GlobalSimulation.LArCellPreparationAlgConfig
import LArCellPreparationAlgCfg
6gblLArCellContainerKey =
"GlobalLArCells"
7cfg.merge(LArCellPreparationAlgCfg(flags,
8 numberOfEnergyBits = 6,
9 valueLeastSignificantBit = 40,
11 GlobalLArCellsKey = gblLArCellContainerKey,
15from GlobalSimulation.LArCellMuxAlgConfig
import LArCellMuxAlgCfg
16cfg.merge(LArCellMuxAlgCfg(flags,
17 GlobalLArCellsKey = gblLArCellContainerKey,
18 WriteMuxInputBitstreamToFile =
True,
19 WriteMuxOutputBitstreamToFile =
True,
23alg = CompFactory.GlobalSim.GlobalSimulationAlg(
'GlobalSimulationAlg')
26cellTowerTool = CompFactory.GlobalSim.GlobalCellTowerAlgTool(
'GlobalCellTowerAlgTool')
27cellTowerTool.GlobalCellTowersKey =
"GlobalCellTowers"
28cellTowerTool.OutputLevel = DEBUG
30alg.globalsim_algs += [cellTowerTool]
33jet1Tool = CompFactory.GlobalSim.GlobalJet1AlgTool(
'GlobalJet1AlgTool')
34jet1Tool.GlobalCellTowersKey =
"GlobalCellTowers"
35jet1Tool.OutputLevel = DEBUG
37alg.globalsim_algs += [jet1Tool]
40tool = CompFactory.GlobalSim.JetMultAlgTool(
'JetMultAlgTool')
44tool.OutputLevel = DEBUG
46alg.TIPwriters = [tool]