CMS 3D CMS Logo

L1TkMuonProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 L1TkMuons = cms.EDProducer("L1TkMuonProducer",
4 
6  bmtfMatchAlgoVersion = cms.string( 'TP' ),
7  omtfMatchAlgoVersion = cms.string( 'MAnTra' ),
8  emtfMatchAlgoVersion = cms.string( 'MAnTra' ),
9 
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"),
15 
17  ETAMIN = cms.double(0),
18  ETAMAX = cms.double(5.), # no cut
19  ZMAX = cms.double( 25. ), # in cm
20  CHI2MAX = cms.double( 100. ),
21  PTMINTRA = cms.double( 2. ), # in GeV
22  DRmax = cms.double( 0.5 ),
23  nStubsmin = cms.int32( 4 ), # minimum number of stubs
24 # closest = cms.bool( True ),
25  correctGMTPropForTkZ = cms.bool(True),
26  use5ParameterFit = cms.bool(False), #use 4-pars by defaults
27  useTPMatchWindows = cms.bool(True),
28  # emtfMatchAlgoVersion = cms.int32( 1 ), # version of matching EMTF with Trackes (1 or 2)
29 
32  emtfcorr_boundaries = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_boundaries.root'),
33  emtfcorr_theta_windows = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_theta_q99.root'),
34  emtfcorr_phi_windows = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_phi_q99.root'),
35 
42  initial_window_factor = cms.double(0.0),
43  final_window_factor = cms.double(0.5),
44  pt_start_relax = cms.double(2.0),
45  pt_end_relax = cms.double(6.0),
46  do_relax_factors = cms.bool(True),
47 
48  n_trk_par = cms.int32(4), # 4 or 5
49  min_trk_p = cms.double(3.5),
50  max_trk_aeta = cms.double(2.5),
51  max_trk_chi2 = cms.double(100.0),
52  min_trk_nstubs = cms.int32(4),
53 
57  mantra_n_trk_par = cms.int32(4), # 4 or 5
58  #
59  mantra_bmtfcorr_boundaries = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_barrel/matching_windows_boundaries.root'),
60  mantra_bmtfcorr_theta_windows = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_barrel/matching_windows_theta_q99.root'),
61  mantra_bmtfcorr_phi_windows = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_barrel/matching_windows_phi_q99.root'),
62  #
63  mantra_omtfcorr_boundaries = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_overlap/matching_windows_boundaries.root'),
64  mantra_omtfcorr_theta_windows = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_overlap/matching_windows_theta_q99.root'),
65  mantra_omtfcorr_phi_windows = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_overlap/matching_windows_phi_q99.root'),
66  #
67  mantra_emtfcorr_boundaries = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_boundaries.root'),
68  mantra_emtfcorr_theta_windows = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_theta_q99.root'),
69  mantra_emtfcorr_phi_windows = cms.FileInPath('L1Trigger/L1TMuon/data/MAnTra_data/matching_windows_endcap/matching_windows_phi_q99.root'),
70 )
71 
72 L1TkMuonsTP = L1TkMuons.clone(
73  emtfMatchAlgoVersion='TP',
74  useTPMatchWindows = True
75 )