1 import FWCore.ParameterSet.Config
as cms
3 L1TkMuons = cms.EDProducer(
"L1TkMuonProducer",
6 bmtfMatchAlgoVersion = cms.string(
'TP' ),
7 omtfMatchAlgoVersion = cms.string(
'MAnTra' ),
8 emtfMatchAlgoVersion = cms.string(
'MAnTra' ),
10 L1BMTFInputTag = cms.InputTag(
"simKBmtfDigis",
"BMTF"),
11 L1OMTFInputTag = cms.InputTag(
"simOmtfDigis",
"OMTF"),
12 L1EMTFInputTag = cms.InputTag(
"simEmtfDigis",
"EMTF"),
13 L1EMTFTrackCollectionInputTag = cms.InputTag(
"simEmtfDigis"),
14 L1TrackInputTag = cms.InputTag(
"TTTracksFromTrackletEmulation",
"Level1TTTracks"),
17 ETAMIN = cms.double(0),
18 ETAMAX = cms.double(5.),
19 ETABARRELOVERLAP = cms.double(0.83),
20 ETAOVERLAPENDCAP = cms.double(1.24),
21 useRegionEtaMatching = cms.bool(
True),
22 ZMAX = cms.double( 25. ),
23 CHI2MAX = cms.double( 100. ),
24 PTMINTRA = cms.double( 2. ),
25 DRmax = cms.double( 0.5 ),
26 nStubsmin = cms.int32( 4 ),
28 correctGMTPropForTkZ = cms.bool(
True),
29 use5ParameterFit = cms.bool(
False),
30 useTPMatchWindows = cms.bool(
True),
31 applyQualityCuts = cms.bool(
False),
36 emtfcorr_boundaries = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_boundaries.root'),
37 emtfcorr_theta_windows = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_theta_q99.root'),
38 emtfcorr_phi_windows = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_phi_q99.root'),
46 initial_window_factor = cms.double(0.0),
47 final_window_factor = cms.double(0.5),
48 pt_start_relax = cms.double(2.0),
49 pt_end_relax = cms.double(6.0),
50 do_relax_factors = cms.bool(
True),
52 n_trk_par = cms.int32(4),
53 min_trk_p = cms.double(3.5),
54 max_trk_aeta = cms.double(2.5),
55 max_trk_chi2 = cms.double(100.0),
56 min_trk_nstubs = cms.int32(4),
61 mantra_n_trk_par = cms.int32(4),
63 mantra_bmtfcorr_boundaries = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_barrel/matching_windows_boundaries.root'),
64 mantra_bmtfcorr_theta_windows = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_barrel/matching_windows_theta_q99.root'),
65 mantra_bmtfcorr_phi_windows = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_barrel/matching_windows_phi_q99.root'),
67 mantra_omtfcorr_boundaries = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_overlap/matching_windows_boundaries.root'),
68 mantra_omtfcorr_theta_windows = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_overlap/matching_windows_theta_q99.root'),
69 mantra_omtfcorr_phi_windows = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_overlap/matching_windows_phi_q99.root'),
71 mantra_emtfcorr_boundaries = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_boundaries.root'),
72 mantra_emtfcorr_theta_windows = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_theta_q99.root'),
73 mantra_emtfcorr_phi_windows = cms.FileInPath(
'L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_phi_q99.root'),
76 L1TkMuonsTP = L1TkMuons.clone(
77 emtfMatchAlgoVersion=
'TP',
78 useTPMatchWindows =
True