Skip to content

Commit

Permalink
debugging customization for realistic startup
Browse files Browse the repository at this point in the history
  • Loading branch information
pfs committed Nov 4, 2019
1 parent ce21f09 commit 1c9aaaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions SLHCUpgradeSimulations/Configuration/python/aging.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ def agedHGCal(process,algo=0):
process = HGCal_setEndOfLifeNoise(process,byDose=True,byDoseAlgo=algo)
return process

def realisticHGCalStartup(process):
from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import HGCal_setRealisticStartupNoise
process = HGCal_setRealisticStartupNoise(process)
return process


# needs lumi to set proper ZS thresholds (tbd)
def ageSiPM(process,turnon,lumi):
process.es_hardcode.hbUpgrade.doRadiationDamage = turnon
Expand Down

0 comments on commit 1c9aaaf

Please sign in to comment.