1 import FWCore.ParameterSet.Config
as cms
8 triggerMatcherToHLTDebug = cms.EDProducer(
"TriggerMatcherToHLTDebug",
9 tags = cms.InputTag(
"muons"),
10 l1s = cms.InputTag(
"hltL1extraParticles"),
11 L2Muons_Collection=cms.InputTag(
"hltL2MuonCandidates"),
12 L2Seeds_Collection=cms.InputTag(
"hltL2MuonSeeds"),
13 L3Seeds_Collection=cms.InputTag(
"hltL3TrajectorySeed"),
14 L3TkTracks_Collection=cms.InputTag(
"hltL3TkTracksFromL2"),
15 L3Muons_Collection=cms.InputTag(
"hltL3MuonCandidates"),
16 BeamSpotTag = cms.InputTag(
"hltOfflineBeamSpot"),
18 l1matcherConfig = cms.PSet(
21 useTrack = cms.string(
"tracker"),
22 useState = cms.string(
"atVertex"),
23 useSimpleGeometry = cms.bool(
True),
25 deltaR = cms.double(0.3),
28 MinL1Quality = cms.int32( 1 ),
31 SeedMapTag = cms.InputTag(
"hltL2Muons" ),
37 MinN_L2 = cms.int32( 1 ),
38 MaxEta_L2 = cms.double( 2.5 ),
39 MinNhits_L2 = cms.int32( 0 ),
40 MaxDr_L2 = cms.double( 9999.0 ),
41 MaxDz_L2 = cms.double( 9999.0 ),
42 MinPt_L2 = cms.double( 7.0 ),
43 NSigmaPt_L2 = cms.double( 0.0 ),
46 MinN_L3 = cms.int32( 1 ),
47 MaxEta_L3 = cms.double( 2.5 ),
48 MinNhits_L3 = cms.int32( 0 ),
49 MaxDr_L3 = cms.double( 2.0 ),
50 MaxDz_L3 = cms.double( 9999.0 ),
51 MinPt_L3 = cms.double( 9.0 ),
52 NSigmaPt_L3 = cms.double( 0.0 ),
55 def addUserData(patMuonProducer, matcherLabel='triggerMatcherToHLTDebug'):
56 patMuonProducer.userData.userInts.src += [
57 cms.InputTag(matcherLabel,
"propagatesToM2"),
58 cms.InputTag(matcherLabel,
"hasL1Particle"),
59 cms.InputTag(matcherLabel,
"hasL1Filtered"),
60 cms.InputTag(matcherLabel,
"hasL2Seed"),
61 cms.InputTag(matcherLabel,
"hasL2Muon"),
62 cms.InputTag(matcherLabel,
"hasL2MuonFiltered"),
63 cms.InputTag(matcherLabel,
"hasL3Seed"),
64 cms.InputTag(matcherLabel,
"hasL3Track"),
65 cms.InputTag(matcherLabel,
"hasL3Muon"),
66 cms.InputTag(matcherLabel,
"hasL3MuonFiltered"),
68 patMuonProducer.userData.userCands.src += [
69 cms.InputTag(matcherLabel,
"l1Candidate"),
70 cms.InputTag(matcherLabel,
"l2Candidate"),
71 cms.InputTag(matcherLabel,
"l3Candidate"),
def addUserData(patMuonProducer, matcherLabel='triggerMatcherToHLTDebug')