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]
33gFexRhoCvtrTool = CompFactory.GlobalSim.gFexRhoCvtrAlgTool(
'gFexRhoCvtrAlgTool')
34gFexRhoCvtrTool.OutputLevel = DEBUG
36alg.globalsim_algs += [gFexRhoCvtrTool]
39jet1Tool = CompFactory.GlobalSim.GlobalJet1AlgTool(
'GlobalJet1AlgTool')
40jet1Tool.GlobalCellTowersKey =
"GlobalCellTowers"
41jet1Tool.OutputLevel = DEBUG
43alg.globalsim_algs += [jet1Tool]
46tool = CompFactory.GlobalSim.CommonMultAlgTool(
'CommonMultAlgTool')
49tool.CommonTOBsKey =
"GlobalJet1Jets"
51tool.OutputLevel = DEBUG
53alg.TIPwriters = [tool]