Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("InitialData")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 process.CondDBCommon.connect = 'sqlite_file:/tmp/ecal_timebias_corrections.db'
0006 
0007 process.source = cms.Source("EmptyIOVSource",
0008     lastValue = cms.uint64(1),
0009     timetype = cms.string('runnumber'),
0010     firstValue = cms.uint64(1),
0011     interval = cms.uint64(1)
0012 )
0013 
0014 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0015     process.CondDBCommon,
0016     timetype = cms.untracked.string('runnumber'),
0017     toPut = cms.VPSet(cms.PSet(
0018         record = cms.string('EcalTimeBiasCorrectionsRcd'),
0019         tag = cms.string('initial')
0020     ))
0021 )
0022 
0023 process.timebias = cms.EDAnalyzer("EcalTimeBiasCorrectionsFillInitial",
0024     EBtimeCorrAmplitudeBins = cms.vdouble(
0025     7.9,    8.9,    10,     11.2,   12.5,   14.1,   15.8,   17.7,   19.9,   22.3,   25,     28.1,   31.5,   35.3,   39.7,
0026     44.5,   49.9,   56,     62.8,   70.5,   79.1,   88.8,   99.6,   111.7,  125.4,  140.7,  157.9,  177.1,  198.7,  223,
0027     250.2,  280.7,  315,    353.4,  396.5,  444.9,  499.2,  560.1,  628.4,  705.1,  791.1,  887.7,  996,    1117.5, 1253.9,
0028     1406.8, 1578.5, 1771.1, 1987.2, 2229.7, 2501.8, 2807,   3149.5, 3533.8, 3895.9, 3896,   4311.8, 4837.9, 5428.2, 6090.6,
0029     6833.7, 7667.5, 8603.1, 9652.9, 10830,  12152,  13635,  15298,  17165,  19260,  21610),
0030 
0031     EBtimeCorrShiftBins     = cms.vdouble(
0032     -1.770, -1.770, -1.770, -1.770, -1.666, -1.430, -1.233, -1.012, -0.866, -0.736, -0.640, -0.561, -0.505, -0.452, -0.405,
0033     -0.363, -0.335, -0.305, -0.279, -0.260, -0.239, -0.220, -0.204, -0.191, -0.186, -0.177, -0.158, -0.137, -0.126, -0.115,
0034     -0.104, -0.096, -0.085, -0.064, -0.056, -0.036, -0.020, -0.006, -0.020, -0.009, -0.020, 0.005,  0.053,  0.076,  0.093,
0035     0.137,  0.143,  0.171,  0.222,  0.229,  0.271,  0.298,  0.312,  0.307,  0.254 , -0.997 ,-0.859 , -0.819, -0.775, -0.589,
0036     -0.428, -0.288, -0.434, -0.277, -0.210, -0.179, -0.134, 0.362,  0.152,  -0.282,  -0.382),
0037 
0038     EEtimeCorrAmplitudeBins = cms.vdouble(
0039     15.7,   17.6,   19.7,   22.1,   24.8,   27.9,   31.3,   35.1,   39.4,   44.2,   49.6,   55.6,   62.4,   70,     78.6,
0040     88.1,   98.9,   111,    124.5,  139.7,  156.7,  175.9,  197.3,  221.4,  248.4,  278.7,  312.7,  350.9,  393.7,  441.7,
0041     495.6,  556.1,  624,    700.1,  785.5,  881.4,  988.9,  1109.6, 1245,   1396.9, 1567.3, 1758.6, 1973.1, 2213.9, 2484,
0042     2787.1, 3127.2, 3508.8, 3936.9, 4417.3, 4956.3, 5561.1, 6239.6, 7001,   7522.8, 8440.7, 9470.6, 10626),
0043 
0044     EEtimeCorrShiftBins     = cms.vdouble(
0045     -0.896, -0.896, -0.896, -0.896, -0.563, -0.392, -0.287, -0.203, -0.135, -0.100, -0.068, -0.050, -0.060, -0.052, -0.055,
0046     -0.050, -0.052, -0.056, -0.055, -0.056, -0.048, -0.037, -0.038, -0.037, -0.025, -0.026, -0.024, -0.013, -0.003, 0.005,
0047     0.020,  0.026,  0.008,  0.007,  -0.006, 0.024,  0.045,  0.062,  0.085,  0.088 , 0.111 , 0.139,  0.156,  0.176,  0.210,
0048     0.242,  0.267,  0.301,  0.318,  0.278,  0.287,  0.218,  0.305,  0.245,  0.184,  -0.159, -0.095, 0.037),
0049 )
0050 process.p = cms.Path(process.timebias)