Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:46

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0005     DBParameters = cms.PSet(
0006         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
0007         authenticationMethod = cms.untracked.uint32(1)
0008     ),
0009     #bool loadAll = true
0010     timetype = cms.string('runnumber'),
0011     toGet = cms.VPSet(cms.PSet(
0012         record = cms.string('CSCChamberMapRcd'),
0013         tag = cms.string('CSCChamberMap')
0014     )),
0015     #read constants from DB
0016     #string connect = "frontier://FrontierDev/CMS_COND_CSC"
0017     connect = cms.string('sqlite_file:CSCChamberMapValues_20X.db')
0018 )
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(1)
0022 )
0023 process.source = cms.Source("EmptySource")
0024 
0025 process.prod1 = cms.EDAnalyzer("CSCReadChamberMapValuesAnalyzer")
0026 
0027 process.output = cms.OutputModule("AsciiOutputModule")
0028 
0029 process.p = cms.Path(process.prod1)
0030 process.ep = cms.EndPath(process.output)
0031