CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatAlgos/python/producersLayer1/muonProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 patMuons = cms.EDProducer("PATMuonProducer",
00004     # input
00005     muonSource      = cms.InputTag("muons"),
00006 
00007     # use particle flow instead of std reco
00008     useParticleFlow =  cms.bool( False ),
00009     pfMuonSource    = cms.InputTag("particleFlow"),
00010 
00011     # add user data
00012     userData = cms.PSet(
00013       # add custom classes here
00014       userClasses = cms.PSet(
00015         src = cms.VInputTag('')
00016       ),
00017       # add doubles here
00018       userFloats = cms.PSet(
00019         src = cms.VInputTag('')
00020       ),
00021       # add ints here
00022       userInts = cms.PSet(
00023         src = cms.VInputTag('')
00024       ),
00025       # add candidate ptrs here
00026       userCands = cms.PSet(
00027         src = cms.VInputTag('')
00028       ),
00029       # add "inline" functions here
00030       userFunctions = cms.vstring(),
00031       userFunctionLabels = cms.vstring()
00032     ),
00033 
00034     # embedding objects
00035     embedMuonBestTrack          = cms.bool(True),  ## embed in AOD externally stored muon best track
00036     embedImprovedMuonBestTrack  = cms.bool(True),  ## embed in AOD externally stored muon best track, with new tuneP (option available only in 53X)
00037     embedTrack          = cms.bool(False), ## embed in AOD externally stored tracker track
00038     embedCombinedMuon   = cms.bool(True),  ## embed in AOD externally stored combined muon track
00039     embedStandAloneMuon = cms.bool(True),  ## embed in AOD externally stored standalone muon track
00040     embedPickyMuon      = cms.bool(True),  ## embed in AOD externally stored TeV-refit picky muon track
00041     embedTpfmsMuon      = cms.bool(True),  ## embed in AOD externally stored TeV-refit TPFMS muon track
00042     embedDytMuon        = cms.bool(True),  ## embed in AOD externally stored TeV-refit DYT muon track
00043     embedPFCandidate    = cms.bool(True),  ## embed in AOD externally stored particle flow candidate
00044 
00045     # embedding of muon MET corrections for caloMET
00046     embedCaloMETMuonCorrs = cms.bool(True),
00047     caloMETMuonCorrs = cms.InputTag("muonMETValueMapProducer"  , "muCorrData"),
00048     # embedding of muon MET corrections for tcMET
00049     embedTcMETMuonCorrs   = cms.bool(True),
00050     tcMETMuonCorrs   = cms.InputTag("muonTCMETValueMapProducer", "muCorrData"),
00051 
00052     # embed IsoDeposits
00053     isoDeposits = cms.PSet(
00054         #user    = cms.VInputTag(
00055         #             cms.InputTag("muIsoDepositCalByAssociatorTowers","ho"),
00056         #             cms.InputTag("muIsoDepositJets")
00057         #          ),
00058     ),
00059 
00060     # user defined isolation variables the variables defined here will be accessible
00061     # via pat::Muon::userIsolation(IsolationKeys key) with the key as defined in
00062     # DataFormats/PatCandidates/interface/Isolation.h
00063     userIsolation = cms.PSet(
00064         #user = cms.VPSet(cms.PSet(
00065         #    src = cms.InputTag("muIsoDepositCalByAssociatorTowers","ho"),
00066         #    deltaR = cms.double(0.3)
00067         #    ),
00068         #    cms.PSet(
00069         #        src = cms.InputTag("muIsoDepositJets"),
00070         #        deltaR = cms.double(0.3)
00071         #    )),
00072     ),
00073 
00074     # mc matching
00075     addGenMatch   = cms.bool(True),
00076     embedGenMatch = cms.bool(True),
00077     genParticleMatch = cms.InputTag("muonMatch"), ## particles source to be used for the matching
00078 
00079     # efficiencies
00080     addEfficiencies = cms.bool(False),
00081     efficiencies    = cms.PSet(),
00082 
00083     # resolution configurables
00084     addResolutions  = cms.bool(False),
00085     resolutions      = cms.PSet(),
00086 
00087     # high level selections
00088     embedHighLevelSelection = cms.bool(True),
00089     usePV                   = cms.bool(True),
00090     beamLineSrc             = cms.InputTag("offlineBeamSpot"),
00091     pvSrc                   = cms.InputTag("offlinePrimaryVertices")
00092 )
00093 
00094 
00095 
00096 
00097 
00098 
00099 
00100 
00101 
00102 
00103 
00104 
00105 
00106 
00107 
00108 
00109 
00110 
00111 
00112 
00113 
00114