Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:55

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