Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ProcessOne")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     cout = cms.untracked.PSet(
0010         enable = cms.untracked.bool(True),
0011         threshold = cms.untracked.string('DEBUG')
0012     ),
0013     debugModules = cms.untracked.vstring('*')
0014 )
0015 
0016 process.source = cms.Source("EmptyIOVSource",
0017     lastValue = cms.uint64(100000000000),
0018     timetype = cms.string('runnumber'),
0019     firstValue = cms.uint64(100000000000),
0020     interval = cms.uint64(1)
0021 )
0022 
0023 process.load("CondCore.CondDB.CondDB_cfi")
0024 
0025 process.CondDB.connect = 'sqlite_file:EcalIntercalibConstants.db'
0026 
0027 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0028   process.CondDB, 
0029   logconnect = cms.untracked.string('sqlite_file:log.db'),   
0030   toPut = cms.VPSet(
0031     cms.PSet(
0032       record = cms.string('EcalIntercalibConstantsRcd'),
0033       tag = cms.string('EcalIntercalibConstants')
0034     )
0035   )
0036 )
0037 
0038 process.Test1 = cms.EDAnalyzer("ExTestEcalIntercalibAnalyzer",
0039   record = cms.string('EcalIntercalibConstantsRcd'),
0040   loggingOn= cms.untracked.bool(True),
0041   IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
0042   SinceAppendMode=cms.bool(True),
0043   Source=cms.PSet(
0044     firstRun = cms.string('1'),
0045 #    type = cms.string('txt'),
0046 #    fileName = cms.string('IC2017.txt'),
0047     type = cms.string('xml'),
0048     fileName = cms.string('Intercalib_Bon.xml'),
0049   )                            
0050 )
0051 
0052 process.p = cms.Path(process.Test1)