File indexing completed on 2024-04-06 12:31:19
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 process.MessageLogger.TopHitFit=dict()
0009
0010
0011 from TopQuarkAnalysis.TopEventProducers.tqafInputFiles_cff import relValTTbar
0012 process.source = cms.Source("PoolSource",
0013 fileNames = cms.untracked.vstring(relValTTbar)
0014 )
0015
0016
0017 process.maxEvents = cms.untracked.PSet(
0018 input = cms.untracked.int32(50)
0019
0020 )
0021
0022 process.options = cms.untracked.PSet(
0023 wantSummary = cms.untracked.bool(True)
0024 )
0025
0026
0027 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0028 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0029 from Configuration.AlCa.GlobalTag import GlobalTag
0030 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc')
0031 process.load("Configuration.StandardSequences.MagneticField_cff")
0032
0033 process.task = cms.Task()
0034
0035
0036 process.load("PhysicsTools.PatAlgos.producersLayer1.patCandidates_cff")
0037 process.task.add(process.patCandidatesTask)
0038 process.load("PhysicsTools.PatAlgos.selectionLayer1.selectedPatCandidates_cff")
0039 process.task.add(process.selectedPatCandidatesTask)
0040
0041
0042 process.load("TopQuarkAnalysis.TopHitFit.TtSemiLepHitFitProducer_Muons_cfi")
0043 process.task.add(process.hitFitTtSemiLepEvent)
0044
0045
0046 process.out = cms.OutputModule("PoolOutputModule",
0047 fileName = cms.untracked.string('ttSemiLepHitFitProducer.root'),
0048 outputCommands = cms.untracked.vstring('drop *')
0049 )
0050 process.out.outputCommands += ['keep *_hitFitTtSemiLepEvent_*_*']
0051
0052
0053 process.outpath = cms.EndPath(process.out, process.task)