1 import FWCore.ParameterSet.Config
as cms
3 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
5 process = cms.Process(
"PAT", stage2L1Trigger)
8 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
11 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
14 process.source = cms.Source(
"PoolSource",
15 fileNames = cms.untracked.vstring()
18 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
21 process.load(
"Configuration.Geometry.GeometryRecoDB_cff")
22 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
23 from Configuration.AlCa.GlobalTag
import GlobalTag
24 process.GlobalTag =
GlobalTag(process.GlobalTag,
'auto:run2_mc')
25 process.load(
"Configuration.StandardSequences.MagneticField_cff")
28 from PhysicsTools.PatAlgos.patEventContent_cff
import patEventContentNoCleaning
29 process.out = cms.OutputModule(
"PoolOutputModule",
30 fileName = cms.untracked.string(
'patTuple.root'),
35 outputCommands = cms.untracked.vstring(
'drop *', *patEventContentNoCleaning )
39 process.outpath = cms.EndPath(process.out, patAlgosToolsTask)
def getPatAlgosToolsTask(process)