File indexing completed on 2024-04-06 12:26:24
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from RecoLocalTracker.SiPixelRecHits._generic_default_cfi import _generic_default
0004 PixelCPEGenericESProducer = _generic_default.clone()
0005
0006
0007
0008 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0009 run3_common.toModify(PixelCPEGenericESProducer, IrradiationBiasCorrection = True)
0010
0011
0012 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0013 phase2_tracker.toModify(PixelCPEGenericESProducer,
0014 UseErrorsFromTemplates = True,
0015 LoadTemplatesFromDB = True,
0016 NoTemplateErrorsWhenNoTrkAngles = True,
0017 TruncatePixelCharge = False,
0018 IrradiationBiasCorrection = False,
0019 DoCosmics = False,
0020 isPhase2 = True,
0021 xerr_barrel_ln = [0.00025, 0.00030, 0.00035, 0.00035],
0022 xerr_barrel_ln_def = 0.00035,
0023 yerr_barrel_ln = [0.00210, 0.00115, 0.00125],
0024 yerr_barrel_ln_def = 0.00125,
0025 xerr_endcap = [0.00072, 0.00025],
0026 xerr_endcap_def = 0.00060,
0027 yerr_endcap = [0.00289, 0.00025],
0028 yerr_endcap_def = 0.00180,
0029
0030
0031
0032
0033
0034
0035 xerr_barrel_l1 = [0.00025, 0.00030, 0.00035, 0.00035],
0036 xerr_barrel_l1_def = 0.00035,
0037 yerr_barrel_l1 = [0.00210, 0.00115, 0.00125],
0038 yerr_barrel_l1_def = 0.00125
0039 )
0040
0041
0042
0043 from Configuration.Eras.Modifier_phase2_3DPixels_cff import phase2_3DPixels
0044 from Configuration.ProcessModifiers.PixelCPEGeneric_cff import PixelCPEGeneric
0045 (phase2_tracker & (phase2_3DPixels & PixelCPEGeneric)).toModify(PixelCPEGenericESProducer,
0046 UseErrorsFromTemplates = False,
0047 LoadTemplatesFromDB = False
0048 )
0049
0050
0051
0052
0053 from Configuration.Eras.Modifier_phase2_squarePixels_cff import phase2_squarePixels
0054 (phase2_tracker & (phase2_squarePixels | phase2_3DPixels)).toModify(PixelCPEGenericESProducer,
0055 NoTemplateErrorsWhenNoTrkAngles = False
0056 )