CMS 3D CMS Logo

TTRHBuilderWithTemplate_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTracker.TransientTrackingRecHit.tkTransientTrackingRecHitBuilderESProducer_cfi import tkTransientTrackingRecHitBuilderESProducer
4 TTRHBuilderAngleAndTemplate = tkTransientTrackingRecHitBuilderESProducer.clone(StripCPE = 'StripCPEfromTrackAngle',
5  Phase2StripCPE = '',
6  ComponentName = 'WithAngleAndTemplate',
7  PixelCPE = 'PixelCPETemplateReco',
8  Matcher = 'StandardMatcher',
9  ComputeCoarseLocalPositionFromDisk = False)
10 
11 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
12 trackingPhase2PU140.toModify(TTRHBuilderAngleAndTemplate,
13  Phase2StripCPE = 'Phase2StripCPE',
14  StripCPE = 'FakeStripCPE')
15 
16 # uncomment these two lines to turn on Cluster Repair CPE
17 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
18 phase1Pixel.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEClusterRepair')
19 
20 # Turn off template reco for phase 2 (when not supported)
21 from Configuration.ProcessModifiers.PixelCPEGeneric_cff import PixelCPEGeneric
22 PixelCPEGeneric.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEGeneric')
23 
24 from Configuration.Eras.Modifier_phase2_brickedPixels_cff import phase2_brickedPixels
25 phase2_brickedPixels.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEGenericForBricked')
26