Skip to content

Commit

Permalink
Update customizeSiStripAPVDynamicGainSimulation for premixing
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterdavid authored and mmusich committed Nov 29, 2019
1 parent 98e933e commit 21f591a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ 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)
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)

if not hasattr(process.GlobalTag,'toGet'):
process.GlobalTag.toGet=cms.VPSet()
Expand Down

0 comments on commit 21f591a

Please sign in to comment.