-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix crashes in HGCAL HLT/RECO with v19 geometry #48303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 17 commits
93199b3
c6eb4e4
194cbbd
cccd9c4
40e3b92
3315d23
039e4b1
92fcd4a
408eae8
33a99de
04c42e0
9f9d6b5
b07d103
f2889df
8665f72
1eae11c
963a4d0
26c420c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,6 @@ | ||||||||||||||||||
| import FWCore.ParameterSet.Config as cms | ||||||||||||||||||
| from ..psets.hgcal_reco_constants_cfi import HGCAL_reco_constants as HGCAL_reco_constants | ||||||||||||||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||||||||||||||
|
|
||||||||||||||||||
| hltHGCalRecHit = cms.EDProducer("HGCalRecHitProducer", | ||||||||||||||||||
| HGCEE_cce = cms.PSet( | ||||||||||||||||||
|
|
@@ -59,3 +60,9 @@ | |||||||||||||||||
| thicknessCorrection = HGCAL_reco_constants.thicknessCorrection, | ||||||||||||||||||
| thicknessNoseCorrection = cms.vdouble(1.132, 1.092, 1.084) | ||||||||||||||||||
| ) | ||||||||||||||||||
|
|
||||||||||||||||||
| phase2_hgcalV19.toModify(hltHGCalRecHit, | ||||||||||||||||||
| HGCEE_fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[0:4]), | ||||||||||||||||||
| HGCHEF_fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[4:8]), | ||||||||||||||||||
| HGCHFNose_fCPerMIP = cms.vdouble(1.25, 2.57, 3.88, 2.57), | ||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||
| ) | ||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,6 @@ | ||||||||||||||||||||||||||||||||||||||
| import FWCore.ParameterSet.Config as cms | ||||||||||||||||||||||||||||||||||||||
| from ..psets.hgcal_reco_constants_cfi import HGCAL_reco_constants as HGCAL_reco_constants | ||||||||||||||||||||||||||||||||||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| hltHGCalUncalibRecHitL1Seeded = cms.EDProducer("HGCalUncalibRecHitProducer", | ||||||||||||||||||||||||||||||||||||||
| HGCEEConfig = cms.PSet( | ||||||||||||||||||||||||||||||||||||||
|
|
@@ -60,3 +61,20 @@ | |||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5 | ||||||||||||||||||||||||||||||||||||||
| ticl_v5.toModify(hltHGCalUncalibRecHitL1Seeded, computeLocalTime = cms.bool(True)) | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| _modifiedHGCEEConfig_v19 = hltHGCalUncalibRecHitL1Seeded.HGCEEConfig.clone( | ||||||||||||||||||||||||||||||||||||||
| fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[0:4]) | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
| _modifiedHGCHEFConfig_v19 = hltHGCalUncalibRecHitL1Seeded.HGCHEFConfig.clone( | ||||||||||||||||||||||||||||||||||||||
| fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[4:8]) | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
| _modifiedHGCHFNoseConfig_v19 = hltHGCalUncalibRecHitL1Seeded.HGCHFNoseConfig.clone( | ||||||||||||||||||||||||||||||||||||||
| fCPerMIP = cms.vdouble(1.25, 2.57, 3.88, 2.57) | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+65
to
+73
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| phase2_hgcalV19.toModify( | ||||||||||||||||||||||||||||||||||||||
| hltHGCalUncalibRecHitL1Seeded, | ||||||||||||||||||||||||||||||||||||||
| HGCEEConfig = _modifiedHGCEEConfig_v19, | ||||||||||||||||||||||||||||||||||||||
| HGCHEFConfig = _modifiedHGCHEFConfig_v19, | ||||||||||||||||||||||||||||||||||||||
| HGCHFNoseConfig = _modifiedHGCHFNoseConfig_v19 | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,6 @@ | ||||||||||||||||||||||||||||||||||||||
| import FWCore.ParameterSet.Config as cms | ||||||||||||||||||||||||||||||||||||||
| from ..psets.hgcal_reco_constants_cfi import HGCAL_reco_constants as HGCAL_reco_constants | ||||||||||||||||||||||||||||||||||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| hltHGCalUncalibRecHit = cms.EDProducer("HGCalUncalibRecHitProducer", | ||||||||||||||||||||||||||||||||||||||
|
|
@@ -61,3 +62,21 @@ | |||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5 | ||||||||||||||||||||||||||||||||||||||
| ticl_v5.toModify(hltHGCalUncalibRecHit, computeLocalTime = cms.bool(True)) | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| _modifiedHGCEEConfig_v19 = hltHGCalUncalibRecHit.HGCEEConfig.clone( | ||||||||||||||||||||||||||||||||||||||
| fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[0:4]) | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
| _modifiedHGCHEFConfig_v19 = hltHGCalUncalibRecHit.HGCHEFConfig.clone( | ||||||||||||||||||||||||||||||||||||||
| fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[4:8]) | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
| _modifiedHGCHFNoseConfig_v19 = hltHGCalUncalibRecHit.HGCHFNoseConfig.clone( | ||||||||||||||||||||||||||||||||||||||
| fCPerMIP = cms.vdouble(1.25, 2.57, 3.88, 2.57) | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+67
to
+75
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| phase2_hgcalV19.toModify( | ||||||||||||||||||||||||||||||||||||||
| hltHGCalUncalibRecHit, | ||||||||||||||||||||||||||||||||||||||
| HGCEEConfig = _modifiedHGCEEConfig_v19, | ||||||||||||||||||||||||||||||||||||||
| HGCHEFConfig = _modifiedHGCHEFConfig_v19, | ||||||||||||||||||||||||||||||||||||||
| HGCHFNoseConfig = _modifiedHGCHFNoseConfig_v19 | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,8 @@ | ||||||
| import FWCore.ParameterSet.Config as cms | ||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||
|
|
||||||
| HGCAL_chargeCollectionEfficiencies = cms.PSet( | ||||||
| values = cms.vdouble(1.0, 1.0, 1.0) | ||||||
| ) | ||||||
| ) | ||||||
|
|
||||||
| phase2_hgcalV19.toModify(HGCAL_chargeCollectionEfficiencies, values = cms.vdouble(1.0, 1.0,1.0,1.0)) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,12 @@ | ||||||
| import FWCore.ParameterSet.Config as cms | ||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||
|
|
||||||
| HGCAL_noise_fC = cms.PSet( | ||||||
| doseMap = cms.string(''), | ||||||
| scaleByDose = cms.bool(False), | ||||||
| scaleByDoseAlgo = cms.uint32(0), | ||||||
| scaleByDoseFactor = cms.double(1), | ||||||
| values = cms.vdouble(0.32041011999999996, 0.384492144, 0.32041011999999996) | ||||||
| ) | ||||||
| ) | ||||||
|
|
||||||
| phase2_hgcalV19.toModify(HGCAL_noise_fC , values = cms.vdouble(0.32041011999999996, 0.384492144, 0.32041011999999996, 0.384492144)) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,5 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import FWCore.ParameterSet.Config as cms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HGCAL_reco_constants = cms.PSet( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dEdXweights = cms.vdouble( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -38,6 +39,23 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| referenceXtalk = cms.double(-1), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| noise_MIP = cms.double(0.01) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| numberOfThicknesses = cms.uint32(3) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| phase2_hgcalV19.toModify(HGCAL_reco_constants, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| thicknessCorrection = cms.vdouble(0.75, 0.76, 0.75, 0.76, 0.85, 0.85, 0.84, 0.85) , #CEE_12_HD, CEE_200_LD, CEE_300_LD, CEE_200_HD,CEH_12_HD, CEH_200_LD, CEH_300_LD, CEH_200_HD, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fcPerMip = cms.vdouble( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2.06, 3.43, 5.15, 3.43, 2.06, 3.43, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5.15, 3.43 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| noises = cms.vdouble( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2000.0, 2400.0, 2000.0, 2400.0, 2000.0, 2400.0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2000.0, 2400. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| numberOfThicknesses = cms.uint32(4), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| maxNumberOfThickIndices = cms.uint32(8), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| thresholdW0 = cms.vdouble(2.9, 2.9, 2.9, 2.9), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+48
to
+61
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,4 +1,5 @@ | ||||||
| import FWCore.ParameterSet.Config as cms | ||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||
|
|
||||||
| hgceeDigitizer = cms.PSet( | ||||||
| NoiseGeneration_Method = cms.bool(True), | ||||||
|
|
@@ -63,4 +64,6 @@ | |||||
| tofDelay = cms.double(5), | ||||||
| useAllChannels = cms.bool(True), | ||||||
| verbosity = cms.untracked.uint32(0) | ||||||
| ) | ||||||
| ) | ||||||
|
|
||||||
| phase2_hgcalV19.toModify(hgceeDigitizer.digiCfg.feCfg, tdcForToAOnset_fC= cms.vdouble(12.,12.,12.,12.)) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,4 +1,5 @@ | ||||||
| import FWCore.ParameterSet.Config as cms | ||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||
|
|
||||||
| hgchebackDigitizer = cms.PSet( | ||||||
| NoiseGeneration_Method = cms.bool(True), | ||||||
|
|
@@ -61,4 +62,6 @@ | |||||
| tofDelay = cms.double(1), | ||||||
| useAllChannels = cms.bool(True), | ||||||
| verbosity = cms.untracked.uint32(0) | ||||||
| ) | ||||||
| ) | ||||||
|
|
||||||
| phase2_hgcalV19.toModify(hgchebackDigitizer.digiCfg.feCfg, tdcForToAOnset_fC = cms.vdouble(12.,12.,12.,12.)) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,4 +1,5 @@ | ||||||
| import FWCore.ParameterSet.Config as cms | ||||||
| from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19 | ||||||
|
|
||||||
| hgchefrontDigitizer = cms.PSet( | ||||||
| NoiseGeneration_Method = cms.bool(True), | ||||||
|
|
@@ -62,4 +63,6 @@ | |||||
| tofDelay = cms.double(5), | ||||||
| useAllChannels = cms.bool(True), | ||||||
| verbosity = cms.untracked.uint32(0) | ||||||
| ) | ||||||
| ) | ||||||
|
|
||||||
| phase2_hgcalV19.toModify(hgchefrontDigitizer.digiCfg.feCfg, tdcForToAOnset_fC = cms.vdouble(12.,12.,12.,12.)) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.