Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:00

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PFAOD")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring(
0007     '/store/relval/CMSSW_6_2_0_pre8/SingleMu/RECO/PRE_62_V8_RelVal_mu2012D-v1/00000/005835E9-05E0-E211-BA7B-003048F1C7C0.root'
0008     )
0009 )
0010 
0011 
0012 process.options   = cms.untracked.PSet( wantSummary = cms.untracked.bool(False))
0013 #WARNING!
0014 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(2000) )
0015 
0016 process.load("Configuration.EventContent.EventContent_cff")
0017 process.out = cms.OutputModule(
0018     "PoolOutputModule",
0019     process.AODSIMEventContent,
0020     fileName = cms.untracked.string('PFAOD.root'),
0021     )
0022 
0023 process.load("CommonTools.ParticleFlow.PF2PAT_EventContent_cff")
0024 process.out.outputCommands.extend( process.prunedAODForPF2PATEventContent.outputCommands )
0025 
0026 # additional stuff for Maxime:
0027 process.out.outputCommands.extend(
0028     [
0029       'keep GenEventInfoProduct_*_*_*',
0030       'keep *_ak5GenJets_*_*',
0031       'keep *_ak5CaloJets_*_*',
0032       'keep *_ak5JetID_*_*',
0033       'keep *_ak5JetExtender_*_*',
0034       'keep *_ak7GenJets_*_*',
0035       'keep *_ak7CaloJets_*_*',
0036       'keep *_ak7JetID_*_*',
0037       'keep *_ak7JetExtender_*_*',
0038       #------- PFJet collections --------
0039       'keep *_kt6PFJets_rho_*',
0040       'keep *_kt6PFJets_sigma_*',
0041       'keep *_ak5PFJets_*_*',        'keep *_ak7PFJets_*_*',
0042       #------- Trigger collections ------
0043       'keep edmTriggerResults_TriggerResults_*_*',
0044       'keep *_hltTriggerSummaryAOD_*_*',
0045       'keep L1GlobalTriggerObjectMapRecord_*_*_*',
0046       'keep L1GlobalTriggerReadoutRecord_*_*_*',
0047       #------- Various collections ------
0048       'keep *_EventAuxilary_*_*',
0049       'keep *_offlinePrimaryVertices_*_*',
0050       'keep *_offlinePrimaryVerticesWithBS_*_*',
0051       #------- MET collections ----------
0052       'keep *_met_*_*',
0053       'keep *_pfMet_*_*'
0054     ])
0055 
0056 process.endpath = cms.EndPath(
0057     process.out
0058     )
0059 
0060 
0061 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0062 process.MessageLogger.cerr.FwkReport.reportEvery = 10
0063 
0064