Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ESDQM")
0004 
0005 process.load('Configuration/StandardSequences/Services_cff')
0006 process.load('FWCore/MessageService/MessageLogger_cfi')
0007 process.load("FWCore.Modules.preScaler_cfi")
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010     input = cms.untracked.int32(-1)
0011     )
0012 
0013 process.source = cms.Source("NewEventStreamFileReader",
0014                             fileNames = cms.untracked.vstring(
0015     'file:/esdata/esdev-data/es_cabling/sm/00/closed/es_cabling.00118701.0001.A.storageManager.00.0000.dat'
0016     )
0017                             )
0018 
0019 #process.load('EventFilter/ESRawToDigi/esRawToDigi_cfi')
0020 #process.esRawToDigi.sourceTag = 'source'
0021 #process.esRawToDigi.debugMode = False
0022 #process.esRawToDigi.debugMode = True
0023 
0024 import EventFilter.ESRawToDigi.esRawToDigi_cfi
0025 process.ecalPreshowerDigis = EventFilter.ESRawToDigi.esRawToDigi_cfi.esRawToDigi.clone()
0026 process.ecalPreshowerDigis.sourceTag = 'source'
0027 process.ecalPreshowerDigis.debugMode = False
0028 
0029 process.load('RecoLocalCalo/EcalRecProducers/ecalPreshowerRecHit_cfi')
0030 process.ecalPreshowerRecHit.ESGain = cms.int32(2)
0031 process.ecalPreshowerRecHit.ESBaseline = cms.int32(0)
0032 process.ecalPreshowerRecHit.ESMIPADC = cms.double(50)
0033 
0034 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0035 process.preScaler.prescaleFactor = 1
0036 
0037 process.load("DQMServices.Core.DQM_cfg")
0038 process.dqmSaver = cms.EDAnalyzer("DQMFileSaver",
0039                                   saveByRun = cms.untracked.int32(1),
0040                                   dirName = cms.untracked.string('.'),
0041                                   saveAtJobEnd = cms.untracked.bool(True),
0042                                   convention = cms.untracked.string('Online'),
0043                                   referenceHandling = cms.untracked.string('all')
0044                                   )
0045 
0046 process.load("DQM/EcalPreshowerMonitorModule/EcalPreshowerMonitorTasks_cfi")
0047 process.load("DQM/EcalPreshowerMonitorClient/EcalPreshowerLocalMonitorClient_cfi")
0048 
0049 process.p = cms.Path(process.preScaler*process.ecalPreshowerDigis*process.ecalPreshowerRecHit*process.ecalPreshowerLocalTasksSequence*process.ecalPreshowerLocalMonitorClient*process.dqmSaver*process.dqmInfoES)
0050 
0051 process.DQM.collectorHost = 'srv-c2c04-07'
0052 process.DQM.collectorPort = 9190
0053 process.DQM.debug = True
0054 #process.DQMStore.verbose = 1