Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # Configuration file for EventSetupTest_t
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0009     loadAll = cms.bool(True),
0010     timetype = cms.string('runnumber'),
0011     toGet = cms.VPSet(cms.PSet(
0012         record = cms.string('CSCBadStripsRcd'),
0013         tag = cms.string('CSCBadStrips_new_popcon')
0014     )),
0015     #read from sqlite_file
0016     connect = cms.string('sqlite_file:BadStrips.db'),
0017     # read from database
0018     #string connect="frontier://FrontierDev/CMS_COND_CSC"
0019     #string connect = "oracle://cms_orcoff_int2r/CMS_COND_CSC"
0020     DBParameters = cms.PSet(
0021         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
0022         authenticationMethod = cms.untracked.uint32(1)
0023     )
0024 )
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(1)
0028 )
0029 process.source = cms.Source("EmptySource")
0030 
0031 process.prod = cms.EDAnalyzer("CSCReadBadStripsAnalyzer")
0032 
0033 process.output = cms.OutputModule("AsciiOutputModule")
0034 
0035 process.p = cms.Path(process.prod)
0036 process.ep = cms.EndPath(process.output)
0037