Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #read constants from DB
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0009 
0010 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0011     DBParameters = cms.PSet(
0012         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
0013         authenticationMethod = cms.untracked.uint32(1)
0014     ),
0015     #bool loadAll = true
0016     timetype = cms.string('runnumber'),
0017     toGet = cms.VPSet(cms.PSet(
0018         record = cms.string('CSCDDUMapRcd'),
0019         tag = cms.string('CSCDDUMap')
0020     )),
0021     connect = cms.string('frontier://FrontierDev/CMS_COND_CSC')
0022 )
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(1)
0026 )
0027 process.source = cms.Source("EmptySource")
0028 
0029 process.prod1 = cms.EDAnalyzer("CSCReadDDUMapValuesAnalyzer")
0030 
0031 process.printEventNumber = cms.OutputModule("AsciiOutputModule")
0032 
0033 process.p = cms.Path(process.prod1)
0034 process.ep = cms.EndPath(process.printEventNumber)
0035