File indexing completed on 2024-04-06 12:30:43
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process('CSCNoiseMatrixTest')
0004
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet(
0007 input = cms.untracked.int32(1)
0008 )
0009
0010
0011
0012 process.load('Configuration.StandardSequences.Services_cff')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0015 process.load('Configuration.StandardSequences.Geometry_cff')
0016
0017
0018
0019 process.load("CalibMuon.Configuration.getCSCConditions_frontier_cff")
0020 process.cscConditions.connect='oracle://cms_orcoff_prep/CMS_COND_CSC'
0021
0022 process.cscConditions.toGet = cms.VPSet(
0023 cms.PSet(record = cms.string('CSCDBGainsRcd'),
0024 tag = cms.string('CSCDBGains_ME42_offline')),
0025 cms.PSet(record = cms.string('CSCDBNoiseMatrixRcd'),
0026 tag = cms.string('CSCDBNoiseMatrix_ME42_March2009')),
0027 cms.PSet(record = cms.string('CSCDBCrosstalkRcd'),
0028 tag = cms.string('CSCDBCrosstalk_ME42_offline')),
0029 cms.PSet(record = cms.string('CSCDBPedestalsRcd'),
0030 tag = cms.string('CSCDBPedestals_ME42_offline'))
0031 )
0032
0033 process.es_prefer_cscConditions = cms.ESPrefer("PoolDBESSource","cscConditions")
0034
0035
0036 process.cscConditions.DBParameters = cms.PSet(
0037 authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
0038
0039 authenticationMethod = cms.untracked.uint32(1)
0040 )
0041 process.CSCGeometryESModule.applyAlignment = False
0042
0043 process.load("SimMuon.CSCDigitizer.muonCSCDigis_cfi")
0044 process.GlobalTag.globaltag = 'IDEAL_30X::All'
0045
0046 process.cscNoiseTest = cms.EDAnalyzer("CSCNoiseMatrixTest",
0047 readBadChannels = cms.bool(False),
0048 readBadChambers = cms.bool(True),
0049 doCrosstalk = cms.bool(True),
0050 gainsConstant = cms.double(0.27),
0051 capacativeCrosstalk = cms.double(35.0),
0052 resistiveCrosstalkScaling = cms.double(1.8),
0053 doCorrelatedNoise = cms.bool(True))
0054
0055 process.RandomNumberGeneratorService.cscNoiseTest = cms.PSet(
0056 engineName = cms.untracked.string('HepJamesRandom'),
0057 initialSeed = cms.untracked.uint32(1234)
0058 )
0059
0060
0061 process.path = cms.Path(process.cscNoiseTest)