CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
inOutSeedsFromTrackerMuons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 inOutSeedsFromTrackerMuons = cms.EDProducer("MuonReSeeder",
4  ## Input collection of muons, and selection. track.isNonnull is implicit.
5  src = cms.InputTag("muons"),
6  cut = cms.string("pt > 2"),
7  ## Keep at most these layers from the tracker track of the muon
8  layersToKeep = cms.int32(5),
9  ## Use the inner part of the tracker track to make a seed
10  insideOut = cms.bool(True),
11  #### Turn on verbose debugging (to be removed at the end)
12  debug = cms.untracked.bool(False),
13  ## Configuration for the refitter
14  DoPredictionsOnly = cms.bool(False),
15  Fitter = cms.string('KFFitterForRefitInsideOut'),
16  TrackerRecHitBuilder = cms.string('WithAngleAndTemplate'),
17  Smoother = cms.string('KFSmootherForRefitInsideOut'),
18  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
19  RefitDirection = cms.string('alongMomentum'),
20  RefitRPCHits = cms.bool(True),
21  Propagator = cms.string('SmartPropagatorAnyRKOpposite'),
22 )
23 
24 # Switch back to GenericCPE until bias in template CPE gets fixed
25 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
26 phase1Pixel.toModify(inOutSeedsFromTrackerMuons, TrackerRecHitBuilder = 'WithTrackAngle') # FIXME
27 
28 # This customization will be removed once we get the templates for
29 # phase2 pixel
30 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
31 phase2_tracker.toModify(inOutSeedsFromTrackerMuons, TrackerRecHitBuilder = 'WithTrackAngle') # FIXME
32