CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/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     embedTrack          = cms.bool(False), ## embed in AOD externally stored tracker track
00037     embedCombinedMuon   = cms.bool(True),  ## embed in AOD externally stored combined muon track
00038     embedStandAloneMuon = cms.bool(True),  ## embed in AOD externally stored standalone muon track
00039     embedPickyMuon      = cms.bool(True),  ## embed in AOD externally stored TeV-refit picky muon track
00040     embedTpfmsMuon      = cms.bool(True),  ## embed in AOD externally stored TeV-refit TPFMS muon track
00041     embedDytMuon        = cms.bool(True),  ## embed in AOD externally stored TeV-refit DYT muon track
00042     embedPFCandidate    = cms.bool(True),  ## embed in AOD externally stored particle flow candidate
00043 
00044     # embedding of muon MET corrections for caloMET
00045     embedCaloMETMuonCorrs = cms.bool(True),
00046     caloMETMuonCorrs = cms.InputTag("muonMETValueMapProducer"  , "muCorrData"),
00047     # embedding of muon MET corrections for tcMET
00048     embedTcMETMuonCorrs   = cms.bool(True),
00049     tcMETMuonCorrs   = cms.InputTag("muonTCMETValueMapProducer", "muCorrData"),
00050 
00051     # embed IsoDeposits
00052     isoDeposits = cms.PSet(
00053         #user    = cms.VInputTag(
00054         #             cms.InputTag("muIsoDepositCalByAssociatorTowers","ho"),
00055         #             cms.InputTag("muIsoDepositJets")
00056         #          ),
00057     ),
00058 
00059     # user defined isolation variables the variables defined here will be accessible
00060     # via pat::Muon::userIsolation(IsolationKeys key) with the key as defined in
00061     # DataFormats/PatCandidates/interface/Isolation.h
00062     userIsolation = cms.PSet(
00063         #user = cms.VPSet(cms.PSet(
00064         #    src = cms.InputTag("muIsoDepositCalByAssociatorTowers","ho"),
00065         #    deltaR = cms.double(0.3)
00066         #    ),
00067         #    cms.PSet(
00068         #        src = cms.InputTag("muIsoDepositJets"),
00069         #        deltaR = cms.double(0.3)
00070         #    )),
00071     ),
00072 
00073     # mc matching
00074     addGenMatch   = cms.bool(True),
00075     embedGenMatch = cms.bool(True),
00076     genParticleMatch = cms.InputTag("muonMatch"), ## particles source to be used for the matching
00077 
00078     # efficiencies
00079     addEfficiencies = cms.bool(False),
00080     efficiencies    = cms.PSet(),
00081 
00082     # resolution configurables
00083     addResolutions  = cms.bool(False),
00084     resolutions      = cms.PSet(),
00085 
00086     # high level selections
00087     embedHighLevelSelection = cms.bool(True),
00088     usePV                   = cms.bool(True),
00089     beamLineSrc             = cms.InputTag("offlineBeamSpot"),
00090     pvSrc                   = cms.InputTag("offlinePrimaryVertices")
00091 )
00092 
00093 
00094 
00095 
00096 
00097 
00098 
00099 
00100 
00101 
00102 
00103 
00104 
00105 
00106 
00107 
00108 
00109 
00110 
00111 
00112 
00113