3 process = cms.Process(
"PAT")
6 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
9 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
12 from PhysicsTools.PatAlgos.tools.cmsswVersionTools
import pickRelValInputFiles
13 process.source = cms.Source(
"PoolSource",
14 fileNames = cms.untracked.vstring(
16 , relVal =
'RelValTTbar'
17 , globalTag =
'START42_V7'
23 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
26 process.load(
"Configuration.StandardSequences.Geometry_cff")
27 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
28 from Configuration.PyReleaseValidation.autoCond
import autoCond
29 process.GlobalTag.globaltag = cms.string( autoCond[
'startup' ] )
30 process.load(
"Configuration.StandardSequences.MagneticField_cff")
33 process.load(
"PhysicsTools.PatAlgos.patSequences_cff")
36 from PhysicsTools.PatAlgos.patEventContent_cff
import patEventContent
37 process.out = cms.OutputModule(
"PoolOutputModule",
38 fileName = cms.untracked.string(
'patTuple.root'),
40 SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring(
'p') ),
43 outputCommands = cms.untracked.vstring(
'drop *', *patEventContent )
46 process.outpath = cms.EndPath(process.out)