Functions | |
def | addUserData |
Variables | |
tuple | muonL1MatchExtended |
def muonL1MatchExtended_cfi::addUserData | ( | patMuonProducer, | |
matcherLabel = 'muonL1MatchExtended' , |
|||
addExtraInfo = False |
|||
) |
Definition at line 24 of file muonL1MatchExtended_cfi.py.
00025 : 00026 patMuonProducer.userData.userInts.src += [ cms.InputTag(matcherLabel) ] 00027 if addExtraInfo: 00028 for L in ("cscMode", "canPropagate", "l1q"): 00029 patMuonProducer.userData.userInts.src += [ cms.InputTag(matcherLabel,L) ] 00030 for L in ("deltaR", "deltaEta", "deltaPhi", "l1pt"): 00031 patMuonProducer.userData.userFloats.src += [ cms.InputTag(matcherLabel,L) ] 00032
00001 cms.EDProducer("L1MatcherExtended", 00002 muons = cms.InputTag("muons"), 00003 l1extra = cms.InputTag("l1extraParticles"), 00004 segmentArbitration = cms.string("SegmentAndTrackArbitration"), 00005 csctfDigis = cms.InputTag("csctfDigis"), 00006 csctfLcts = cms.InputTag("csctfDigis"), 00007 matcherGeom = cms.PSet( 00008 preselection = cms.string("gmtMuonCand.quality > 1"), # FIXME: maybe exclude CSC-only region? 00009 useTrack = cms.string("tracker"), 00010 useState = cms.string("atVertex"), 00011 maxDeltaR = cms.double(1.5), ## FIXME: to be tuned 00012 maxDeltaEta = cms.double(0.3), ## FIXME: to be tuned 00013 l1PhiOffset = cms.double(1.25 * pi/180.), 00014 useSimpleGeometry = cms.bool(True), 00015 fallbackToME1 = cms.bool(True), 00016 ) 00017 )
Definition at line 6 of file muonL1MatchExtended_cfi.py.