Skip to content

Commit 93199b3

Browse files
committed
initial fixes with procModifier v19
1 parent 564afd0 commit 93199b3

File tree

5 files changed

+44
-2
lines changed

5 files changed

+44
-2
lines changed

HLTrigger/Configuration/python/HLT_75e33/modules/hltHGCalRecHitL1Seeded_cfi.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import FWCore.ParameterSet.Config as cms
22
from ..psets.hgcal_reco_constants_cfi import HGCAL_reco_constants as HGCAL_reco_constants
3+
from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19
34

45

56
hltHGCalRecHitL1Seeded = cms.EDProducer("HGCalRecHitProducer",
@@ -60,3 +61,9 @@
6061
thicknessCorrection = HGCAL_reco_constants.thicknessCorrection,
6162
thicknessNoseCorrection = cms.vdouble(1.132, 1.092, 1.084)
6263
)
64+
65+
phase2_hgcalV19.toModify(hltHGCalRecHitL1Seeded,
66+
HGCEE_fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[0:4]),
67+
HGCHEF_fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[4:8]),
68+
HGCHFNose_fCPerMIP = cms.vdouble(1.25, 2.57, 3.88, 2.57),
69+
)

HLTrigger/Configuration/python/HLT_75e33/modules/hltHGCalRecHit_cfi.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import FWCore.ParameterSet.Config as cms
22
from ..psets.hgcal_reco_constants_cfi import HGCAL_reco_constants as HGCAL_reco_constants
3+
from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19
34

45
hltHGCalRecHit = cms.EDProducer("HGCalRecHitProducer",
56
HGCEE_cce = cms.PSet(
@@ -59,3 +60,9 @@
5960
thicknessCorrection = HGCAL_reco_constants.thicknessCorrection,
6061
thicknessNoseCorrection = cms.vdouble(1.132, 1.092, 1.084)
6162
)
63+
64+
phase2_hgcalV19.toModify(hltHGCalRecHit,
65+
HGCEE_fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[0:4]),
66+
HGCHEF_fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[4:8]),
67+
HGCHFNose_fCPerMIP = cms.vdouble(1.25, 2.57, 3.88, 2.57),
68+
)

HLTrigger/Configuration/python/HLT_75e33/psets/hgcal_reco_constants_cfi.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import FWCore.ParameterSet.Config as cms
2+
from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19
23

34
HGCAL_reco_constants = cms.PSet(
45
dEdXweights = cms.vdouble(
@@ -38,6 +39,22 @@
3839
referenceXtalk = cms.double(-1),
3940
noise_MIP = cms.double(0.01)
4041
),
42+
numberOfThicknesses = cms.uint32(3)
4143

4244
)
4345

46+
47+
48+
phase2_hgcalV19.toModify(HGCAL_reco_constants,
49+
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,
50+
fcPerMip = cms.vdouble(
51+
2.06, 3.43, 5.15, 3.43, 2.06, 3.43,
52+
5.15, 3.43
53+
),
54+
noises = cms.vdouble(
55+
2000.0, 2400.0, 2000.0, 2400.0, 2000.0, 2400.0,
56+
2000.0, 2400.
57+
),
58+
numberOfThicknesses = cms.uint32(4)
59+
)
60+

L1Trigger/L1THGCal/python/l1tHGCalVFEProducer_cfi.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import RecoLocalCalo.HGCalRecProducers.HGCalUncalibRecHit_cfi as recoparam
55
import RecoLocalCalo.HGCalRecProducers.HGCalRecHit_cfi as recocalibparam
66
from . import hgcalLayersCalibrationCoefficients_cfi as layercalibparam
7-
7+
from HLTrigger.Configuration.HLT_75e33.psets.hgcal_reco_constants_cfi import HGCAL_reco_constants as HGCAL_reco_constants
88

99
feCfg_si = digiparam.hgceeDigitizer.digiCfg.feCfg
1010
feCfg_sc = digiparam.hgchebackDigitizer.digiCfg.feCfg
@@ -71,7 +71,13 @@
7171
thicknessCorrectionSc = recocalibparam.HGCalRecHit.sciThicknessCorrection
7272
thicknessCorrectionNose = recocalibparam.HGCalRecHit.thicknessNoseCorrection
7373

74-
NTHICKNESS = 3
74+
NTHICKNESS = HGCAL_reco_constants.numberOfThicknesses.value()
75+
# Silicon thickness correction in HGCalRecHit_cfi.py is in the form:
76+
# [CE_E_120um, CE_E_200um, CE_E_300um, CE_H_120um, CE_H_200um, CE_H_300um]
77+
# While here there are two different sets for CE-E and CE-H
78+
# Additionally there are four values for each set, in order to follow the four detid silicon types [HD120um, LD200um, LD300um, HD200um]
79+
# The thickness correction value for HD200um is copied from LD200um
80+
>>>>>>> 3135ca68949 (initial fixes with procModifier v19)
7581
calibration_params_ee = cms.PSet(
7682
lsb = cms.double(triggerCellLsbBeforeCompression_si),
7783
fCperMIP = fCperMIPee,

SimCalorimetry/HGCalSimProducers/python/hgcalDigitizer_cfi.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,11 @@ def HGCal_disableNoise(process):
383383
phase2_hgcalV10.toModify(HGCAL_noise_fC, values = [x*fC_per_ele for x in nonAgedNoises_v9])
384384
phase2_hgcalV10.toModify(HGCAL_noises, values = [x for x in nonAgedNoises_v9])
385385

386+
from Configuration.Eras.Modifier_phase2_hgcalV19_cff import phase2_hgcalV19
387+
388+
phase2_hgcalV19.toModify(HGCAL_noise_fC, values = [x*fC_per_ele for x in nonAgedNoises_v9])
389+
phase2_hgcalV19.toModify(HGCAL_noises, values = [x for x in nonAgedNoises_v9])
390+
386391
def HFNose_setEndOfLifeNoise(process,byDose=True,byDoseAlgo=0,byDoseFactor=1):
387392
"""includes all effects from radiation and gain choice"""
388393
# byDoseAlgo is used as a collection of bits to toggle: FLUENCE, CCE, NOISE, PULSEPERGAIN, CACHEDOP (from lsb to Msb)

0 commit comments

Comments
 (0)