File indexing completed on 2024-04-06 12:25:36
0001
0002
0003
0004
0005 import sys
0006 import FWCore.ParameterSet.Config as cms
0007
0008 process = cms.Process("Demo")
0009
0010 process.source = cms.Source("PoolSource",
0011 fileNames = cms.untracked.vstring(['root://xrootd.ba.infn.it//store/mc/RunIISpring16MiniAODv1/TTJets_DiLept_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/MINIAODSIM/PUSpring16_80X_mcRun2_asymptotic_2016_v3-v1/00000/0899BDA9-AE01-E611-A239-008CFA05EA2C.root']))
0012
0013 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
0014
0015 process.OUT = cms.OutputModule("PoolOutputModule",
0016 fileName = cms.untracked.string('test.root'),
0017 outputCommands = cms.untracked.vstring(['drop *']))
0018
0019 process.task = cms.Task()
0020 process.endpath= cms.EndPath(process.OUT, process.task)
0021
0022
0023 process.options = cms.untracked.PSet(
0024 wantSummary = cms.untracked.bool(True)
0025 )
0026
0027
0028
0029
0030
0031
0032 from RecoJets.JetProducers.hepTopTaggerV2_cff import chsForHTT, hepTopTaggerV2
0033
0034 process.chsForHTT = chsForHTT
0035 process.hepTopTaggerV2 = hepTopTaggerV2
0036
0037 process.task.add(process.chsForHTT, process.hepTopTaggerV2)
0038
0039 process.OUT.outputCommands.append("keep *_hepTopTaggerV2_*_Demo")
0040
0041
0042
0043