Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0006     loadAll = cms.bool(True),
0007     timetype = cms.string('runnumber'),
0008     toGet = cms.VPSet(
0009                 cms.PSet( record = cms.string('DTReadOutMappingRcd'),
0010                           tag = cms.string('compactmap') ),
0011     ),
0012 ###    connect = cms.string('sqlite_file:testmap.db'),
0013     connect = cms.string('sqlite_file:testMCmap.db'),
0014     DBParameters = cms.PSet(
0015         messageLevel = cms.untracked.int32(0),
0016         authenticationPath = cms.untracked.string('.')
0017     )
0018 )
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(1)
0022 )
0023 
0024 process.source = cms.Source("EmptyIOVSource",
0025     timetype = cms.string('runnumber'),
0026     firstValue = cms.uint64(1),
0027     lastValue  = cms.uint64(1),
0028     interval = cms.uint64(1)
0029 )
0030 
0031 process.map   = cms.EDAnalyzer("DTCompMapValidateDBRead",
0032 ###    chkFile = cms.string('expmap.txt'),
0033 ###    chkFile = cms.string('cruzetmap.txt'),
0034 ###    chkFile = cms.string('mcMap/DTRO_770_774.txt'),
0035     chkFile = cms.string('mcMap/DTROMap.txt'),
0036     logFile = cms.string('mapValidate.log')
0037 )
0038 
0039 process.p = cms.Path(process.map)