CMS 3D CMS Logo

PixelCPEGeneric_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoLocalTracker.SiPixelRecHits._generic_default_cfi import _generic_default
4 PixelCPEGenericESProducer = _generic_default.clone()
5 
6 # This customizes the Run3 Pixel CPE generic reconstruction in order to activate the IrradiationBiasCorrection
7 # because of the expected resolution loss due to radiation damage
8 from Configuration.Eras.Modifier_run3_common_cff import run3_common
9 run3_common.toModify(PixelCPEGenericESProducer, IrradiationBiasCorrection = True)
10 
11 # This customization will be removed once we get the templates for phase2 pixel
12 # FIXME::Is the Upgrade variable actually used?
13 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
14 phase2_tracker.toModify(PixelCPEGenericESProducer,
15  UseErrorsFromTemplates = False,
16  LoadTemplatesFromDB = False,
17  TruncatePixelCharge = False,
18  IrradiationBiasCorrection = False,
19  DoCosmics = False,
20  Upgrade = cms.bool(True)
21 )