ATLAS Offline Software
Loading...
Searching...
No Matches
plugin_firstChain.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2from AthenaCommon.Constants import DEBUG
3
4# Add algorithms to run tower building from GlobalLArCells
5
6from GlobalSimulation.LArCellPreparationAlgConfig import LArCellPreparationAlgCfg
7gblLArCellContainerKey = "GlobalLArCells"
8cfg.merge(LArCellPreparationAlgCfg(flags,
9 numberOfEnergyBits = 6,
10 valueLeastSignificantBit = 40,
11 valueGainFactor = 4,
12 GlobalLArCellsKey = gblLArCellContainerKey,
13 OutputLevel=DEBUG))
14
15# Add algorithm to simulate MUX input/output for LAr cells
16from GlobalSimulation.LArCellMuxAlgConfig import LArCellMuxAlgCfg
17cfg.merge(LArCellMuxAlgCfg(flags,
18 GlobalLArCellsKey = gblLArCellContainerKey,
19 WriteMuxInputBitstreamToFile = True,
20 WriteMuxOutputBitstreamToFile = True,
21 OutputLevel=DEBUG))
22
23# Algorithm to build cell towers
24from GlobalSimulation.GlobalCellTowerAlgToolConfig import GlobalCellTowerAlgToolCfg
25cfg.merge(GlobalCellTowerAlgToolCfg(flags,
26 GlobalLArCellsKey = gblLArCellContainerKey,
27 GlobalCellTowersKey = "GlobalCellTowers",
28 OutputLevel=DEBUG))