Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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     connect = cms.string('frontier://FrontierDev/CMS_COND_CSC')
0017 )
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(1)
0021 )
0022 process.source = cms.Source("EmptySource")
0023 
0024 process.prod1 = cms.EDAnalyzer("CSCReadChamberMapValuesAnalyzer")
0025 
0026 process.printEventNumber = cms.OutputModule("AsciiOutputModule")
0027 
0028 process.p = cms.Path(process.prod1)
0029 process.ep = cms.EndPath(process.printEventNumber)
0030