Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:01

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #read constants from DB
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0009 
0010 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0011     DBParameters = cms.PSet(
0012         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
0013         authenticationMethod = cms.untracked.uint32(1)
0014     ),
0015 #    loadAll = cms.bool(True),
0016     timetype = cms.string('runnumber'),
0017     toGet = cms.VPSet(cms.PSet(
0018         record = cms.string('CSCChamberTimeCorrectionsRcd'),
0019         tag = cms.string('CSCChamberTimeCorrections_testanode')
0020     )),
0021     #connect = cms.string('frontier://FrontierDev/CMS_COND_CSC')
0022     #connect = cms.string('oracle://cms_orcoff_prep/CMS_COND_CSC')
0023     #connect = cms.string('sqlite_file:/afs/cern.ch/user/d/deisher/CMSSW_3_7_0_pre3/src/OnlineDB/CSCCondDB/test/CSCChamberTimeCorrections_before_133826.db')
0024      connect = cms.string('sqlite_file:/afs/cern.ch/user/d/deisher/public/test_anode_offsets_mc.db')                                 
0025     #connect = cms.string('sqlite_file:/afs/cern.ch/user/d/deisher/CMSSW_3_7_0_pre3/src/CalibMuon/CSCCalibration/test/test_chipCorr_and_chamberCorr_after_133826.db')
0026                                    )
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(1)
0030 )
0031 process.source = cms.Source("EmptySource",
0032                           firstRun = cms.untracked.uint32(150000))
0033 
0034 
0035 process.prod1 = cms.EDAnalyzer("CSCReadChamberTimeCorrAnalyzer")
0036 
0037 process.printEventNumber = cms.OutputModule("AsciiOutputModule")
0038 
0039 process.p = cms.Path(process.prod1)
0040 process.ep = cms.EndPath(process.printEventNumber)
0041