CMS 3D CMS Logo

GlobalMuonRefitter_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 GlobalMuonRefitter = cms.PSet(
4  DTRecSegmentLabel = cms.InputTag("dt1DRecHits"),
5  CSCRecSegmentLabel = cms.InputTag("csc2DRecHits"),
6  GEMRecHitLabel = cms.InputTag("gemRecHits"),
7  ME0RecHitLabel = cms.InputTag("me0Segments"),
8  RPCRecSegmentLabel = cms.InputTag("rpcRecHits"),
9 
10  MuonHitsOption = cms.int32(1),
11  PtCut = cms.double(1.0),
12  Chi2ProbabilityCut = cms.double(30.0),
13  Chi2CutCSC = cms.double(1.0),
14  Chi2CutDT = cms.double(30.0),
15  Chi2CutGEM = cms.double(1.0),
16  Chi2CutME0 = cms.double(1.0),
17  Chi2CutRPC = cms.double(1.0),
18  HitThreshold = cms.int32(1),
19 
20  Fitter = cms.string('KFFitterForRefitInsideOut'),
21  Smoother = cms.string('KFSmootherForRefitInsideOut'),
22  Propagator = cms.string('SmartPropagatorAnyRK'),
23  TrackerRecHitBuilder = cms.string('WithAngleAndTemplate'),
24  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
25  DoPredictionsOnly = cms.bool(False),
26  RefitDirection = cms.string('insideOut'),
27  PropDirForCosmics = cms.bool(False),
28  RefitRPCHits = cms.bool(True),
29 
30  # DYT stuff
31  DYTthrs = cms.vint32(10, 10),
32  DYTselector = cms.int32(1),
33  DYTupdator = cms.bool(True),
34  DYTuseAPE = cms.bool(False),
35  ## Parameters for DYT threshold parametrization
36  DYTuseThrsParametrization = cms.bool(True),
37  DYTthrsParameters = cms.PSet(
38  eta0p8 = cms.vdouble(1, -0.919853, 0.990742),
39  eta1p2 = cms.vdouble(1, -0.897354, 0.987738),
40  eta2p0 = cms.vdouble(4, -0.986855, 0.998516),
41  eta2p2 = cms.vdouble(1, -0.940342, 0.992955),
42  eta2p4 = cms.vdouble(1, -0.947633, 0.993762),
43  ),
44  # muon station to be skipped
45  SkipStation = cms.int32(-1),
46 
47  # PXB = 1, PXF = 2, TIB = 3, TID = 4, TOB = 5, TEC = 6
48  TrackerSkipSystem = cms.int32(-1),
49 
50  # layer, wheel, or disk depending on the system
51  TrackerSkipSection = cms.int32(-1),
52 
53  RefitFlag = cms.bool( True )
54 )
55 
56 # This customization will be removed once we get the templates for
57 # phase2 pixel
58 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
59 phase2_tracker.toModify(GlobalMuonRefitter, TrackerRecHitBuilder = 'WithTrackAngle') # FIXME
60 
61 from Configuration.Eras.Modifier_fastSim_cff import fastSim
62 # FastSim doesn't use Runge Kute for propagation
63 fastSim.toModify(GlobalMuonRefitter, Propagator = "SmartPropagatorAny")