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
00020 process.load("Configuration.Geometry.GeometryIdeal_cff")
00021 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00022 from Configuration.AlCa.autoCond import autoCond
00023 process.GlobalTag.globaltag = cms.string( autoCond[ 'startup' ] )
00024 process.load("Configuration.StandardSequences.MagneticField_cff")
00025
00026
00027
00028
00029
00030
00031
00032
00033 process.load("PhysicsTools.PatAlgos.patSequences_cff")
00034
00035
00036 from PhysicsTools.PatAlgos.patEventContent_cff import patEventContent
00037 process.out = cms.OutputModule("PoolOutputModule",
00038 fileName = cms.untracked.string('patTuple.root'),
00039
00040 SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring('p') ),
00041
00042
00043 outputCommands = cms.untracked.vstring('drop *', *patEventContent )
00044 )
00045
00046 process.outpath = cms.EndPath(process.out)