Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Demo")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger = cms.Service("MessageLogger",
0007     cerr = cms.untracked.PSet(
0008         enable = cms.untracked.bool(False)
0009     ),
0010     cout = cms.untracked.PSet(
0011         enable = cms.untracked.bool(True),
0012         threshold = cms.untracked.string('INFO')
0013     )
0014 )
0015 
0016 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0017 
0018 
0019 process.load("RecoLocalCalo.HcalRecAlgos.hcalRecAlgoESProd_cfi")
0020 
0021 
0022 
0023 process.source = cms.Source("EmptySource",
0024     numberEventsInRun = cms.untracked.uint32(1),
0025     firstRun = cms.untracked.uint32(1)
0026 )
0027 
0028 process.demo = cms.EDAnalyzer("HcalSevLvlAnalyzer")
0029 
0030 ## the following is just a test module
0031 #process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0032 #     toGet = cms.VPSet(cms.PSet(
0033 #         record = cms.string('HcalSeverityLevelComputerRcd'),
0034 #         data = cms.vstring('HcalSeverityLevelComputer')
0035 #     )),
0036 #     verbose = cms.untracked.bool(True)
0037 #)
0038 #process.p = cms.Path(process.get)
0039 
0040 
0041 process.p = cms.Path(process.demo)