File indexing completed on 2024-04-06 12:31:23
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004
0005
0006 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0007 process.MessageLogger.cerr.threshold = 'INFO'
0008
0009
0010 from TopQuarkAnalysis.TopEventProducers.tqafInputFiles_cff import relValTTbar
0011 process.source = cms.Source("PoolSource",
0012 fileNames = cms.untracked.vstring(relValTTbar)
0013 )
0014
0015
0016 process.maxEvents = cms.untracked.PSet(
0017 input = cms.untracked.int32(50)
0018 )
0019
0020
0021 process.options = cms.untracked.PSet(
0022 wantSummary = cms.untracked.bool(True)
0023 )
0024
0025
0026 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0027 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0028 from Configuration.AlCa.GlobalTag import GlobalTag
0029 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc')
0030 process.load("Configuration.StandardSequences.MagneticField_cff")
0031
0032 process.task = cms.Task()
0033
0034
0035 process.load("PhysicsTools.PatAlgos.producersLayer1.patCandidates_cff")
0036 process.task.add(process.patCandidatesTask)
0037 process.load("PhysicsTools.PatAlgos.selectionLayer1.selectedPatCandidates_cff")
0038 process.task.add(process.selectedPatCandidatesTask)
0039
0040
0041 process.load("TopQuarkAnalysis.TopKinFitter.TtFullLepKinSolutionProducer_cfi")
0042 process.task.add(process.kinSolutionTtFullLepEvent)
0043
0044
0045 process.out = cms.OutputModule("PoolOutputModule",
0046 fileName = cms.untracked.string('ttFullLepKinSolutionProducer.root'),
0047 outputCommands = cms.untracked.vstring('drop *')
0048 )
0049 process.out.outputCommands += ['keep *_kinSolutionTtFullLepEvent_*_*']
0050
0051
0052 process.outpath = cms.EndPath(process.out, process.task)