CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
muonL1MatchExtended_cfi Namespace Reference

Functions

def addUserData
 

Variables

tuple muonL1MatchExtended
 

Function Documentation

def muonL1MatchExtended_cfi.addUserData (   patMuonProducer,
  matcherLabel = 'muonL1MatchExtended',
  addExtraInfo = False 
)

Definition at line 24 of file muonL1MatchExtended_cfi.py.

24 
25 def addUserData(patMuonProducer, matcherLabel='muonL1MatchExtended', addExtraInfo=False):
26  patMuonProducer.userData.userInts.src += [ cms.InputTag(matcherLabel) ]
27  if addExtraInfo:
28  for L in ("cscMode", "canPropagate", "l1q"):
29  patMuonProducer.userData.userInts.src += [ cms.InputTag(matcherLabel,L) ]
30  for L in ("deltaR", "deltaEta", "deltaPhi", "l1pt"):
31  patMuonProducer.userData.userFloats.src += [ cms.InputTag(matcherLabel,L) ]
32 

Variable Documentation

tuple muonL1MatchExtended_cfi.muonL1MatchExtended
Initial value:
1 = cms.EDProducer("L1MatcherExtended",
2  muons = cms.InputTag("muons"),
3  l1extra = cms.InputTag("l1extraParticles"),
4  segmentArbitration = cms.string("SegmentAndTrackArbitration"),
5  csctfDigis = cms.InputTag("csctfDigis"),
6  csctfLcts = cms.InputTag("csctfDigis"),
7  matcherGeom = cms.PSet(
8  preselection = cms.string("gmtMuonCand.quality > 1"), # FIXME: maybe exclude CSC-only region?
9  useTrack = cms.string("tracker"),
10  useState = cms.string("atVertex"),
11  maxDeltaR = cms.double(1.5), ## FIXME: to be tuned
12  maxDeltaEta = cms.double(0.3), ## FIXME: to be tuned
13  l1PhiOffset = cms.double(1.25 * pi/180.),
14  useSimpleGeometry = cms.bool(True),
15  fallbackToME1 = cms.bool(True),
16  )
17 )

Definition at line 6 of file muonL1MatchExtended_cfi.py.