CMS 3D CMS Logo

dtTriggerPhase2PrimitiveDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 from L1Trigger.DTTriggerPhase2.HoughGrouping_cfi import HoughGrouping
5 from L1Trigger.DTTriggerPhase2.PseudoBayesGrouping_cfi import PseudoBayesPattern
6 
7 dtTriggerPhase2PrimitiveDigis = cms.EDProducer("DTTrigPhase2Prod",
8  digiTag = cms.InputTag("CalibratedDigis"),
9  tanPhiTh = cms.double(1.),
10  tanPhiThw2max = cms.double(1.3),
11  tanPhiThw2min = cms.double(0.5),
12  tanPhiThw1max = cms.double(0.9),
13  tanPhiThw1min = cms.double(0.2),
14  tanPhiThw0 = cms.double(0.5),
15  chi2Th = cms.double(0.01), #in cm^2
16  chi2corTh = cms.double(0.1), #in cm^2
17  useBX_correlation = cms.bool(False),
18  dT0_correlate_TP = cms.double(25.),
19  dBX_correlate_TP = cms.int32(0),
20  dTanPsi_correlate_TP = cms.double(99999.),
21  clean_chi2_correlation = cms.bool(True),
22  allow_confirmation = cms.bool(True),
23  minx_match_2digis = cms.double(1.),
24  scenario = cms.int32(0), #0 for mc, 1 for data, 2 for slice test
25  df_extended = cms.int32(0), # DF: 0 for standard, 1 for extended, 2 for both
26  co_option = cms.int32(1), # coincidence w.r.t. : -1 = off, 0 = co all, 1 = co phi, 2 = co theta
27  co_quality = cms.int32(1), # quality cut (>X) for coincidence TP
28  max_primitives = cms.int32(999),
29 
30  output_mixer = cms.bool(False),
31  output_latpredictor = cms.bool(False),
32  output_slfitter = cms.bool(False),
33  output_slfilter = cms.bool(False),
34  output_confirmed = cms.bool(False),
35  output_matcher = cms.bool(False),
36 
37  ttrig_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_ttrig.txt'),
38  z_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_z.txt'),
39  lut_sl1 = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/fitterlut_sl1.dat'),
40  lut_sl2 = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/fitterlut_slx.dat'),
41  lut_sl3 = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/fitterlut_sl3.dat'),
42  lut_2sl = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/fitterlut_2sl.dat'),
43  shift_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_x.txt'),
44  shift_theta_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/theta_shift.txt'),
45  maxdrift_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/simple_vdrift.txt'),
46  global_coords_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/global_coord_perp_x_phi0.txt'),
47  algo = cms.int32(0), # 0 = STD gr., 2 = Hough transform, 1 = PseudoBayes Approach
48 
49  minHits4Fit = cms.int32(3),
50  splitPathPerSL = cms.bool(True),
51 
52  #debugging
53  debug = cms.untracked.bool(False),
54  dump = cms.untracked.bool(False),
55 
56  #RPC
57  rpcRecHits = cms.InputTag("rpcRecHits"),
58  useRPC = cms.bool(False),
59  bx_window = cms.int32(1), # will look for RPC cluster within a bunch crossing window of 'dt.BX +- bx_window'
60  phi_window = cms.double(50.), # will look for RPC cluster within a phi window of +- phi_window in arbitrary coordinates (plot the value we cut on in RPCIntergator to fine tune it)
61  max_quality_to_overwrite_t0 = cms.int32(9), # will use RPC to set 't0' for TP with quality < 'max_quality_to_overwrite_t0'
62  storeAllRPCHits = cms.bool(False),
63  activateBuffer = cms.bool(False),
64  superCelltimewidth = cms.double(400), # in nanoseconds
65  superCellspacewidth = cms.int32(20), # in number of cells: IT MUST BE AN EVEN NUMBER
66  )
67 
68 dtTriggerPhase2PrimitiveDigis.HoughGrouping = HoughGrouping
69 dtTriggerPhase2PrimitiveDigis.PseudoBayesPattern = PseudoBayesPattern