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.run3ScoutingProducer = cms.EDProducer("TestWriteRun3Scouting",
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, 150.0,
0025         160.0, 170.0, 180.0, 190.0, 200.0,
0026         210.0, 220.0, 230.0, 240.0, 250.0,
0027         260.0, 270.0, 280.0, 290.0, 300.0,
0028         310.0, 320.0, 330.0
0029     ),
0030     electronsIntegralValues = cms.vint32(
0031         10, 20, 30, 40, 50, 60, 70, 80
0032     ),
0033     muonsFloatingPointValues = cms.vdouble(
0034         10.0,   20.0,  30.0,  40.0,  50.0,
0035         60.0,   70.0,  80.0,  90.0, 100.0,
0036         110.0, 120.0, 130.0, 140.0, 150.0,
0037         160.0, 170.0, 180.0, 190.0, 200.0,
0038         210.0, 220.0, 230.0, 240.0, 250.0,
0039         260.0, 270.0, 280.0, 290.0, 300.0,
0040         310.0, 320.0, 330.0, 340.0, 350.0,
0041         360.0, 370.0
0042     ),
0043     muonsIntegralValues = cms.vint32(
0044         10,   20,  30,  40,  50,
0045         60,   70,  80,  90, 100,
0046         110, 120, 130, 140, 150,
0047         160, 170, 180, 190, 200,
0048         210, 220, 230, 240, 250,
0049         260
0050     ),
0051     particlesFloatingPointValues = cms.vdouble(
0052         11.0,   21.0,  31.0,  41.0,  51.0,
0053         61.0,   71.0,  81.0,  91.0, 101.0,
0054         111.0
0055     ),
0056     particlesIntegralValues = cms.vint32(
0057         11,   21,  31,  41,  51
0058     ),
0059     pfJetsFloatingPointValues = cms.vdouble(
0060         12.0,   22.0,  32.0,  42.0,  52.0,
0061         62.0,   72.0,  82.0,  92.0, 102.0,
0062         112.0, 122.0, 132.0, 142.0, 152.0
0063     ),
0064     pfJetsIntegralValues = cms.vint32(
0065         12,   22,  32,  42,  52,
0066         62,   72,  82
0067     ),
0068     photonsFloatingPointValues = cms.vdouble(
0069         14.0,   23.0,  33.0,  43.0,  53.0,
0070         63.0,   73.0,  83.0,  93.0, 103.0,
0071         113.0, 123.0, 133.0, 143.0, 153.0,
0072         163.0, 173.0
0073     ),
0074     photonsIntegralValues = cms.vint32(
0075         14,   23,  33, 43, 53
0076     ),
0077     tracksFloatingPointValues = cms.vdouble(
0078         14.0,   24.0,  34.0,  44.0,  54.0,
0079         64.0,   74.0,  84.0,  94.0, 104.0,
0080         114.0, 124.0, 134.0, 144.0, 154.0,
0081         164.0, 174.0, 184.0, 194.0, 204.0,
0082         214.0, 224.0, 234.0, 244.0, 254.0,
0083         264.0, 274.0, 284.0, 294.0
0084     ),
0085     tracksIntegralValues = cms.vint32(
0086         14,  24,  34,  44,  54
0087     ),
0088     vertexesFloatingPointValues = cms.vdouble(
0089         15.0,   25.0,  35.0,  45.0,  55.0,
0090         65.0,   75.0,  85.0,  95.0,  105.0
0091     ),
0092     vertexesIntegralValues = cms.vint32(
0093         15,  25,  35
0094     )
0095 )
0096 
0097 process.out = cms.OutputModule("PoolOutputModule",
0098     fileName = cms.untracked.string('testRun3Scouting.root')
0099 )
0100 
0101 process.path = cms.Path(process.run3ScoutingProducer)
0102 process.endPath = cms.EndPath(process.out)