From 5843d3cf4f78a9bb75e7af3b189cbaa4c45c716a Mon Sep 17 00:00:00 2001 From: mmusich Date: Thu, 19 Sep 2019 16:38:24 +0200 Subject: [PATCH] take comment on customization --- .../python/customizeSiStripAPVDynamicGainSimulation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SimTracker/SiStripDigitizer/python/customizeSiStripAPVDynamicGainSimulation.py b/SimTracker/SiStripDigitizer/python/customizeSiStripAPVDynamicGainSimulation.py index 5078a708b72fd..b0fa723bd08bd 100644 --- a/SimTracker/SiStripDigitizer/python/customizeSiStripAPVDynamicGainSimulation.py +++ b/SimTracker/SiStripDigitizer/python/customizeSiStripAPVDynamicGainSimulation.py @@ -7,10 +7,10 @@ def activateSiStripAPVDynamicGain(process): if hasattr(process,'mix') and hasattr(process.mix,'digitizers') and hasattr(process.mix.digitizers,'strip'): print("activating SiStrip APV Dynamic Gain simulation") - process.mix.digitizers.strip.includeAPVSimulation = cms.bool(True) + process.mix.digitizers.strip.includeAPVSimulation = True if hasattr(process, "mixData") and hasattr(process.mixData, "workers") and hasattr(process.mixData.workers, "strip"): print("activating SiStrip APV Dynamic Gain simulation (premixing)") - process.mixData.workers.strip.includeAPVSimulation = cms.bool(True) + process.mixData.workers.strip.includeAPVSimulation = True if not hasattr(process.GlobalTag,'toGet'): process.GlobalTag.toGet=cms.VPSet()