Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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("PoolSource",
0014                             fileNames = cms.untracked.vstring(
0015     '/store/data/Commissioning10/MinimumBias/RAW/v4/000/132/317/C0DDAF53-2139-DF11-8D61-00304879FA4A.root'
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 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0038 process.dqmInfoES = DQMEDAnalyzer('DQMEventInfo',
0039                                    subSystemFolder = cms.untracked.string('EcalPreshower')
0040                                    )
0041 
0042 process.load("DQMServices.Core.DQM_cfg")
0043 process.dqmSaver = cms.EDAnalyzer("DQMFileSaver",
0044                                   saveByRun = cms.untracked.int32(1),
0045                                   dirName = cms.untracked.string('.'),
0046                                   saveAtJobEnd = cms.untracked.bool(True),
0047                                   convention = cms.untracked.string('Online'),
0048                                   referenceHandling = cms.untracked.string('all')
0049                                   )
0050 #process.load("DQMServices.Components.DQMEnvironment_cfi")
0051 #process.dqmEnv.subSystemFolder = 'EcalPreshower'
0052 
0053 process.load("DQM/EcalPreshowerMonitorModule/EcalPreshowerMonitorTasks_cfi")
0054 process.load("DQM/EcalPreshowerMonitorClient/EcalPreshowerMonitorClient_cfi")
0055 
0056 process.p = cms.Path(process.preScaler*process.ecalPreshowerDigis*process.ecalPreshowerRecHit*process.ecalPreshowerDefaultTasksSequence*process.ecalPreshowerMonitorClient*process.dqmSaver*process.dqmInfoES)
0057 
0058 #process.DQM.collectorHost = 'srv-c2c04-07'
0059 #process.DQM.collectorPort = 9190
0060 process.DQM.debug = True
0061 #process.DQMStore.verbose = 1