Skip to content

Commit

Permalink
take comment on customization
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Nov 29, 2019
1 parent 21f591a commit 5843d3c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5843d3c

Please sign in to comment.