File indexing completed on 2024-11-23 03:28:33
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def Phase2ITValidateRecHit(*args, **kwargs):
0004 mod = cms.EDProducer('Phase2ITValidateRecHit',
0005 DeltaX = cms.PSet(
0006 name = cms.string('Delta_X'),
0007 title = cms.string('Delta_X;RecHit resolution X coordinate [#mum]'),
0008 switch = cms.bool(True),
0009 xmin = cms.double(-100),
0010 xmax = cms.double(100),
0011 NxBins = cms.int32(100)
0012 ),
0013 DeltaY = cms.PSet(
0014 name = cms.string('Delta_Y'),
0015 title = cms.string('Delta_Y;RecHit resolution Y coordinate [#mum];'),
0016 switch = cms.bool(True),
0017 xmin = cms.double(-100),
0018 xmax = cms.double(100),
0019 NxBins = cms.int32(100)
0020 ),
0021 PullX = cms.PSet(
0022 name = cms.string('Pull_X'),
0023 title = cms.string('Pull_X;pull x;'),
0024 xmin = cms.double(-4),
0025 switch = cms.bool(True),
0026 xmax = cms.double(4),
0027 NxBins = cms.int32(100)
0028 ),
0029 PullY = cms.PSet(
0030 name = cms.string('Pull_Y'),
0031 title = cms.string('Pull_Y;pull y;'),
0032 xmin = cms.double(-4),
0033 switch = cms.bool(True),
0034 xmax = cms.double(4),
0035 NxBins = cms.int32(100)
0036 ),
0037 DeltaX_eta = cms.PSet(
0038 name = cms.string('Delta_X_vs_Eta'),
0039 title = cms.string('Delta_X_vs_Eta;|#eta|;#Delta x [#mum]'),
0040 NyBins = cms.int32(100),
0041 ymin = cms.double(-100),
0042 ymax = cms.double(100),
0043 NxBins = cms.int32(41),
0044 switch = cms.bool(True),
0045 xmax = cms.double(4.1),
0046 xmin = cms.double(0)
0047 ),
0048 DeltaX_phi = cms.PSet(
0049 name = cms.string('Delta_X_vs_Phi'),
0050 title = cms.string('Delta_X_vs_Phi;#phi;#Delta x [#mum]'),
0051 NyBins = cms.int32(100),
0052 ymin = cms.double(-100),
0053 ymax = cms.double(100),
0054 NxBins = cms.int32(36),
0055 switch = cms.bool(True),
0056 xmax = cms.double(3.1415926535897931),
0057 xmin = cms.double(-3.1415926535897931)
0058 ),
0059 DeltaY_eta = cms.PSet(
0060 name = cms.string('Delta_Y_vs_Eta'),
0061 title = cms.string('Delta_Y_vs_Eta;|#eta|;#Delta y [#mum]'),
0062 NyBins = cms.int32(100),
0063 ymin = cms.double(-100),
0064 ymax = cms.double(100),
0065 NxBins = cms.int32(41),
0066 switch = cms.bool(True),
0067 xmax = cms.double(4.1),
0068 xmin = cms.double(0)
0069 ),
0070 DeltaY_phi = cms.PSet(
0071 name = cms.string('Delta_Y_vs_Phi'),
0072 title = cms.string('Delta_Y_vs_Phi;#phi;#Delta y [#mum]'),
0073 NyBins = cms.int32(100),
0074 ymin = cms.double(-100),
0075 ymax = cms.double(100),
0076 NxBins = cms.int32(36),
0077 switch = cms.bool(True),
0078 xmax = cms.double(3.1415926535897931),
0079 xmin = cms.double(-3.1415926535897931)
0080 ),
0081 DeltaX_clsizex = cms.PSet(
0082 name = cms.string('Delta_X_vs_ClusterSizeX'),
0083 title = cms.string(';Cluster size X;#Delta x [#mum]'),
0084 ymin = cms.double(-100),
0085 ymax = cms.double(100),
0086 NxBins = cms.int32(21),
0087 switch = cms.bool(True),
0088 xmax = cms.double(20.5),
0089 xmin = cms.double(-0.5)
0090 ),
0091 DeltaX_clsizey = cms.PSet(
0092 name = cms.string('Delta_X_vs_ClusterSizeY'),
0093 title = cms.string(';Cluster size Y;#Delta x [#mum]'),
0094 ymin = cms.double(-100),
0095 ymax = cms.double(100),
0096 NxBins = cms.int32(21),
0097 switch = cms.bool(True),
0098 xmax = cms.double(20.5),
0099 xmin = cms.double(-0.5)
0100 ),
0101 DeltaY_clsizex = cms.PSet(
0102 name = cms.string('Delta_Y_vs_ClusterSizeX'),
0103 title = cms.string(';Cluster size X;#Delta y [#mum]'),
0104 ymin = cms.double(-100),
0105 ymax = cms.double(100),
0106 NxBins = cms.int32(21),
0107 switch = cms.bool(True),
0108 xmax = cms.double(20.5),
0109 xmin = cms.double(-0.5)
0110 ),
0111 DeltaY_clsizey = cms.PSet(
0112 name = cms.string('Delta_Y_vs_ClusterSizeY'),
0113 title = cms.string(';Cluster size Y;#Delta y [#mum]'),
0114 ymin = cms.double(-100),
0115 ymax = cms.double(100),
0116 NxBins = cms.int32(21),
0117 switch = cms.bool(True),
0118 xmax = cms.double(20.5),
0119 xmin = cms.double(-0.5)
0120 ),
0121 DeltaY_vs_DeltaX = cms.PSet(
0122 name = cms.string('Delta_Y_vs_DeltaX'),
0123 title = cms.string(';#Delta x[#mum];#Delta y[#mum]'),
0124 switch = cms.bool(True),
0125 ymin = cms.double(-100),
0126 ymax = cms.double(100),
0127 NyBins = cms.int32(100),
0128 xmax = cms.double(100),
0129 xmin = cms.double(-100),
0130 NxBins = cms.int32(100)
0131 ),
0132 PullX_eta = cms.PSet(
0133 name = cms.string('Pull_X_vs_Eta'),
0134 title = cms.string('Pull_X_vs_Eta;#eta;pull x'),
0135 ymax = cms.double(4),
0136 NxBins = cms.int32(82),
0137 switch = cms.bool(True),
0138 xmax = cms.double(4.1),
0139 xmin = cms.double(-4.1),
0140 ymin = cms.double(-4)
0141 ),
0142 PullY_eta = cms.PSet(
0143 name = cms.string('Pull_Y_vs_Eta'),
0144 title = cms.string('Pull_Y_vs_Eta;#eta;pull y'),
0145 ymax = cms.double(4),
0146 NxBins = cms.int32(82),
0147 switch = cms.bool(True),
0148 xmax = cms.double(4.1),
0149 xmin = cms.double(-4.1),
0150 ymin = cms.double(-4)
0151 ),
0152 nRecHits_primary = cms.PSet(
0153 name = cms.string('Number_RecHits_matched_PrimarySimTrack'),
0154 title = cms.string('Number of RecHits matched to primary SimTrack;;'),
0155 xmin = cms.double(0),
0156 switch = cms.bool(True),
0157 xmax = cms.double(0),
0158 NxBins = cms.int32(100)
0159 ),
0160 DeltaX_primary = cms.PSet(
0161 name = cms.string('Delta_X_SimHitPrimary'),
0162 title = cms.string('Delta_X_SimHitPrimary;#delta x [#mum];'),
0163 xmin = cms.double(-100),
0164 switch = cms.bool(True),
0165 xmax = cms.double(100),
0166 NxBins = cms.int32(100)
0167 ),
0168 DeltaY_primary = cms.PSet(
0169 name = cms.string('Delta_Y_SimHitPrimary'),
0170 title = cms.string('Delta_Y_SimHitPrimary;#Delta y [#mum];'),
0171 xmin = cms.double(-100),
0172 switch = cms.bool(True),
0173 xmax = cms.double(100),
0174 NxBins = cms.int32(100)
0175 ),
0176 PullX_primary = cms.PSet(
0177 name = cms.string('Pull_X_SimHitPrimary'),
0178 title = cms.string('Pull_X_SimHitPrimary;pull x;'),
0179 ymax = cms.double(4),
0180 NxBins = cms.int32(82),
0181 switch = cms.bool(True),
0182 xmax = cms.double(4.1),
0183 xmin = cms.double(-4.1),
0184 ymin = cms.double(-4)
0185 ),
0186 PullY_primary = cms.PSet(
0187 name = cms.string('Pull_Y_SimHitPrimary'),
0188 title = cms.string('Pull_Y_SimHitPrimary;pull y;'),
0189 ymax = cms.double(4),
0190 NxBins = cms.int32(82),
0191 switch = cms.bool(True),
0192 xmax = cms.double(4.1),
0193 xmin = cms.double(-4.1),
0194 ymin = cms.double(-4)
0195 ),
0196 associatePixel = cms.bool(True),
0197 associateStrip = cms.bool(False),
0198 usePhase2Tracker = cms.bool(True),
0199 associateRecoTracks = cms.bool(False),
0200 associateHitbySimTrack = cms.bool(True),
0201 pixelSimLinkSrc = cms.InputTag('simSiPixelDigis', 'Pixel'),
0202 ROUList = cms.vstring(
0203 'TrackerHitsPixelBarrelLowTof',
0204 'TrackerHitsPixelBarrelHighTof',
0205 'TrackerHitsPixelEndcapLowTof',
0206 'TrackerHitsPixelEndcapHighTof'
0207 ),
0208 simTracksSrc = cms.InputTag('g4SimHits'),
0209 SimVertexSource = cms.InputTag('g4SimHits'),
0210 SimTrackMinPt = cms.double(2),
0211 rechitsSrc = cms.InputTag('siPixelRecHits'),
0212 TopFolderName = cms.string('TrackerPhase2ITRecHitV'),
0213 Verbosity = cms.bool(False),
0214 mightGet = cms.optional.untracked.vstring
0215 )
0216 for a in args:
0217 mod.update_(a)
0218 mod.update_(kwargs)
0219 return mod