Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:05:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 ## add message logger
0006 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0007 process.MessageLogger.ParticleListDrawer=dict()
0008 
0009 ## define input
0010 from TopQuarkAnalysis.TopEventProducers.tqafInputFiles_cff import relValTTbar
0011 process.source = cms.Source("PoolSource",
0012     fileNames = cms.untracked.vstring(relValTTbar)
0013 )
0014 
0015 ## define maximal number of events to loop over
0016 process.maxEvents = cms.untracked.PSet(
0017     input = cms.untracked.int32(10)
0018 )
0019 
0020 ## configure process options
0021 process.options = cms.untracked.PSet(
0022     wantSummary      = cms.untracked.bool(True)
0023 )
0024 
0025 ## produce decaySubset
0026 process.load("TopQuarkAnalysis.TopEventProducers.producers.TopDecaySubset_cfi")
0027 process.task = cms.Task(process.decaySubset)
0028 
0029 ## produce printout of particle listings (for debugging)
0030 process.load("TopQuarkAnalysis.TopEventProducers.sequences.printGenParticles_cff")
0031 
0032 ## path
0033 process.p = cms.Path(process.printDecaySubset, process.task)