Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def GlobalTrackQualityProducer(**kwargs):
0004   mod = cms.EDProducer('GlobalTrackQualityProducer',
0005     ServiceParameters = cms.PSet(),
0006     GlobalMuonTrackMatcher = cms.PSet(),
0007     InputCollection = cms.InputTag('globalMuons'),
0008     InputLinksCollection = cms.InputTag('globalMuons'),
0009     BaseLabel = cms.string('GLB'),
0010     RefitterParameters = cms.PSet(
0011       DTRecSegmentLabel = cms.InputTag('dt1DRecHits'),
0012       CSCRecSegmentLabel = cms.InputTag('csc2DRecHits'),
0013       GEMRecHitLabel = cms.InputTag('gemRecHits'),
0014       ME0RecHitLabel = cms.InputTag('me0Segments'),
0015       RPCRecSegmentLabel = cms.InputTag('rpcRecHits'),
0016       Fitter = cms.string('KFFitterForRefitInsideOut'),
0017       Smoother = cms.string('KFSmootherForRefitInsideOut'),
0018       Propagator = cms.string('SmartPropagatorAnyRK'),
0019       TrackerRecHitBuilder = cms.string('WithAngleAndTemplate'),
0020       MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
0021       DoPredictionsOnly = cms.bool(False),
0022       RefitDirection = cms.string('insideOut'),
0023       PropDirForCosmics = cms.bool(False),
0024       RefitRPCHits = cms.bool(True),
0025       DYTthrs = cms.vint32(
0026         10,
0027         10
0028       ),
0029       DYTselector = cms.int32(1),
0030       DYTupdator = cms.bool(False),
0031       DYTuseAPE = cms.bool(False),
0032       DYTuseThrsParametrization = cms.bool(True),
0033       DYTthrsParameters = cms.PSet(
0034         eta0p8 = cms.vdouble(
0035           1,
0036           -0.919853,
0037           0.990742
0038         ),
0039         eta1p2 = cms.vdouble(
0040           1,
0041           -0.897354,
0042           0.987738
0043         ),
0044         eta2p0 = cms.vdouble(
0045           4,
0046           -0.986855,
0047           0.998516
0048         ),
0049         eta2p2 = cms.vdouble(
0050           1,
0051           -0.940342,
0052           0.992955
0053         ),
0054         eta2p4 = cms.vdouble(
0055           1,
0056           -0.947633,
0057           0.993762
0058         )
0059       ),
0060       SkipStation = cms.int32(-1),
0061       TrackerSkipSystem = cms.int32(-1),
0062       TrackerSkipSection = cms.int32(-1),
0063       RefitFlag = cms.bool(True)
0064     ),
0065     nSigma = cms.double(3),
0066     MaxChi2 = cms.double(100000),
0067     mightGet = cms.optional.untracked.vstring
0068   )
0069   for k,v in kwargs.items():
0070     setattr(mod, k, v)
0071   return mod