File indexing completed on 2023-03-17 11:16:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("Test")
0004
0005 process.source = cms.Source("PoolSource",
0006 fileNames = cms.untracked.vstring(
0007 'file:patTuple.root'
0008 )
0009 )
0010
0011 process.MessageLogger = cms.Service("MessageLogger")
0012
0013
0014
0015
0016 from PhysicsTools.PatExamples.PatBasicAnalyzer_cfi import analyzeBasicPat
0017 process.analyzeBasicPat = analyzeBasicPat
0018
0019
0020 process.analyzeBasicPat2= analyzeBasicPat.clone()
0021
0022 process.TFileService = cms.Service("TFileService",
0023 fileName = cms.string('analyzePatBasics.root')
0024 )
0025
0026 process.p = cms.Path(
0027 process.analyzeBasicPat *
0028 process.analyzeBasicPat2
0029 )
0030