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/gr_data/RunPrep09.00118878.0021.A.storageManager.04.0000.dat'
0016     )
0017                             )
0018 
0019 
0020 #process.load('EventFilter/ESRawToDigi/esRawToDigi_cfi')
0021 #process.esRawToDigi.sourceTag = 'source'
0022 #process.esRawToDigi.debugMode = False
0023 #process.esRawToDigi.debugMode = True
0024 
0025 import EventFilter.ESRawToDigi.esRawToDigi_cfi
0026 process.ecalPreshowerDigis = EventFilter.ESRawToDigi.esRawToDigi_cfi.esRawToDigi.clone()
0027 process.ecalPreshowerDigis.sourceTag = 'source'
0028 process.ecalPreshowerDigis.debugMode = False
0029 
0030 process.load('RecoLocalCalo/EcalRecProducers/ecalPreshowerRecHit_cfi')
0031 process.ecalPreshowerRecHit.ESGain = cms.int32(2)
0032 process.ecalPreshowerRecHit.ESBaseline = cms.int32(0)
0033 process.ecalPreshowerRecHit.ESMIPADC = cms.double(50)
0034 
0035 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0036 process.preScaler.prescaleFactor = 1
0037 
0038 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0039 process.dqmInfoES = DQMEDAnalyzer('DQMEventInfo',
0040                                    subSystemFolder = cms.untracked.string('EcalPreshower')
0041                                    )
0042 
0043 process.load("DQMServices.Core.DQM_cfg")
0044 process.dqmSaver = cms.EDAnalyzer("DQMFileSaver",
0045                                   saveByRun = cms.untracked.int32(1),
0046                                   dirName = cms.untracked.string('.'),
0047                                   saveAtJobEnd = cms.untracked.bool(True),
0048                                   convention = cms.untracked.string('Online'),
0049                                   referenceHandling = cms.untracked.string('all')
0050                                   )
0051 #process.load("DQMServices.Components.DQMEnvironment_cfi")
0052 #process.dqmEnv.subSystemFolder = 'EcalPreshower'
0053 
0054 process.load("DQM/EcalPreshowerMonitorModule/EcalPreshowerMonitorTasks_cfi")
0055 process.load("DQM/EcalPreshowerMonitorClient/EcalPreshowerMonitorClient_cfi")
0056 
0057 process.p = cms.Path(process.preScaler*process.ecalPreshowerDigis*process.ecalPreshowerRecHit*process.ecalPreshowerDefaultTasksSequence*process.ecalPreshowerMonitorClient*process.dqmSaver*process.dqmInfoES)
0058 
0059 process.DQM.collectorHost = 'srv-c2c04-07'
0060 process.DQM.collectorPort = 9190
0061 process.DQM.debug = True
0062 #process.DQMStore.verbose = 1