Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:29:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ANALYSIS")
0004 process.MessageLogger = cms.Service("MessageLogger",
0005     cerr = cms.untracked.PSet(
0006         enable = cms.untracked.bool(False)
0007     ),
0008     cout = cms.untracked.PSet(
0009         default = cms.untracked.PSet(
0010             limit = cms.untracked.int32(0)
0011         ),
0012         enable = cms.untracked.bool(True)
0013     )
0014 )
0015 
0016 #Before this test run for example Py6EvtGenFilter_cfg.py to produce the file
0017 process.source = cms.Source("PoolSource",
0018     fileNames = cms.untracked.vstring('file:/tmp/TestEvtGen.root')
0019 )
0020 
0021 process.Test = cms.EDAnalyzer("EvtGenTestAnalyzer",
0022     HistOutFile = cms.untracked.string('Test.root')
0023 )
0024 
0025 process.p1 = cms.Path(process.Test)