File indexing completed on 2024-05-23 03:13:12
0001 import FWCore.ParameterSet.Config as cms
0002
0003 testProducerWithPsetDesc = cms.EDProducer('ProducerWithPSetDesc',
0004 testingAutoGeneratedCfi = cms.untracked.bool(True),
0005 p_int = cms.int32(2147483647),
0006 p_int_untracked = cms.untracked.int32(-2147483647),
0007 p_int_opt = cms.int32(0),
0008 p_int_optuntracked = cms.untracked.int32(7),
0009 p_int_opt_nd = cms.optional.int32,
0010 p_int_optuntracked_nd = cms.optional.untracked.int32,
0011 vint1 = cms.vint32(),
0012 vint2 = cms.vint32(2147483647),
0013 vint3 = cms.vint32(
0014 2147483647,
0015 -2147483647
0016 ),
0017 vint4 = cms.vint32(
0018 2147483647,
0019 -2147483647,
0020 0
0021 ),
0022 uint1 = cms.uint32(4294967295),
0023 uint2 = cms.untracked.uint32(0),
0024 vuint1 = cms.vuint32(),
0025 vuint2 = cms.vuint32(4294967295),
0026 vuint3 = cms.vuint32(
0027 4294967295,
0028 0
0029 ),
0030 vuint4 = cms.vuint32(
0031 4294967295,
0032 0,
0033 11
0034 ),
0035 vuint5 = cms.vuint32(
0036 4294967295,
0037 0,
0038 11,
0039 21,
0040 31,
0041 41
0042 ),
0043 int64v1 = cms.int64(9000000000000000000),
0044 int64v2 = cms.int64(-9000000000000000000),
0045 int64v3 = cms.int64(0),
0046 vint64v1 = cms.vint64(),
0047 vint64v2 = cms.vint64(9000000000000000000),
0048 vint64v3 = cms.vint64(
0049 9000000000000000000,
0050 -9000000000000000000
0051 ),
0052 vint64v4 = cms.vint64(
0053 9000000000000000000,
0054 -9000000000000000000,
0055 0
0056 ),
0057 uint64v1 = cms.uint64(18000000000000000000),
0058 uint64v2 = cms.untracked.uint64(0),
0059 vuint64v1 = cms.vuint64(),
0060 vuint64v2 = cms.vuint64(18000000000000000000),
0061 vuint64v3 = cms.vuint64(
0062 18000000000000000000,
0063 0
0064 ),
0065 vuint64v4 = cms.vuint64(
0066 18000000000000000000,
0067 0,
0068 11
0069 ),
0070 doublev1 = cms.double(2.2250738585072014e-308),
0071 doublev2 = cms.untracked.double(0),
0072 doublev3 = cms.untracked.double(0.3),
0073 vdoublev1 = cms.vdouble(),
0074 vdoublev2 = cms.vdouble(1e+300),
0075 vdoublev3 = cms.vdouble(
0076 1e+300,
0077 0
0078 ),
0079 vdoublev4 = cms.vdouble(
0080 1e+300,
0081 0,
0082 11
0083 ),
0084 vdoublev5 = cms.vdouble(
0085 1e+300,
0086 0,
0087 11,
0088 0.3
0089 ),
0090 boolv1 = cms.bool(True),
0091 boolv2 = cms.bool(False),
0092 stringv1 = cms.string('Hello'),
0093 stringv2 = cms.string(''),
0094 vstringv1 = cms.vstring(),
0095 vstringv2 = cms.vstring('Hello'),
0096 vstringv3 = cms.vstring(
0097 'Hello',
0098 'World'
0099 ),
0100 vstringv4 = cms.vstring(
0101 'Hello',
0102 'World',
0103 ''
0104 ),
0105 eventIDv1 = cms.EventID(11, 0, 12),
0106 eventIDv2 = cms.EventID(101, 0, 102),
0107 vEventIDv1 = cms.VEventID(),
0108 vEventIDv2 = cms.VEventID('1000:1100'),
0109 vEventIDv3 = cms.VEventID(
0110 '1000:1100',
0111 '10000:11000'
0112 ),
0113 vEventIDv4 = cms.VEventID(
0114 '1000:1100',
0115 '10000:11000',
0116 '100000:110000'
0117 ),
0118 luminosityIDv1 = cms.LuminosityBlockID(11, 12),
0119 luminosityIDv2 = cms.LuminosityBlockID(101, 102),
0120 vLuminosityBlockIDv1 = cms.VLuminosityBlockID(),
0121 vLuminosityBlockIDv2 = cms.VLuminosityBlockID('1000:1100'),
0122 vLuminosityBlockIDv3 = cms.VLuminosityBlockID(
0123 '1000:1100',
0124 '10000:11000'
0125 ),
0126 vLuminosityBlockIDv4 = cms.VLuminosityBlockID(
0127 '1000:1100',
0128 '10000:11000',
0129 '100000:110000'
0130 ),
0131 lumiRangev1 = cms.LuminosityBlockRange('1:1-9:9'),
0132 lumiRangev2 = cms.LuminosityBlockRange('3:4-1000:1000'),
0133 vLumiRangev1 = cms.VLuminosityBlockRange(),
0134 vLumiRangev2 = cms.VLuminosityBlockRange('1:1-9:9'),
0135 vLumiRangev3 = cms.VLuminosityBlockRange(
0136 '1:1-9:9',
0137 '3:4-1000:1000'
0138 ),
0139 eventRangev1 = cms.EventRange('1:1-8:8'),
0140 eventRangev2 = cms.EventRange('3:4-1001:1002'),
0141 vEventRangev1 = cms.VEventRange(),
0142 vEventRangev2 = cms.VEventRange('1:1-8:8'),
0143 vEventRangev3 = cms.VEventRange(
0144 '1:1-8:8',
0145 '3:4-1001:1002'
0146 ),
0147 inputTagv1 = cms.InputTag('One', 'Two', 'Three'),
0148 inputTagv2 = cms.InputTag('One', 'Two'),
0149 inputTagv3 = cms.InputTag('One'),
0150 inputTagv4 = cms.InputTag('One', '', 'Three'),
0151 vInputTagv1 = cms.VInputTag(),
0152 vInputTagv2 = cms.VInputTag('One:Two:Three'),
0153 vInputTagv3 = cms.VInputTag(
0154 'One:Two:Three',
0155 'One:Two'
0156 ),
0157 vInputTagv4 = cms.VInputTag(
0158 'One:Two:Three',
0159 'One:Two',
0160 'One'
0161 ),
0162 vInputTagv5 = cms.VInputTag(
0163 'One:Two:Three',
0164 'One:Two',
0165 'One',
0166 'One::Three'
0167 ),
0168 esinputTagv1 = cms.ESInputTag('One', 'Two'),
0169 esinputTagv2 = cms.ESInputTag('One', ''),
0170 esinputTagv3 = cms.ESInputTag('', 'Two'),
0171 vESInputTagv1 = cms.VESInputTag(),
0172 vESInputTagv2 = cms.VESInputTag('One:Two'),
0173 vESInputTagv3 = cms.VESInputTag(
0174 'One:Two',
0175 'One:'
0176 ),
0177 vESInputTagv4 = cms.VESInputTag(
0178 'One:Two',
0179 'One:',
0180 ':Two'
0181 ),
0182 fileInPath = cms.FileInPath('FWCore/Integration/plugins/ProducerWithPSetDesc.cc'),
0183 bar = cms.PSet(
0184 Drinks = cms.uint32(5),
0185 uDrinks = cms.untracked.uint32(5),
0186 oDrinks = cms.uint32(5),
0187 ouDrinks = cms.untracked.uint32(5)
0188 ),
0189 test104 = cms.untracked.VPSet(
0190 cms.PSet()
0191 ),
0192 test105 = cms.untracked.VPSet(
0193 ),
0194 test1 = cms.double(0.1),
0195 test2 = cms.double(0.2),
0196 testA = cms.string('fooA'),
0197 testB = cms.int32(100),
0198 testC = cms.int32(101),
0199 oiswitch = cms.int32(1),
0200 oivalue1 = cms.double(101),
0201 oivalue2 = cms.double(101),
0202 testDeeplyNested2 = cms.PSet(
0203 bswitch = cms.bool(False),
0204 bvalue1 = cms.double(101),
0205 bvalue2 = cms.double(101),
0206 iswitch = cms.int32(1),
0207 ivalue1 = cms.double(101),
0208 ivalue2 = cms.untracked.double(101),
0209 sswitch = cms.string('1'),
0210 svalue1 = cms.double(101),
0211 svalue2 = cms.double(101),
0212 testint = cms.int32(1000)
0213 ),
0214 bars = cms.VPSet(
0215 cms.PSet(
0216 oDrinks = cms.uint32(11)
0217 ),
0218 cms.PSet(
0219 ndouDrinks = cms.untracked.uint32(11),
0220 oDrinks = cms.uint32(11),
0221 ouDrinks = cms.untracked.uint32(11),
0222 testDeeplyNested = cms.PSet(
0223 testint = cms.int32(2)
0224 ),
0225 anotherVPSet = cms.VPSet(
0226 cms.PSet(),
0227 cms.PSet(
0228 xvalue = cms.int32(17)
0229 )
0230 )
0231 )
0232 ),
0233 subpset = cms.PSet(
0234 xvalue = cms.int32(11),
0235 bar = cms.untracked.PSet(
0236 Drinks = cms.uint32(5),
0237 uDrinks = cms.untracked.uint32(5),
0238 oDrinks = cms.uint32(5),
0239 ouDrinks = cms.untracked.uint32(5)
0240 )
0241 ),
0242 wildcardPset = cms.PSet(
0243 p_uint_opt = cms.uint32(0),
0244 allowAnyLabel_ = cms.optional.int32
0245 ),
0246 switchPset = cms.PSet(
0247 iswitch = cms.int32(1),
0248 ivalue1 = cms.double(101),
0249 ivalue2 = cms.double(101),
0250 addTeVRefits = cms.bool(True),
0251 pickySrc = cms.InputTag(''),
0252 tpfmsSrc = cms.InputTag('')
0253 ),
0254 xorPset = cms.PSet(
0255 name = cms.string('11'),
0256 name1 = cms.string('11'),
0257 name3 = cms.string('11')
0258 ),
0259 orPset = cms.PSet(
0260 x1 = cms.string('11'),
0261 y1 = cms.string('11')
0262 ),
0263 andPset = cms.PSet(
0264 x1 = cms.string('11'),
0265 x2 = cms.uint32(11),
0266 y1 = cms.string('11'),
0267 y2 = cms.uint32(11),
0268 z1 = cms.string('11'),
0269 z2 = cms.uint32(11),
0270 b1 = cms.string('11'),
0271 b2 = cms.uint32(11),
0272 b3 = cms.uint32(11),
0273 b4 = cms.uint32(11),
0274 b5 = cms.uint32(11),
0275 b6 = cms.uint32(11)
0276 ),
0277 ifExistsPset = cms.PSet(
0278 x1 = cms.uint32(11),
0279 x2 = cms.string('11'),
0280 z1 = cms.uint32(11),
0281 z2 = cms.string('11')
0282 ),
0283 allowedLabelsPset = cms.PSet(
0284 p_int_opt = cms.int32(0),
0285 testAllowedLabels = cms.vstring(),
0286 testAllowedLabelsUntracked = cms.untracked.vstring(),
0287 testWithSet = cms.untracked.vstring(),
0288 testWithVectorOfSets = cms.untracked.vstring()
0289 ),
0290 noDefaultPset3 = cms.PSet(
0291 noDefault1 = cms.optional.int32,
0292 noDefault2 = cms.optional.vint32,
0293 noDefault3 = cms.optional.uint32,
0294 noDefault4 = cms.optional.vuint32,
0295 noDefault5 = cms.optional.int64,
0296 noDefault6 = cms.optional.vint64,
0297 noDefault7 = cms.optional.uint64,
0298 noDefault8 = cms.optional.vuint64,
0299 noDefault9 = cms.optional.double,
0300 noDefault10 = cms.optional.vdouble,
0301 noDefault11 = cms.optional.bool,
0302 noDefault12 = cms.optional.string,
0303 noDefault13 = cms.optional.vstring,
0304 noDefault14 = cms.optional.EventID,
0305 noDefault15 = cms.optional.VEventID,
0306 noDefault16 = cms.optional.LuminosityBlockID,
0307 noDefault17 = cms.optional.VLuminosityBlockID,
0308 noDefault18 = cms.optional.InputTag,
0309 noDefault19 = cms.optional.VInputTag,
0310 noDefault20 = cms.optional.FileInPath,
0311 noDefault21 = cms.optional.LuminosityBlockRange,
0312 noDefault22 = cms.optional.VLuminosityBlockRange,
0313 noDefault23 = cms.optional.EventRange,
0314 noDefault24 = cms.optional.VEventRange
0315 ),
0316 noDefaultPset4 = cms.PSet(
0317 noDefault1 = cms.optional.untracked.int32,
0318 noDefault2 = cms.optional.untracked.vint32,
0319 noDefault3 = cms.optional.untracked.uint32,
0320 noDefault4 = cms.optional.untracked.vuint32,
0321 noDefault5 = cms.optional.untracked.int64,
0322 noDefault6 = cms.optional.untracked.vint64,
0323 noDefault7 = cms.optional.untracked.uint64,
0324 noDefault8 = cms.optional.untracked.vuint64,
0325 noDefault9 = cms.optional.untracked.double,
0326 noDefault10 = cms.optional.untracked.vdouble,
0327 noDefault11 = cms.optional.untracked.bool,
0328 noDefault12 = cms.optional.untracked.string,
0329 noDefault13 = cms.optional.untracked.vstring,
0330 noDefault14 = cms.optional.untracked.EventID,
0331 noDefault15 = cms.optional.untracked.VEventID,
0332 noDefault16 = cms.optional.untracked.LuminosityBlockID,
0333 noDefault17 = cms.optional.untracked.VLuminosityBlockID,
0334 noDefault18 = cms.optional.untracked.InputTag,
0335 noDefault19 = cms.optional.untracked.VInputTag,
0336 noDefault20 = cms.optional.untracked.FileInPath,
0337 noDefault21 = cms.optional.untracked.LuminosityBlockRange,
0338 noDefault22 = cms.optional.untracked.VLuminosityBlockRange,
0339 noDefault23 = cms.optional.untracked.EventRange,
0340 noDefault24 = cms.optional.untracked.VEventRange
0341 ),
0342 plugin = cms.PSet(
0343 value = cms.int32(5),
0344 type = cms.string('edmtestAnotherValueMaker')
0345
0346 ),
0347 plugin1 = cms.PSet(),
0348 plugin2 = cms.VPSet(
0349 ),
0350 plugin3 = cms.VPSet(
0351 cms.PSet(
0352 type = cms.string('edmtestAnotherOneMaker')
0353 ),
0354 cms.PSet(
0355 type = cms.string('edmtestAnotherValueMaker'),
0356 value = cms.int32(11)
0357 )
0358 ),
0359 plugin4 = cms.PSet(
0360 value = cms.int32(5),
0361 pluginRecursive = cms.PSet(),
0362 type = cms.string('edmtestAnotherMakerWithRecursivePlugin')
0363
0364 ),
0365 plugin5 = cms.VPSet(
0366 cms.PSet(
0367 type = cms.string('edmtestAnotherOneMaker')
0368 ),
0369 cms.PSet(
0370 type = cms.string('edmtestAnotherMakerWithRecursivePlugin'),
0371 value = cms.int32(11)
0372 )
0373 ),
0374 mightGet = cms.optional.untracked.vstring
0375 )
0376
0377 print(testProducerWithPsetDesc.dumpPython())