Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 process.analyzeBasicPat = cms.EDAnalyzer("PatBasicAnalyzer",
0014   photonSrc   = cms.untracked.InputTag("cleanPatPhotons"),
0015   electronSrc = cms.untracked.InputTag("cleanPatElectrons"),
0016   muonSrc     = cms.untracked.InputTag("cleanPatMuons"),                                             
0017   tauSrc      = cms.untracked.InputTag("cleanPatTaus"),
0018   jetSrc      = cms.untracked.InputTag("cleanPatJets"),
0019   metSrc      = cms.untracked.InputTag("patMETs")
0020 )
0021 
0022 process.TFileService = cms.Service("TFileService",
0023   fileName = cms.string('analyzePatBasics.root')
0024 )
0025 
0026 process.p = cms.Path(process.analyzeBasicPat)
0027