CMS 3D CMS Logo

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.phase2_PixelCPEGeneric_cff import phase2_PixelCPEGeneric
20 phase2_PixelCPEGeneric.toModify(TTRHBuilderAngleAndTemplate, PixelCPE = 'PixelCPEGeneric')