File indexing completed on 2024-04-06 12:26:46
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from TrackingTools.TrackAssociator.default_cfi import *
0004 from TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff import *
0005
0006 muonMETValueMapProducer = cms.EDProducer("MuonMETValueMapProducer",
0007 TrackAssociatorParameterBlock,
0008 muonInputTag = cms.InputTag("muons"),
0009 beamSpotInputTag = cms.InputTag("offlineBeamSpot"),
0010 useTrackAssociatorPositions = cms.bool(True),
0011 useRecHits = cms.bool(False),
0012 useHO = cms.bool(False),
0013 isAlsoTkMu = cms.bool(True),
0014 towerEtThreshold = cms.double(0.3),
0015 minPt = cms.double(10.0),
0016 maxEta = cms.double(2.5),
0017 maxNormChi2 = cms.double(10.0),
0018 maxd0 = cms.double(0.2),
0019 minnHits = cms.int32(11),
0020 minnValidStaHits = cms.int32(1)
0021 )
0022 muonMETValueMapProducer.TrackAssociatorParameters.useEcal = False
0023 muonMETValueMapProducer.TrackAssociatorParameters.useHcal = False
0024 muonMETValueMapProducer.TrackAssociatorParameters.useHO = False
0025 muonMETValueMapProducer.TrackAssociatorParameters.useCalo = True
0026 muonMETValueMapProducer.TrackAssociatorParameters.useMuon = False
0027 muonMETValueMapProducer.TrackAssociatorParameters.truthMatch = False