File indexing completed on 2024-04-06 12:23:58
0001 import FWCore.ParameterSet.Config as cms
0002 from PhysicsTools.PatAlgos.tools.helpers import getPatAlgosToolsTask
0003 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0004
0005 process = cms.Process("PAT", stage2L1Trigger)
0006
0007
0008 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0009
0010
0011 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0012
0013
0014 process.source = cms.Source("PoolSource",
0015 fileNames = cms.untracked.vstring()
0016 )
0017
0018 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0019
0020
0021 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0022 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0023 from Configuration.AlCa.GlobalTag import GlobalTag
0024 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc')
0025 process.load("Configuration.StandardSequences.MagneticField_cff")
0026
0027
0028 from PhysicsTools.PatAlgos.patEventContent_cff import patEventContentNoCleaning
0029 process.out = cms.OutputModule("PoolOutputModule",
0030 fileName = cms.untracked.string('patTuple.root'),
0031
0032
0033
0034
0035 outputCommands = cms.untracked.vstring('drop *', *patEventContentNoCleaning )
0036 )
0037
0038 patAlgosToolsTask = getPatAlgosToolsTask(process)
0039 process.outpath = cms.EndPath(process.out, patAlgosToolsTask)