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 #   fileNames = cms.untracked.vstring(
0014 #    '/store/mc/Fall11/Tbar_TuneZ2_s-channel_7TeV-powheg-tauola/AODSIM/PU_S6_START42_V14B-v1/0000/F4D77C89-79F9-E011-82E8-001A92811746.root'
0015 #    )
0016 )
0017 ## define maximal number of events to loop over
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(-1)
0020 )
0021 ## configure process options
0022 process.options = cms.untracked.PSet(
0023     wantSummary = cms.untracked.bool(False)
0024 )
0025 
0026 ## configure genEvent
0027 process.load("TopQuarkAnalysis.TopEventProducers.sequences.stGenEvent_cff")
0028 
0029 ## produce printout of particle listings (for debugging)
0030 process.load("TopQuarkAnalysis.TopEventProducers.sequences.printGenParticles_cff")
0031 
0032 ## path1
0033 process.p1 = cms.Path(process.printGenParticles *
0034                       process.makeGenEvt *
0035                       process.printDecaySubset)