File indexing completed on 2024-09-04 04:34:49
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def DTTrigPhase2Prod(**kwargs):
0004 mod = cms.EDProducer('DTTrigPhase2Prod',
0005 digiTag = cms.InputTag('CalibratedDigis'),
0006 timeTolerance = cms.int32(999999),
0007 tanPhiTh = cms.double(1),
0008 tanPhiThw2max = cms.double(1.3),
0009 tanPhiThw2min = cms.double(0.5),
0010 tanPhiThw1max = cms.double(0.9),
0011 tanPhiThw1min = cms.double(0.2),
0012 tanPhiThw0 = cms.double(0.5),
0013 chi2Th = cms.double(0.01),
0014 chi2corTh = cms.double(0.1),
0015 useBX_correlation = cms.bool(False),
0016 dT0_correlate_TP = cms.double(25),
0017 dBX_correlate_TP = cms.int32(0),
0018 dTanPsi_correlate_TP = cms.double(99999),
0019 clean_chi2_correlation = cms.bool(True),
0020 allow_confirmation = cms.bool(True),
0021 minx_match_2digis = cms.double(1),
0022 scenario = cms.int32(0),
0023 df_extended = cms.int32(0),
0024 co_option = cms.int32(0),
0025 co_quality = cms.int32(0),
0026 max_primitives = cms.int32(999),
0027 output_mixer = cms.bool(False),
0028 output_latpredictor = cms.bool(False),
0029 output_slfitter = cms.bool(False),
0030 output_slfilter = cms.bool(False),
0031 output_confirmed = cms.bool(False),
0032 output_matcher = cms.bool(False),
0033 ttrig_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_ttrig.txt'),
0034 z_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_z.txt'),
0035 lut_sl1 = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/fitterlut_sl1.dat'),
0036 lut_sl2 = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/fitterlut_slx.dat'),
0037 lut_sl3 = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/fitterlut_sl3.dat'),
0038 lut_2sl = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/fitterlut_2sl.dat'),
0039 shift_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/wire_rawId_x.txt'),
0040 maxdrift_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/drift_time_per_chamber.txt'),
0041 shift_theta_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/theta_shift.txt'),
0042 global_coords_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/global_coord_perp_x_phi0.txt'),
0043 laterality_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/lat_predictions.dat'),
0044 algo = cms.int32(0),
0045 minHits4Fit = cms.int32(3),
0046 splitPathPerSL = cms.bool(True),
0047 debug = cms.untracked.bool(False),
0048 dump = cms.untracked.bool(False),
0049 rpcRecHits = cms.InputTag('rpcRecHits'),
0050 useRPC = cms.bool(False),
0051 bx_window = cms.int32(1),
0052 phi_window = cms.double(50),
0053 max_quality_to_overwrite_t0 = cms.int32(9),
0054 storeAllRPCHits = cms.bool(False),
0055 activateBuffer = cms.bool(False),
0056 superCelltimewidth = cms.double(400),
0057 superCellspacewidth = cms.int32(20),
0058 HoughGrouping = cms.PSet(
0059 debug = cms.untracked.bool(False),
0060 angletan = cms.double(0.3),
0061 anglebinwidth = cms.double(1),
0062 posbinwidth = cms.double(2.1),
0063 maxdeltaAngDeg = cms.double(10),
0064 maxdeltaPos = cms.double(10),
0065 UpperNumber = cms.int32(6),
0066 LowerNumber = cms.int32(4),
0067 MaxDistanceToWire = cms.double(0.03),
0068 minNLayerHits = cms.int32(6),
0069 minSingleSLHitsMax = cms.int32(3),
0070 minSingleSLHitsMin = cms.int32(3),
0071 allowUncorrelatedPatterns = cms.bool(True),
0072 minUncorrelatedHits = cms.int32(3)
0073 ),
0074 PseudoBayesPattern = cms.PSet(
0075 pattern_filename = cms.FileInPath('L1Trigger/DTTriggerPhase2/data/PseudoBayesPatterns_uncorrelated_v0.root'),
0076 debug = cms.untracked.bool(False),
0077 minNLayerHits = cms.int32(3),
0078 minSingleSLHitsMax = cms.int32(3),
0079 minSingleSLHitsMin = cms.int32(0),
0080 allowedVariance = cms.int32(1),
0081 allowDuplicates = cms.bool(False),
0082 setLateralities = cms.bool(True),
0083 allowUncorrelatedPatterns = cms.bool(True),
0084 minUncorrelatedHits = cms.int32(3),
0085 saveOnPlace = cms.bool(True),
0086 maxPathsPerMatch = cms.int32(256)
0087 ),
0088 mightGet = cms.optional.untracked.vstring
0089 )
0090 for k,v in kwargs.items():
0091 setattr(mod, k, v)
0092 return mod