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('CSCBadChambersRcd'),
0013         tag = cms.string('CSCBadChambers_CRAFT_KillAllME42')
0014     )),
0015     #read from sqlite_file
0016     connect = cms.string('sqlite_file:BadChambers_Andy_CRAFT.db'),
0017     # read from database
0018     #connect=cms.string("frontier://FrontierDev/CMS_COND_CSC"),
0019     #connect =  cms.string("oracle://cms_orcoff_prep/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.analyze = cms.EDAnalyzer("CSCReadBadChambersAnalyzer",
0032                               outputToFile = cms.bool(True),                           
0033                               readBadChambers = cms.bool(True),
0034                               me42installed = cms.bool(True)
0035 )
0036 
0037 process.output = cms.OutputModule("AsciiOutputModule")
0038 
0039 process.p = cms.Path(process.analyze)
0040 process.ep = cms.EndPath(process.output)
0041