CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TTRHBuilderWithTemplate_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 TTRHBuilderAngleAndTemplate = cms.ESProducer("TkTransientTrackingRecHitBuilderESProducer",
4  StripCPE = cms.string('StripCPEfromTrackAngle'),
5  ComponentName = cms.string('WithAngleAndTemplate'),
6  PixelCPE = cms.string('PixelCPETemplateReco'),
7  Matcher = cms.string('StandardMatcher'),
8  ComputeCoarseLocalPositionFromDisk = cms.bool(False),
9 )
10 
11 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
12 trackingPhase2PU140.toModify(TTRHBuilderAngleAndTemplate, Phase2StripCPE = cms.string('Phase2StripCPE'))
13 
14 # uncomment these two lines to turn on Cluster Repair CPE
15 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
16 phase1Pixel.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEClusterRepair')
17 
18 # Turn off template reco for phase 2 (when not supported)
19 from Configuration.ProcessModifiers.PixelCPEGeneric_cff import PixelCPEGeneric
20 PixelCPEGeneric.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEGeneric')
21 
22 from Configuration.Eras.Modifier_phase2_brickedPixels_cff import phase2_brickedPixels
23 phase2_brickedPixels.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEGenericForBricked')
24