Back to home page

Project CMSSW displayed by LXR

 
 

    


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), #if True, will use deposits in 3x3 recHits
0012      useHO             = cms.bool(False), #if True, will correct for deposits in HO
0013      isAlsoTkMu        = cms.bool(True),  #does the mu have to be a tracker mu?
0014      towerEtThreshold  = cms.double(0.3), #default MET calculated using towers with Et > 0.5 GeV only
0015      minPt             = cms.double(10.0),#min global Mu Pt is 10 GeV
0016      maxEta            = cms.double(2.5), #max global |Eta| is 2.4
0017      maxNormChi2       = cms.double(10.0),#max global chi2/ndof
0018      maxd0             = cms.double(0.2), #max global d0
0019      minnHits          = cms.int32(11),   #minimum # of si hits
0020      minnValidStaHits  = cms.int32(1)     #minimum # of valid hits in the muon system used in the global muon fit
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