Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:43

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("HcalParametersTest")
0003 
0004 process.load('Configuration.StandardSequences.Services_cff')
0005 process.load('Configuration.EventContent.EventContent_cff')
0006 process.load('Configuration.Geometry.GeometryExtended2018Reco_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 
0009 if 'MessageLogger' in process.__dict__:
0010     process.MessageLogger.Collapse=dict()
0011 
0012 process.source = cms.Source("PoolSource",
0013                             fileNames = cms.untracked.vstring('file:step311.root'),
0014                             secondaryFileNames = cms.untracked.vstring()
0015                             )
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(-1)
0019     )
0020 
0021 process.load('DQMOffline.Hcal.hcalCollapseAnalyzer_cfi')
0022 process.load('Configuration/StandardSequences/EDMtoMEAtRunEnd_cff')
0023 
0024 process.hcalCollapseAnalyzer.verbosity = 1
0025 
0026 process.analysis_step = cms.Path(process.hcalCollapseAnalyzer)
0027 process.dqmSaver_step = cms.Path(process.dqmSaver)
0028 
0029 # Schedule definition
0030 process.schedule = cms.Schedule(process.analysis_step, process.dqmSaver_step)