CMS 3D CMS Logo

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