CMS 3D CMS Logo

muonProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 allLayer1Muons = cms.EDProducer("PATMuonProducer",
00004 
00005     # General configurables
00006     muonSource = cms.InputTag("muons"),
00007     pfMuonSource = cms.InputTag("pfMuons"),
00008     useParticleFlow =  cms.bool( False ),
00009 
00010     # user data to add
00011     userData = cms.PSet(
00012       # add custom classes here
00013       userClasses = cms.PSet(
00014         src = cms.VInputTag('')
00015       ),
00016       # add doubles here
00017       userFloats = cms.PSet(
00018         src = cms.VInputTag('')
00019       ),
00020       # add ints here
00021       userInts = cms.PSet(
00022         src = cms.VInputTag('')
00023       ),
00024       # add "inline" functions here
00025       userFunctions = cms.vstring(""),
00026       userFunctionLabels = cms.vstring("")
00027     ),
00028                                 
00029     embedTrack          = cms.bool(False), ## whether to embed in AOD externally stored tracker track
00030     embedCombinedMuon   = cms.bool(True), ## whether to embed in AOD externally stored combined muon track
00031     embedStandAloneMuon = cms.bool(True), ## whether to embed in AOD externally stored standalone muon track
00032     embedPickyMuon      = cms.bool(True), ## whether to embed in AOD externally stored TeV-refit picky muon track
00033     embedTpfmsMuon      = cms.bool(True), ## whether to embed in AOD externally stored TeV-refit TPFMS muon track
00034     embedPFCandidate = cms.bool(False),
00035 
00036     # isolation configurables
00037     isolation = cms.PSet(
00038         hcal = cms.PSet(
00039             src = cms.InputTag("muIsoDepositCalByAssociatorTowers","hcal"),
00040             deltaR = cms.double(0.3)
00041         ),
00042         tracker = cms.PSet(
00043             src = cms.InputTag("muIsoDepositTk"),
00044             deltaR = cms.double(0.3)
00045         ),
00046         user = cms.VPSet(cms.PSet(
00047             src = cms.InputTag("muIsoDepositCalByAssociatorTowers","ho"),
00048             deltaR = cms.double(0.3)
00049             ), 
00050             cms.PSet(
00051                 src = cms.InputTag("muIsoDepositJets"),
00052                 deltaR = cms.double(0.3)
00053             )),
00054         ecal = cms.PSet(
00055             src = cms.InputTag("muIsoDepositCalByAssociatorTowers","ecal"),
00056             deltaR = cms.double(0.3)
00057         )
00058     ),
00059     # embed IsoDeposits to recompute isolation easily
00060     isoDeposits = cms.PSet(
00061         tracker = cms.InputTag("muIsoDepositTk"),
00062         ecal    = cms.InputTag("muIsoDepositCalByAssociatorTowers","ecal"),
00063         hcal    = cms.InputTag("muIsoDepositCalByAssociatorTowers","hcal"),
00064         user    = cms.VInputTag(
00065                      cms.InputTag("muIsoDepositCalByAssociatorTowers","ho"), 
00066                      cms.InputTag("muIsoDepositJets")
00067                   ),
00068     ),
00069 
00070     # Resolution configurables
00071     addResolutions = cms.bool(False),
00072 
00073     # Trigger matching configurables
00074     addTrigMatch = cms.bool(True),
00075     trigPrimMatch = cms.VInputTag(cms.InputTag("muonTrigMatchHLT1MuonNonIso"), cms.InputTag("muonTrigMatchHLT1MET65")),
00076 
00077     # MC matching configurables
00078     addGenMatch = cms.bool(True),
00079     embedGenMatch = cms.bool(False),
00080     genParticleMatch = cms.InputTag("muonMatch"), ## particles source to be used for the matching
00081 
00082     # Efficiencies
00083     addEfficiencies = cms.bool(False),
00084     efficiencies    = cms.PSet(),
00085 
00086     # TeV refit tracks
00087     addTeVRefits = cms.bool(True),
00088     pickySrc = cms.InputTag("tevMuons", "picky"),
00089     tpfmsSrc = cms.InputTag("tevMuons", "firstHit"),
00090 )

Generated on Tue Jun 9 17:41:44 2009 for CMSSW by  doxygen 1.5.4