Skip to content
Snippets Groups Projects
Commit ad2698d4 authored by Scott Snyder's avatar Scott Snyder Committed by Adam Edward Barton
Browse files

TileSimAlgs: Conditions dependency fixes.

Don't declare conditions dependencies that won't be used.
(New-style config versions should be ok.)
parent eafa2d62
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Author: J. Poveda (Ximo.Poveda@cern.ch)
# TileDigits creation from TileHit
......@@ -64,7 +64,10 @@ class TileDigitsGetter ( Configured ) :
theTileDigitsMaker.CalibrationRun=False
# Save integer numbers in digits vector if not pile-up premixing
theTileDigitsMaker.IntegerDigits = not digitizationFlags.PileUpPremixing()
theTileDigitsMaker.IntegerDigits = not digitizationFlags.PileUpPremixing()
from TileConditions.TileConditionsConf import TileCondToolNoiseSample
theTileDigitsMaker.TileCondToolNoiseSample = TileCondToolNoiseSample (TileOnlineSampleNoise = '')
# sets output key
if digitizationFlags.PileUpPremixing and 'OverlayMT' in digitizationFlags.experimentalDigi():
......
......@@ -157,6 +157,7 @@ if doTileDigitToRawChannel:
theTileRawChannelGetter_DigiHSTruth.TileRawChannelContainer = "TileRawChannelCnt_DigiHSTruth"
TileRChMaker = theTileRawChannelGetter.TileRChMaker()
if digitizationFlags.PileUpPremixing and 'OverlayMT' in digitizationFlags.experimentalDigi():
TileRChMaker.TileDigitsContainer = overlayFlags.bkgPrefix() + 'TileDigitsCnt'
......
#
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
#
# ****************************************************************************
......@@ -45,13 +45,15 @@ from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence()
# Set up TilePulseForTileMuonReceiver
from TileConditions.TileConditionsConf import TileCondToolNoiseSample
topSequence += CfgMgr.TilePulseForTileMuonReceiver('TilePulseForTileMuonReceiver'
# , OutputLevel = VERBOSE
, IntegerDigits = not jobproperties.Digitization.PileUpPremixing()
, UseCoolPedestal = False
, UseCoolPulseShapes = True
, TileCondToolPulseShape = TileCondToolMuRcvPulseShape
, TileRawChannelBuilderMF = TileMuRcvRawChannelBuilderMF)
, TileRawChannelBuilderMF = TileMuRcvRawChannelBuilderMF
, TileCondToolNoiseSample = TileCondToolNoiseSample (TileOnlineSampleNoise = ''))
if jobproperties.Digitization.PileUpPremixing and 'OverlayMT' in jobproperties.Digitization.experimentalDigi():
from OverlayCommonAlgs.OverlayFlags import overlayFlags
topSequence.TilePulseForTileMuonReceiver.MuonReceiverDigitsContainer = overlayFlags.bkgPrefix() + "MuRcvDigitsCnt"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment