Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:21

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Analysis")
0004 
0005 # run the input file through the end;
0006 # for a limited number of events, replace -1 with the desired number 
0007 #
0008 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0009 
0010 process.source = cms.Source("PoolSource",
0011    fileNames = cms.untracked.vstring
0012    (
0013       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run1.root',  
0014       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run2.root',  
0015       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run3.root',  
0016       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run4.root',  
0017       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run5.root',  
0018       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run6.root',  
0019       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run7.root',  
0020       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run8.root',  
0021       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run9.root',  
0022       'file:/storage/local/data1/condor/yarba_j/TestPSVeto/ttbar-py6/ttbar-py6-run10.root'  
0023    ) 
0024 )
0025           
0026 # FileService is mandatory, as the following analyzer module 
0027 # will want it, to create output histogram file
0028 # 
0029 process.TFileService = cms.Service("TFileService",
0030         fileName = cms.string("GenJets_MG_Py6_ttbar.root")
0031 )
0032 
0033 # the analyzer itself - empty parameter set 
0034 #
0035 process.test = cms.EDAnalyzer("BasicGenJetTester",
0036     qcut = cms.double(40.),
0037 #    src = cms.InputTag("ak5GenJets")
0038 )
0039 
0040 process.p1 = cms.Path( process.test )
0041