Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:38

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('CSCDBGainsRcd'),
0013         tag = cms.string('CSCDBGains_ideal')
0014     ), 
0015         cms.PSet(
0016             record = cms.string('CSCDBNoiseMatrixRcd'),
0017             tag = cms.string('CSCDBNoiseMatrix_ideal')
0018         ), 
0019         cms.PSet(
0020             record = cms.string('CSCDBCrosstalkRcd'),
0021             tag = cms.string('CSCDBCrosstalk_ideal')
0022         ), 
0023         cms.PSet(
0024             record = cms.string('CSCDBPedestalsRcd'),
0025             tag = cms.string('CSCDBPedestals_ideal')
0026         )),
0027     #read constants from DB
0028     connect = cms.string('frontier://FrontierDev/CMS_COND_CSC')
0029 )
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(1)
0033 )
0034 process.source = cms.Source("EmptySource")
0035 
0036 process.prod1 = cms.EDAnalyzer("CSCCrossTalkDBReadAnalyzer")
0037 
0038 process.prod2 = cms.EDAnalyzer("CSCGainsDBReadAnalyzer")
0039 
0040 process.prod3 = cms.EDAnalyzer("CSCNoiseMatrixDBReadAnalyzer")
0041 
0042 process.prod4 = cms.EDAnalyzer("CSCPedestalDBReadAnalyzer")
0043 
0044 process.output = cms.OutputModule("AsciiOutputModule")
0045 
0046 process.p = cms.Path(process.prod1*process.prod2*process.prod3*process.prod4)
0047 process.ep = cms.EndPath(process.output)
0048