File indexing completed on 2024-04-06 12:27:42
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("DUMP")
0004
0005 process.task = cms.Task()
0006
0007
0008 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0009
0010 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0011
0012
0013 process.source = cms.Source("PoolSource",
0014 fileNames = cms.untracked.vstring("file:patMiniAOD_standard.root")
0015 )
0016
0017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
0018
0019 process.load("RecoTauTag.Configuration.dumpTauVariables_cfi")
0020 process.task.add(process.dumpTauVariables)
0021
0022 from RecoTauTag.Configuration.tauVariables_cff import slimmedVariables
0023 process.dumpTauVariables.variables = slimmedVariables
0024
0025
0026 process.out = cms.OutputModule("PoolOutputModule",
0027 fileName = cms.untracked.string('dumpTauVariables_slimmed.root'),
0028 outputCommands = cms.untracked.vstring('drop *', 'keep *_*_*_DUMP' )
0029 )
0030 process.outpath = cms.EndPath(process.out, process.task)