Skip to content

Instantly share code, notes, and snippets.

@dciangot
Last active October 9, 2017 13:53
Show Gist options
  • Save dciangot/9b555f1622dfc97ac962c8b96be5e13c to your computer and use it in GitHub Desktop.
Save dciangot/9b555f1622dfc97ac962c8b96be5e13c to your computer and use it in GitHub Desktop.
import FWCore.ParameterSet.Config as cms
process = cms.Process("Demo")
process.load("FWCore.MessageService.MessageLogger_cfi")
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
process.Timing = cms.Service("Timing",
summaryOnly = cms.untracked.bool(False),
useJobReport = cms.untracked.bool(True)
)
readFiles = cms.untracked.vstring()
secFiles = cms.untracked.vstring()
process.source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
readFiles.extend( [
'/store/mc/HC/GenericTTbar/GEN-SIM-RECO/CMSSW_5_3_1_START53_V5-v1/0010/00CE4E7C-DAAD-E111-BA36-0025B32034EA.root'] )
process.demo = cms.EDAnalyzer('testCPU',
durationInHours = cms.int32(2),
)
process.p = cms.Path(process.demo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment