Skip to content

Commit

Permalink
Switching 50 ns Run 2 configuration of HCAL noise filters to Run 1 mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor committed Apr 22, 2015
1 parent e09086f commit 5c88a01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Expand Up @@ -12,4 +12,4 @@

from Configuration.StandardSequences.Eras import eras
eras.run2_common.toModify(HBHENoiseFilterResultProducer, IgnoreTS4TS5ifJetInLowBVRegion=False)
eras.run2_common.toModify(HBHENoiseFilterResultProducer, defaultDecision="HBHENoiseFilterResultRun2Loose")
eras.run2_25ns_specific.toModify(HBHENoiseFilterResultProducer, defaultDecision="HBHENoiseFilterResultRun2Loose")
Expand Up @@ -49,6 +49,8 @@ def customisePostLS1(process):
# 25ns specific customisation
if hasattr(process,'digitisation_step'):
process = customise_Digi_25ns(process)
if hasattr(process,'dqmoffline_step'):
process = customise_DQM_25ns(process)

return process

Expand Down Expand Up @@ -100,9 +102,14 @@ def customise_DQM(process):
# Turn off flag of gangedME11a
process.l1tCsctf.gangedME11a = cms.untracked.bool(False)
# Turn off "low bias voltage" region in HCAL noise filters
# and switch the default decision
if hasattr(process,'HBHENoiseFilterResultProducer'):
process.HBHENoiseFilterResultProducer.IgnoreTS4TS5ifJetInLowBVRegion = cms.bool(False)
return process


def customise_DQM_25ns(process):
# Switch the default decision of the HCAL noise filter
if hasattr(process,'HBHENoiseFilterResultProducer'):
process.HBHENoiseFilterResultProducer.defaultDecision = cms.string("HBHENoiseFilterResultRun2Loose")
return process

Expand Down

0 comments on commit 5c88a01

Please sign in to comment.