Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("PAT")
00004
00005
00006 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00007
00008
00009 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
00010
00011
00012 process.source = cms.Source("PoolSource",
00013 fileNames = cms.untracked.vstring()
00014 )
00015
00016 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
00017
00018
00019 process.load("Configuration.Geometry.GeometryIdeal_cff")
00020 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00021
00022
00023 process.GlobalTag.globaltag = cms.string( 'START53_V27::All' )
00024 process.load("Configuration.StandardSequences.MagneticField_cff")
00025
00026
00027 process.load("PhysicsTools.PatAlgos.patSequences_cff")
00028
00029
00030 from PhysicsTools.PatAlgos.patEventContent_cff import patEventContent
00031 process.out = cms.OutputModule("PoolOutputModule",
00032 fileName = cms.untracked.string('patTuple.root'),
00033
00034 SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring('p') ),
00035
00036
00037 outputCommands = cms.untracked.vstring('drop *', *patEventContent )
00038 )
00039
00040 process.outpath = cms.EndPath(process.out)