Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:42:15

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('CSCBadWiresRcd'),
0013         tag = cms.string('CSCBadWires_2009_mc')
0014     )),
0015     #read from sqlite_file
0016     connect = cms.string('sqlite_file:CSCBadWires_2009_mc.db'),
0017     #connect = cms.string('frontier://FrontierProd/CMS_COND_31X_CSC'),
0018     # read from database
0019     #string connect="frontier://FrontierDev/CMS_COND_CSC"
0020     #string connect = "oracle://cms_orcoff_int2r/CMS_COND_CSC"
0021     DBParameters = cms.PSet(
0022         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
0023         authenticationMethod = cms.untracked.uint32(1)
0024     )
0025 )
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(1)
0029 )
0030 process.source = cms.Source("EmptySource",
0031     firstRun = cms.untracked.uint32(1)
0032     )
0033 
0034 process.analyze = cms.EDAnalyzer("CSCReadBadWiresAnalyzer",
0035                               outputToFile = cms.bool(True),                           
0036                               readBadChannels = cms.bool(True),
0037                               me42installed = cms.bool(True)
0038 )
0039 process.output = cms.OutputModule("AsciiOutputModule")
0040 
0041 process.p = cms.Path(process.analyze)
0042 process.ep = cms.EndPath(process.output)
0043