Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-16 23:55:31

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/test/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   ),
0245   switchPset = cms.PSet(
0246     iswitch = cms.int32(1),
0247     ivalue1 = cms.double(101),
0248     ivalue2 = cms.double(101),
0249     addTeVRefits = cms.bool(True),
0250     pickySrc = cms.InputTag(''),
0251     tpfmsSrc = cms.InputTag('')
0252   ),
0253   xorPset = cms.PSet(
0254     name = cms.string('11'),
0255     name1 = cms.string('11'),
0256     name3 = cms.string('11')
0257   ),
0258   orPset = cms.PSet(
0259     x1 = cms.string('11'),
0260     y1 = cms.string('11')
0261   ),
0262   andPset = cms.PSet(
0263     x1 = cms.string('11'),
0264     x2 = cms.uint32(11),
0265     y1 = cms.string('11'),
0266     y2 = cms.uint32(11),
0267     z1 = cms.string('11'),
0268     z2 = cms.uint32(11),
0269     b1 = cms.string('11'),
0270     b2 = cms.uint32(11),
0271     b3 = cms.uint32(11),
0272     b4 = cms.uint32(11),
0273     b5 = cms.uint32(11),
0274     b6 = cms.uint32(11)
0275   ),
0276   ifExistsPset = cms.PSet(
0277     x1 = cms.uint32(11),
0278     x2 = cms.string('11'),
0279     z1 = cms.uint32(11),
0280     z2 = cms.string('11')
0281   ),
0282   allowedLabelsPset = cms.PSet(
0283     p_int_opt = cms.int32(0),
0284     testAllowedLabels = cms.vstring(),
0285     testAllowedLabelsUntracked = cms.untracked.vstring(),
0286     testWithSet = cms.untracked.vstring(),
0287     testWithVectorOfSets = cms.untracked.vstring()
0288   ),
0289   noDefaultPset3 = cms.PSet(
0290     noDefault1 = cms.optional.int32,
0291     noDefault2 = cms.optional.vint32,
0292     noDefault3 = cms.optional.uint32,
0293     noDefault4 = cms.optional.vuint32,
0294     noDefault5 = cms.optional.int64,
0295     noDefault6 = cms.optional.vint64,
0296     noDefault7 = cms.optional.uint64,
0297     noDefault8 = cms.optional.vuint64,
0298     noDefault9 = cms.optional.double,
0299     noDefault10 = cms.optional.vdouble,
0300     noDefault11 = cms.optional.bool,
0301     noDefault12 = cms.optional.string,
0302     noDefault13 = cms.optional.vstring,
0303     noDefault14 = cms.optional.EventID,
0304     noDefault15 = cms.optional.VEventID,
0305     noDefault16 = cms.optional.LuminosityBlockID,
0306     noDefault17 = cms.optional.VLuminosityBlockID,
0307     noDefault18 = cms.optional.InputTag,
0308     noDefault19 = cms.optional.VInputTag,
0309     noDefault20 = cms.optional.FileInPath,
0310     noDefault21 = cms.optional.LuminosityBlockRange,
0311     noDefault22 = cms.optional.VLuminosityBlockRange,
0312     noDefault23 = cms.optional.EventRange,
0313     noDefault24 = cms.optional.VEventRange
0314   ),
0315   noDefaultPset4 = cms.PSet(
0316     noDefault1 = cms.optional.untracked.int32,
0317     noDefault2 = cms.optional.untracked.vint32,
0318     noDefault3 = cms.optional.untracked.uint32,
0319     noDefault4 = cms.optional.untracked.vuint32,
0320     noDefault5 = cms.optional.untracked.int64,
0321     noDefault6 = cms.optional.untracked.vint64,
0322     noDefault7 = cms.optional.untracked.uint64,
0323     noDefault8 = cms.optional.untracked.vuint64,
0324     noDefault9 = cms.optional.untracked.double,
0325     noDefault10 = cms.optional.untracked.vdouble,
0326     noDefault11 = cms.optional.untracked.bool,
0327     noDefault12 = cms.optional.untracked.string,
0328     noDefault13 = cms.optional.untracked.vstring,
0329     noDefault14 = cms.optional.untracked.EventID,
0330     noDefault15 = cms.optional.untracked.VEventID,
0331     noDefault16 = cms.optional.untracked.LuminosityBlockID,
0332     noDefault17 = cms.optional.untracked.VLuminosityBlockID,
0333     noDefault18 = cms.optional.untracked.InputTag,
0334     noDefault19 = cms.optional.untracked.VInputTag,
0335     noDefault20 = cms.optional.untracked.FileInPath,
0336     noDefault21 = cms.optional.untracked.LuminosityBlockRange,
0337     noDefault22 = cms.optional.untracked.VLuminosityBlockRange,
0338     noDefault23 = cms.optional.untracked.EventRange,
0339     noDefault24 = cms.optional.untracked.VEventRange
0340   ),
0341   plugin = cms.PSet(
0342     value = cms.int32(5),
0343     type = cms.string('edmtestAnotherValueMaker')
0344   
0345   ),
0346   plugin1 = cms.PSet(),
0347   plugin2 = cms.VPSet(
0348   ),
0349   plugin3 = cms.VPSet(
0350     cms.PSet(
0351       type = cms.string('edmtestAnotherOneMaker')
0352     ),
0353     cms.PSet(
0354       type = cms.string('edmtestAnotherValueMaker'),
0355       value = cms.int32(11)
0356     )
0357   ),
0358   mightGet = cms.optional.untracked.vstring
0359 )