Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-17 02:41:48

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