Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-10-28 23:11:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoTracker.TransientTrackingRecHit.tkTransientTrackingRecHitBuilderESProducer_cfi import tkTransientTrackingRecHitBuilderESProducer
0004 TTRHBuilderAngleAndTemplate = tkTransientTrackingRecHitBuilderESProducer.clone(StripCPE = 'StripCPEfromTrackAngle',
0005                                                                                Phase2StripCPE = '',
0006                                                                                ComponentName = 'WithAngleAndTemplate',
0007                                                                                PixelCPE = 'PixelCPETemplateReco',
0008                                                                                Matcher = 'StandardMatcher',
0009                                                                                ComputeCoarseLocalPositionFromDisk = False)
0010 
0011 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
0012 trackingPhase2PU140.toModify(TTRHBuilderAngleAndTemplate, 
0013                              Phase2StripCPE = 'Phase2StripCPE',
0014                              StripCPE = 'FakeStripCPE')
0015 
0016 # uncomment these two lines to turn on Cluster Repair CPE
0017 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0018 phase1Pixel.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEClusterRepair')
0019 
0020 TTRHBuilderAngleAndTemplateWithoutProbQ = TTRHBuilderAngleAndTemplate.clone(ComponentName = 'WithAngleAndTemplateWithoutProbQ')
0021 phase1Pixel.toModify(TTRHBuilderAngleAndTemplateWithoutProbQ, PixelCPE = 'PixelCPEClusterRepairWithoutProbQ')
0022 
0023 # Turn off template reco for phase 2 (when not supported)
0024 from Configuration.ProcessModifiers.PixelCPEGeneric_cff import PixelCPEGeneric
0025 PixelCPEGeneric.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEGeneric')
0026 PixelCPEGeneric.toModify(TTRHBuilderAngleAndTemplateWithoutProbQ, PixelCPE = 'PixelCPEGeneric')