Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TestUserDataRead")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring('file:layer1muons_withUserData.root')
0007 )
0008 
0009 process.MessageLogger = cms.Service("MessageLogger")
0010 
0011 process.testRead = cms.EDProducer("PATUserDataTestModule",
0012     mode  = cms.string("read"),
0013     muons = cms.InputTag("testWrite"),
0014 )
0015 
0016 ##  Use the two lines below to test the output of L1 with embedded external user data
0017 #process.source.fileNames = cms.untracked.vstring('file:PATLayer1_Output.fromAOD_full.root');
0018 #process.testRead.muons = cms.InputTag("selectedLayer1Muons")
0019 
0020 process.p = cms.Path(
0021     process.testRead
0022 )