Skip to content

Commit

Permalink
Merge pull request #26139 from abdoulline/Run3_DBconditions_10_6_X
Browse files Browse the repository at this point in the history
Switching HCAL Run3 MC to DB conditions
  • Loading branch information
cmsbuild committed Mar 15, 2019
2 parents 560e944 + 19260f9 commit c24591c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Expand Up @@ -220,6 +220,8 @@
from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff import run2_HEPlan1_2017
from Configuration.Eras.Modifier_run2_HCAL_2018_cff import run2_HCAL_2018
from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal

run2_HCAL_2017.toModify( es_hardcode, useLayer0Weight = cms.bool(True), useIeta18depth1 = cms.bool(False) )
run2_HF_2017.toModify( es_hardcode, useHFUpgrade = cms.bool(True) )
Expand All @@ -228,9 +230,6 @@

run2_HCAL_2018.toModify( es_hardcode, useLayer0Weight = cms.bool(True), useIeta18depth1 = cms.bool(False) )
run3_HB.toModify( es_hardcode, useHBUpgrade = cms.bool(True), HBreCalibCutoff = cms.double(100.0) )
# now that we have an emap
run3_HB.toModify( es_hardcode, toGet = cms.untracked.vstring(_toGet_noEmap), )

from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
phase2_hcal.toModify( es_hardcode, toGet = cms.untracked.vstring(_toGet_noEmap))
phase2_hgcal.toModify( es_hardcode, killHE = cms.bool(True) )

4 changes: 3 additions & 1 deletion Configuration/Eras/python/Era_Phase2_cff.py
Expand Up @@ -10,5 +10,7 @@
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
from Configuration.Eras.Modifier_hcalHardcodeConditions_cff import hcalHardcodeConditions

Phase2 = cms.ModifierChain(Run3.copyAndExclude([phase1Pixel,trackingPhase1]), phase2_common, phase2_tracker, trackingPhase2PU140, phase2_ecal, phase2_hcal, phase2_hgcal, phase2_muon)

Phase2 = cms.ModifierChain(Run3.copyAndExclude([phase1Pixel,trackingPhase1]), phase2_common, phase2_tracker, trackingPhase2PU140, phase2_ecal, phase2_hcal, phase2_hgcal, phase2_muon, hcalHardcodeConditions)
3 changes: 1 addition & 2 deletions Configuration/Eras/python/Era_Run3_cff.py
Expand Up @@ -5,7 +5,6 @@
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
from Configuration.Eras.Modifier_hcalHardcodeConditions_cff import hcalHardcodeConditions

Run3 = cms.ModifierChain(Run2_2018.copyAndExclude([run2_GEM_2017]), run3_common, run3_GEM, run3_HB, hcalHardcodeConditions)
Run3 = cms.ModifierChain(Run2_2018.copyAndExclude([run2_GEM_2017]), run3_common, run3_GEM, run3_HB)

0 comments on commit c24591c

Please sign in to comment.