CMS 3D CMS Logo

GlobalTrajectoryBuilderCommon_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
8 
9 GlobalTrajectoryBuilderCommon = cms.PSet(
10  MuonTrackingRegionCommon,
11  GlobalMuonTrackMatcher,
12  ScaleTECxFactor = cms.double(-1.0),
13  ScaleTECyFactor = cms.double(-1.0),
14  TrackerRecHitBuilder = cms.string('WithAngleAndTemplate'),
15  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
16  RefitRPCHits = cms.bool(True),
17  TrackTransformer = cms.PSet(
18  Fitter = cms.string('KFFitterForRefitInsideOut'),
19  TrackerRecHitBuilder = cms.string('WithAngleAndTemplate'),
20  Smoother = cms.string('KFSmootherForRefitInsideOut'),
21  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
22  RefitDirection = cms.string('alongMomentum'),
23  RefitRPCHits = cms.bool(True),
24  DoPredictionsOnly = cms.bool(False)
25  ),
26  PtCut = cms.double(1.0),
27  PCut = cms.double(2.5),
28  TrackerPropagator = cms.string('SteppingHelixPropagatorAny'),
29  GlbRefitterParameters = cms.PSet(
30  DTRecSegmentLabel = cms.InputTag("dt4DSegments"),
31  CSCRecSegmentLabel = cms.InputTag("cscSegments"),
32  GEMRecHitLabel = cms.InputTag("gemRecHits"),
33  ME0RecHitLabel = cms.InputTag("me0Segments"),
34  MuonHitsOption = cms.int32(1),
35  PtCut = cms.double(1.0),
36  Chi2ProbabilityCut = cms.double(30.0),
37  Chi2CutCSC = cms.double(150.0),
38  Chi2CutDT = cms.double(10.0),
39  Chi2CutGEM = cms.double(1.0),
40  Chi2CutME0 = cms.double(1.0),
41  Chi2CutRPC = cms.double(1.0),
42  HitThreshold = cms.int32(1),
43 
44  Fitter = cms.string('GlbMuKFFitter'),
45  Propagator = cms.string('SmartPropagatorAnyRK'),
46  TrackerRecHitBuilder = cms.string('WithAngleAndTemplate'),
47  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
48  DoPredictionsOnly = cms.bool(False),
49  RefitDirection = cms.string('insideOut'),
50  PropDirForCosmics = cms.bool(False),
51  RefitRPCHits = cms.bool(True),
52 
53  # DYT stuff
54  DYTthrs = cms.vint32(20, 30),
55  DYTselector = cms.int32(1),
56  DYTupdator = cms.bool(False),
57  DYTuseAPE = cms.bool(False),
58 
59  # muon station to be skipped
60  SkipStation = cms.int32(-1),
61 
62  # PXB = 1, PXF = 2, TIB = 3, TID = 4, TOB = 5, TEC = 6
63  TrackerSkipSystem = cms.int32(-1),
64 
65  # layer, wheel, or disk depending on the system
66  TrackerSkipSection = cms.int32(-1),
67 
68  RefitFlag = cms.bool(True)
69  ),
70 )
71 
72 # Switch back to GenericCPE until bias in template CPE gets fixed
73 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
74 phase1Pixel.toModify(GlobalTrajectoryBuilderCommon, # FIXME
75  TrackerRecHitBuilder = 'WithTrackAngle',
76  TrackTransformer = dict(TrackerRecHitBuilder = 'WithTrackAngle'),
77  GlbRefitterParameters = dict(TrackerRecHitBuilder = 'WithTrackAngle'),
78 )
79 
80 # This customization will be removed once we get the templates for
81 # phase2 pixel
82 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
83 phase2_tracker.toModify(GlobalTrajectoryBuilderCommon, # FIXME
84  TrackerRecHitBuilder = 'WithTrackAngle',
85  TrackTransformer = dict(TrackerRecHitBuilder = 'WithTrackAngle'),
86  GlbRefitterParameters = dict(TrackerRecHitBuilder = 'WithTrackAngle'),
87 )