45 def addUserData(patMuonProducer,labels=['classByHitsGlb', 'classByHitsTM', 'classByHitsTMLSAT', 'classByHitsSta'], extraInfo = False):
47 patMuonProducer.userData.userInts.src.append( cms.InputTag(label) )
48 patMuonProducer.userData.userInts.src.append( cms.InputTag(label,
"ext") )
50 for ints
in (
"flav",
"hitsPdgId",
"momPdgId",
"gmomPdgId",
"momFlav",
"gmomFlav",
"hmomFlav",
"tpId",
"momStatus"):
51 patMuonProducer.userData.userInts.src.append(cms.InputTag(label, ints))
52 for ins
in (
"prodRho",
"prodZ",
"tpAssoQuality",
"momRho",
"momZ"):
patMuonProducer.userData.userFloats.src.append(cms.InputTag(label, ins))