Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 process.source = cms.Source("EmptySource")
0008 process.maxEvents.input = 10
0009 
0010 process.run2ScoutingProducer = cms.EDProducer("TestWriteRun2Scouting",
0011     # Test values below are meaningless. We just make sure when we read
0012     # we get the same values. Note only values exactly convertible to
0013     # float are used to avoid precision and rounding issues in
0014     # in comparisons.
0015     caloJetsValues = cms.vdouble(
0016         2.0,   4.0 , 6.0,  8.0, 10.0,
0017         12.0, 14.0, 16.0, 18.0, 20.0,
0018         22.0, 24.0, 26.0, 28.0, 30.0,
0019         32.0
0020     ),
0021     electronsFloatingPointValues = cms.vdouble(
0022         10.0,   20.0,  30.0,  40.0,  50.0,
0023         60.0,   70.0,  80.0,  90.0, 100.0,
0024         110.0, 120.0, 130.0, 140.0
0025     ),
0026     electronsIntegralValues = cms.vint32(
0027         10, 20
0028     ),
0029     muonsFloatingPointValues = cms.vdouble(
0030         10.0,   20.0,  30.0,  40.0,  50.0,
0031         60.0,   70.0,  80.0,  90.0, 100.0,
0032         110.0, 120.0, 130.0, 140.0, 150.0,
0033         160.0, 170.0, 180.0, 190.0, 200.0,
0034         210.0, 220.0, 230.0
0035     ),
0036     muonsIntegralValues = cms.vint32(
0037         10,   20,  30,  40,  50,
0038         60,   70,  80
0039     ),
0040     particlesFloatingPointValues = cms.vdouble(
0041         11.0,   21.0,  31.0,  41.0
0042     ),
0043     particlesIntegralValues = cms.vint32(
0044         11,   21
0045     ),
0046     pfJetsFloatingPointValues = cms.vdouble(
0047         12.0,   22.0,  32.0,  42.0,  52.0,
0048         62.0,   72.0,  82.0,  92.0, 102.0,
0049         112.0, 122.0, 132.0, 142.0, 152.0
0050     ),
0051     pfJetsIntegralValues = cms.vint32(
0052         12,   22,  32,  42,  52,
0053         62,   72,  82
0054     ),
0055     photonsFloatingPointValues = cms.vdouble(
0056         14.0,   23.0,  33.0,  43.0,  53.0,
0057         63.0,   73.0,  83.0
0058     ),
0059     tracksFloatingPointValues = cms.vdouble(
0060         215.0,   225.0,  235.0,  245.0,  255.0,
0061         265.0,   275.0,  285.0,  295.0,  305.0,
0062         315.0,   325.0,  335.0,  345.0,  355.0,
0063         365.0
0064     ),
0065     tracksIntegralValues = cms.vint32(
0066         52,   62,  72,  82
0067     ),
0068     vertexesFloatingPointValues = cms.vdouble(
0069         15.0,   25.0,  35.0,  45.0,  55.0,
0070         65.0,   75.0
0071     ),
0072     vertexesIntegralValues = cms.vint32(
0073         12,   22,  32
0074     )
0075 )
0076 
0077 process.out = cms.OutputModule("PoolOutputModule",
0078     fileName = cms.untracked.string('testRun2Scouting.root')
0079 )
0080 
0081 process.path = cms.Path(process.run2ScoutingProducer)
0082 process.endPath = cms.EndPath(process.out)