File indexing completed on 2024-11-23 03:27:49
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PPSAlignmentConfigurationESSource(*args, **kwargs):
0004 mod = cms.ESSource('PPSAlignmentConfigurationESSource',
0005 debug = cms.bool(False),
0006 label = cms.string(''),
0007 sector_45 = cms.PSet(
0008 rp_N = cms.PSet(
0009 name = cms.string('L_1_F'),
0010 id = cms.int32(3),
0011 slope = cms.double(0.19),
0012 sh_x = cms.double(-3.6),
0013 x_min_fit_mode = cms.double(2),
0014 x_max_fit_mode = cms.double(7),
0015 y_max_fit_mode = cms.double(7),
0016 y_cen_add = cms.double(-0.3),
0017 y_width_mult = cms.double(1.1),
0018 x_slice_min = cms.double(7),
0019 x_slice_max = cms.double(19),
0020 x_slice_w = cms.double(0.2)
0021 ),
0022 rp_F = cms.PSet(
0023 name = cms.string('L_2_F'),
0024 id = cms.int32(23),
0025 slope = cms.double(0.19),
0026 sh_x = cms.double(-42),
0027 x_min_fit_mode = cms.double(2),
0028 x_max_fit_mode = cms.double(7.5),
0029 y_max_fit_mode = cms.double(7.5),
0030 y_cen_add = cms.double(-0.3),
0031 y_width_mult = cms.double(1.1),
0032 x_slice_min = cms.double(46),
0033 x_slice_max = cms.double(58),
0034 x_slice_w = cms.double(0.2)
0035 ),
0036 slope = cms.double(0.006),
0037 cut_h_apply = cms.bool(True),
0038 cut_h_a = cms.double(-1),
0039 cut_h_c = cms.double(-38.55),
0040 cut_h_si = cms.double(0.2),
0041 cut_v_apply = cms.bool(True),
0042 cut_v_a = cms.double(-1.07),
0043 cut_v_c = cms.double(1.63),
0044 cut_v_si = cms.double(0.15)
0045 ),
0046 sector_56 = cms.PSet(
0047 rp_N = cms.PSet(
0048 name = cms.string('R_1_F'),
0049 id = cms.int32(103),
0050 slope = cms.double(0.4),
0051 sh_x = cms.double(-2.8),
0052 x_min_fit_mode = cms.double(2),
0053 x_max_fit_mode = cms.double(7.4),
0054 y_max_fit_mode = cms.double(7.4),
0055 y_cen_add = cms.double(-0.8),
0056 y_width_mult = cms.double(1),
0057 x_slice_min = cms.double(6),
0058 x_slice_max = cms.double(17),
0059 x_slice_w = cms.double(0.2)
0060 ),
0061 rp_F = cms.PSet(
0062 name = cms.string('R_2_F'),
0063 id = cms.int32(123),
0064 slope = cms.double(0.39),
0065 sh_x = cms.double(-41.9),
0066 x_min_fit_mode = cms.double(2),
0067 x_max_fit_mode = cms.double(8),
0068 y_max_fit_mode = cms.double(8),
0069 y_cen_add = cms.double(-0.8),
0070 y_width_mult = cms.double(1),
0071 x_slice_min = cms.double(45),
0072 x_slice_max = cms.double(57),
0073 x_slice_w = cms.double(0.2)
0074 ),
0075 slope = cms.double(-0.015),
0076 cut_h_apply = cms.bool(True),
0077 cut_h_a = cms.double(-1),
0078 cut_h_c = cms.double(-39.26),
0079 cut_h_si = cms.double(0.2),
0080 cut_v_apply = cms.bool(True),
0081 cut_v_a = cms.double(-1.07),
0082 cut_v_c = cms.double(1.49),
0083 cut_v_si = cms.double(0.15)
0084 ),
0085 x_ali_sh_step = cms.double(0.01),
0086 y_mode_sys_unc = cms.double(0.03),
0087 chiSqThreshold = cms.double(50),
0088 y_mode_unc_max_valid = cms.double(5),
0089 y_mode_max_valid = cms.double(20),
0090 min_RP_tracks_size = cms.uint32(1),
0091 max_RP_tracks_size = cms.uint32(1),
0092 n_si = cms.double(4),
0093 matching = cms.PSet(
0094 reference_dataset = cms.string(''),
0095 rp_L_F = cms.PSet(
0096 sh_min = cms.double(-43),
0097 sh_max = cms.double(-41)
0098 ),
0099 rp_L_N = cms.PSet(
0100 sh_min = cms.double(-4.2),
0101 sh_max = cms.double(-2.4)
0102 ),
0103 rp_R_N = cms.PSet(
0104 sh_min = cms.double(-3.6),
0105 sh_max = cms.double(-1.8)
0106 ),
0107 rp_R_F = cms.PSet(
0108 sh_min = cms.double(-43.2),
0109 sh_max = cms.double(-41.2)
0110 )
0111 ),
0112 x_alignment_meth_o = cms.PSet(
0113 rp_L_F = cms.PSet(
0114 x_min = cms.double(47),
0115 x_max = cms.double(56.5)
0116 ),
0117 rp_L_N = cms.PSet(
0118 x_min = cms.double(9),
0119 x_max = cms.double(18.5)
0120 ),
0121 rp_R_N = cms.PSet(
0122 x_min = cms.double(7),
0123 x_max = cms.double(15)
0124 ),
0125 rp_R_F = cms.PSet(
0126 x_min = cms.double(46),
0127 x_max = cms.double(54)
0128 ),
0129 fit_profile_min_bin_entries = cms.uint32(5),
0130 fit_profile_min_N_reasonable = cms.uint32(10),
0131 meth_o_graph_min_N = cms.uint32(5),
0132 meth_o_unc_fit_range = cms.double(0.5)
0133 ),
0134 x_alignment_relative = cms.PSet(
0135 rp_L_N = cms.PSet(
0136 x_min = cms.double(7.5),
0137 x_max = cms.double(12)
0138 ),
0139 rp_R_N = cms.PSet(
0140 x_min = cms.double(6),
0141 x_max = cms.double(10)
0142 ),
0143 near_far_min_entries = cms.uint32(100)
0144 ),
0145 y_alignment = cms.PSet(
0146 rp_L_F = cms.PSet(
0147 x_min = cms.double(44.5),
0148 x_max = cms.double(49)
0149 ),
0150 rp_L_N = cms.PSet(
0151 x_min = cms.double(6.7),
0152 x_max = cms.double(11)
0153 ),
0154 rp_R_N = cms.PSet(
0155 x_min = cms.double(5.9),
0156 x_max = cms.double(10)
0157 ),
0158 rp_R_F = cms.PSet(
0159 x_min = cms.double(44.5),
0160 x_max = cms.double(49)
0161 ),
0162 mode_graph_min_N = cms.uint32(5),
0163 mult_sel_proj_y_min_entries = cms.uint32(300)
0164 ),
0165 binning = cms.PSet(
0166 bin_size_x = cms.double(0.1423314),
0167 n_bins_x = cms.uint32(210),
0168 pixel_x_offset = cms.double(40),
0169 n_bins_y = cms.uint32(400),
0170 y_min = cms.double(-20),
0171 y_max = cms.double(20),
0172 diffFN_n_bins_x = cms.uint32(100),
0173 diffFN_x_min = cms.double(0),
0174 diffFN_x_max = cms.double(20),
0175 slice_n_bins_x = cms.uint32(100),
0176 slice_x_min = cms.double(-10),
0177 slice_x_max = cms.double(10),
0178 slice_n_bins_y = cms.uint32(100),
0179 slice_y_min = cms.double(-2),
0180 slice_y_max = cms.double(2)
0181 ),
0182 extra_params = cms.vdouble(),
0183 appendToDataLabel = cms.string('')
0184 )
0185 for a in args:
0186 mod.update_(a)
0187 mod.update_(kwargs)
0188 return mod