CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  geometry_tag = cms.untracked.string(""),
10  trigger_with_sl = cms.untracked.int32(4),
11  tanPhiTh = cms.untracked.double(1.),
12  tanPhiThw2max = cms.untracked.double(1.3),
13  tanPhiThw2min = cms.untracked.double(0.5),
14  tanPhiThw1max = cms.untracked.double(0.9),
15  tanPhiThw1min = cms.untracked.double(0.2),
16  tanPhiThw0 = cms.untracked.double(0.5),
17  chi2Th = cms.untracked.double(0.01), #in cm^2
18  chi2corTh = cms.untracked.double(0.1), #in cm^2
19  do_correlation = cms.bool(True),
20  useBX_correlation = cms.untracked.bool(False),
21  dT0_correlate_TP = cms.untracked.double(25.),
22  dBX_correlate_TP = cms.untracked.int32(0),
23  dTanPsi_correlate_TP = cms.untracked.double(99999.),
24  clean_chi2_correlation = cms.untracked.bool(True),
25  allow_confirmation = cms.untracked.bool(True),
26  minx_match_2digis = cms.untracked.double(1.),
27  scenario = cms.int32(0), #0 for mc, 1 for data, 2 for slice test
28  df_extended = cms.int32(0), # DF: 0 for standard, 1 for extended, 2 for both
29  filter_cousins = cms.untracked.bool(True),
30 
31  ttrig_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_ttrig.txt'),
32  z_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_z.txt'),
33  shift_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_x.txt'),
34  shift_theta_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/theta_shift.txt'),
35  global_coords_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/global_coord_perp_x_phi0.txt'),
36  algo = cms.int32(0), # 0 = STD gr., 2 = Hough transform, 1 = PseudoBayes Approach
37 
38  minHits4Fit = cms.untracked.int32(3),
39  splitPathPerSL = cms.untracked.bool(True),
40 
41  #debugging
42  debug = cms.untracked.bool(False),
43  dump = cms.untracked.bool(False),
44 
45  #RPC
46  rpcRecHits = cms.InputTag("rpcRecHits"),
47  useRPC = cms.bool(False),
48  bx_window = cms.untracked.int32(1), # will look for RPC cluster within a bunch crossing window of 'dt.BX +- bx_window'
49  phi_window = cms.untracked.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)
50  max_quality_to_overwrite_t0 = cms.untracked.int32(9), # will use RPC to set 't0' for TP with quality < 'max_quality_to_overwrite_t0'
51  storeAllRPCHits = cms.untracked.bool(False),
52  activateBuffer = cms.bool(False),
53  superCelltimewidth = cms.double(400), # in nanoseconds
54  superCellspacewidth = cms.int32(20), # in number of cells: IT MUST BE AN EVEN NUMBER
55  )
56 
57 dtTriggerPhase2PrimitiveDigis.HoughGrouping = HoughGrouping
58 dtTriggerPhase2PrimitiveDigis.PseudoBayesPattern = PseudoBayesPattern