1 import FWCore.ParameterSet.Config
as cms
4 process = cms.Process(
"PAT")
7 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
10 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
13 process.source = cms.Source(
"PoolSource",
14 fileNames = cms.untracked.vstring()
17 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
20 process.load(
"Configuration.Geometry.GeometryRecoDB_cff")
21 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
23 process.GlobalTag =
GlobalTag(process.GlobalTag,
'auto:run2_mc')
24 process.load(
"Configuration.StandardSequences.MagneticField_cff")
27 from PhysicsTools.PatAlgos.patEventContent_cff
import patEventContentNoCleaning
28 process.out = cms.OutputModule(
"PoolOutputModule",
29 fileName = cms.untracked.string(
'patTuple.root'),
34 outputCommands = cms.untracked.vstring(
'drop *', *patEventContentNoCleaning )
38 process.outpath = cms.EndPath(process.out, patAlgosToolsTask)
def getPatAlgosToolsTask(process)