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,
25 from Configuration.Eras.Modifier_phase2_3DPixels_cff
import phase2_3DPixels
26 from Configuration.ProcessModifiers.PixelCPEGeneric_cff
import PixelCPEGeneric
27 (phase2_tracker & (phase2_3DPixels & PixelCPEGeneric)).toModify(PixelCPEGenericESProducer,
28 UseErrorsFromTemplates =
False,
29 LoadTemplatesFromDB =
False,
36 from Configuration.Eras.Modifier_phase2_squarePixels_cff
import phase2_squarePixels
37 (phase2_tracker & (phase2_squarePixels | phase2_3DPixels)).toModify(PixelCPEGenericESProducer,
38 NoTemplateErrorsWhenNoTrkAngles =
False