1 import FWCore.ParameterSet.Config
as cms
3 from RecoLocalTracker.SiPixelRecHits._generic_default_cfi
import _generic_default
4 PixelCPEGenericESProducer = _generic_default.clone()
8 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
9 run3_common.toModify(PixelCPEGenericESProducer, IrradiationBiasCorrection =
True)
12 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
13 phase2_tracker.toModify(PixelCPEGenericESProducer,
14 UseErrorsFromTemplates =
True,
15 LoadTemplatesFromDB =
True,
16 NoTemplateErrorsWhenNoTrkAngles =
True,
17 TruncatePixelCharge =
False,
18 IrradiationBiasCorrection =
False,
21 xerr_barrel_ln = [0.00025, 0.00030, 0.00035, 0.00035],
22 xerr_barrel_ln_def = 0.00035,
23 yerr_barrel_ln = [0.00210, 0.00115, 0.00125],
24 yerr_barrel_ln_def = 0.00125,
25 xerr_endcap = [0.00072, 0.00025],
26 xerr_endcap_def = 0.00060,
27 yerr_endcap = [0.00289, 0.00025],
28 yerr_endcap_def = 0.00180,
35 xerr_barrel_l1 = [0.00025, 0.00030, 0.00035, 0.00035],
36 xerr_barrel_l1_def = 0.00035,
37 yerr_barrel_l1 = [0.00210, 0.00115, 0.00125],
38 yerr_barrel_l1_def = 0.00125
43 from Configuration.Eras.Modifier_phase2_3DPixels_cff
import phase2_3DPixels
44 from Configuration.ProcessModifiers.PixelCPEGeneric_cff
import PixelCPEGeneric
45 (phase2_tracker & (phase2_3DPixels & PixelCPEGeneric)).toModify(PixelCPEGenericESProducer,
46 UseErrorsFromTemplates =
False,
47 LoadTemplatesFromDB =
False
53 from Configuration.Eras.Modifier_phase2_squarePixels_cff
import phase2_squarePixels
54 (phase2_tracker & (phase2_squarePixels | phase2_3DPixels)).toModify(PixelCPEGenericESProducer,
55 NoTemplateErrorsWhenNoTrkAngles =
False
58 from Configuration.Eras.Modifier_phase2_brickedPixels_cff
import phase2_brickedPixels
59 (phase2_tracker & phase2_brickedPixels ).toModify(PixelCPEGenericESProducer,
60 ComponentName =
'PixelCPEGenericForBricked',
61 UseErrorsFromTemplates =
False,
62 LoadTemplatesFromDB =
False,