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  trigger_with_sl = cms.untracked.int32(4),
10  tanPhiTh = cms.untracked.double(1.),
11  chi2Th = cms.untracked.double(0.01), #in cm^2
12  chi2corTh = cms.untracked.double(0.1), #in cm^2
13  do_correlation = cms.bool(True),
14  useBX_correlation = cms.untracked.bool(False),
15  dT0_correlate_TP = cms.untracked.double(25.),
16  dBX_correlate_TP = cms.untracked.int32(0),
17  dTanPsi_correlate_TP = cms.untracked.double(99999.),
18  clean_chi2_correlation = cms.untracked.bool(True),
19  allow_confirmation = cms.untracked.bool(True),
20  use_LSB = cms.untracked.bool(True),
21  tanPsi_precision = cms.untracked.double(1./4096.),
22  x_precision = cms.untracked.double(1./160.),
23  minx_match_2digis = cms.untracked.double(1.),
24  scenario = cms.int32(0), #0 for mc, 1 for data, 2 for slice test
25  filter_cousins = cms.untracked.bool(True),
26 
27  ttrig_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_ttrig.txt'),
28  z_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_z.txt'),
29  shift_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_x.txt'),
30  algo = cms.int32(0), # 0 = STD gr., 2 = Hough transform, 1 = PseudoBayes Approach
31 
32  minHits4Fit = cms.untracked.int32(4),
33 
34  #debugging
35  debug = cms.untracked.bool(False),
36  dump = cms.untracked.bool(False),
37 
38  #RPC
39  rpcRecHits = cms.InputTag("rpcRecHits"),
40  useRPC = cms.bool(False),
41  bx_window = cms.untracked.int32(1), # will look for RPC cluster within a bunch crossing window of 'dt.BX +- bx_window'
42  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)
43  max_quality_to_overwrite_t0 = cms.untracked.int32(9), # will use RPC to set 't0' for TP with quality < 'max_quality_to_overwrite_t0'
44  storeAllRPCHits = cms.untracked.bool(False),
45  activateBuffer = cms.bool(False),
46  superCelltimewidth = cms.double(400), # in nanoseconds
47  superCellspacewidth = cms.int32(20), # in number of cells: IT MUST BE AN EVEN NUMBER
48  )
49 
50 dtTriggerPhase2PrimitiveDigis.HoughGrouping = HoughGrouping
51 dtTriggerPhase2PrimitiveDigis.PseudoBayesPattern = PseudoBayesPattern
L1DTTPGConfigFromDB_cff