1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"PAT")
6 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
9 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
12 process.source = cms.Source(
"PoolSource",
13 fileNames = cms.untracked.vstring()
16 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
19 process.load(
"Configuration.Geometry.GeometryRecoDB_cff")
20 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
22 process.GlobalTag =
GlobalTag(process.GlobalTag,
'auto:run2_mc')
23 process.load(
"Configuration.StandardSequences.MagneticField_cff")
26 from PhysicsTools.PatAlgos.patEventContent_cff
import patEventContentNoCleaning
27 process.out = cms.OutputModule(
"PoolOutputModule",
28 fileName = cms.untracked.string(
'patTuple.root'),
33 outputCommands = cms.untracked.vstring(
'drop *', *patEventContentNoCleaning )
36 process.outpath = cms.EndPath(process.out)