Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:26

0001 
0002 # The main purpose of this cfi is test that the validation will insert
0003 # missing parameters that are required by the ParameterSetDescription.
0004 
0005 # It also tests many other things that cannot be tested in an
0006 # autogenerated cfi file that are related to the ParameterSetDescription
0007 # infrastructure.
0008 
0009 import FWCore.ParameterSet.Config as cms
0010 
0011 testProducerWithPsetDesc = cms.EDProducer('ProducerWithPSetDesc',
0012   testingAutoGeneratedCfi = cms.untracked.bool(False),
0013   p_int_opt_nd = cms.int32(11),
0014   p_int_optuntracked_nd = cms.untracked.int32(12),
0015   wildcardPset = cms.PSet(
0016     a = cms.int32(1)
0017     , b = cms.untracked.double(1.0)
0018   ),
0019   switchPset = cms.PSet(
0020     iswitch = cms.int32(2),
0021     ivalue = cms.string('102'),
0022     addTeVRefits = cms.bool(False)
0023   ),
0024   xorPset = cms.PSet(
0025     name = cms.uint32(11)
0026   ),
0027   orPset = cms.PSet(
0028     x2 = cms.uint32(11),
0029     y1 = cms.string('11'),
0030     y2 = cms.uint32(11)
0031   ),
0032   andPset = cms.PSet(
0033     x1 = cms.string('11'),
0034     y2 = cms.uint32(11),
0035     a2 = cms.uint32(11),
0036     b3 = cms.uint32(11)
0037   ),
0038   ifExistsPset = cms.PSet(
0039     x1 = cms.uint32(11),
0040     y1 = cms.uint32(11),
0041     z2 = cms.string('11')
0042   ),
0043   allowedLabelsPset = cms.PSet(
0044     testAllowedLabels = cms.vstring('i1', 'i2', 'i3'),
0045     i1 = cms.int32(1),
0046     i2 = cms.int32(2),
0047     i3 = cms.int32(3),
0048     testAllowedLabelsUntracked = cms.untracked.vstring('u1', 'u2', 'u3'),
0049     u1 = cms.untracked.uint32(1),
0050     u3 = cms.untracked.uint32(3),
0051     testOptAllowedLabels = cms.vstring('oi1', 'oi2', 'oi3'),
0052     oi1 = cms.int32(1),
0053     oi2 = cms.int32(2),
0054     oi3 = cms.int32(3),
0055     testOptAllowedLabelsUntracked = cms.untracked.vstring('ou1', 'ou2', 'ou3'),
0056     ou1 = cms.untracked.uint32(1),
0057     ou2 = cms.untracked.uint32(2)
0058   ),
0059   #, bars = cms.VPSet(
0060   #  cms.PSet(
0061   #    ndouDrinks = cms.untracked.uint32(5)
0062   #  ),
0063   #  cms.PSet(
0064   #  )
0065   #)
0066   plugin1 = cms.PSet(
0067     type = cms.string('edmtestAnotherValueMaker')
0068   )
0069 )