Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:36:56

0001 # Read Noise Matrix values - Tim Cox - 04.03.2009
0002 # I intend this to read from the standard cond data files, whatever they are.
0003 # This is for CMSSW_3xx
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 process.load("Configuration/StandardSequences/FrontierConditions_GlobalTag_cff")
0009 process.GlobalTag.globaltag = 'IDEAL_30X::All'
0010 ##process.GlobalTag.globaltag = 'IDEAL_V11::All'
0011 process.load("CalibMuon.Configuration.getCSCConditions_frontier_cff")
0012 process.cscConditions.toGet = cms.VPSet(
0013         cms.PSet(record = cms.string('CSCDBGainsRcd'),
0014                  tag = cms.string('CSCDBGains_ME42_offline')),
0015         cms.PSet(record = cms.string('CSCDBNoiseMatrixRcd'),
0016                  tag = cms.string('CSCDBNoiseMatrix_ME42_offline')),
0017         cms.PSet(record = cms.string('CSCDBCrosstalkRcd'),
0018                  tag = cms.string('CSCDBCrosstalk_ME42_offline')),
0019         cms.PSet(record = cms.string('CSCDBPedestalsRcd'),
0020                  tag = cms.string('CSCDBPedestals_ME42_offline'))
0021 )
0022 process.es_prefer_cscConditions = cms.ESPrefer("PoolDBESSource","cscConditions")
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(1)
0026 )
0027 process.source = cms.Source("EmptySource")
0028 
0029 process.analyze = cms.EDAnalyzer("CSCNoiseMatrixDBReadAnalyzer")
0030 
0031 process.printEventNumber = cms.OutputModule("AsciiOutputModule")
0032 
0033 process.p = cms.Path(process.analyze)
0034 process.ep = cms.EndPath(process.printEventNumber)
0035