CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PSet.py
Go to the documentation of this file.
1 # this fake PSET is needed for local test and for crab to figure the output
2 # filename you do not need to edit it unless you want to do a local test using
3 # a different input file than the one marked below
4 import FWCore.ParameterSet.Config as cms
5 process = cms.Process('NANO')
6 process.source = cms.Source(
7  "PoolSource",
8  fileNames=cms.untracked.vstring(),
9  # lumisToProcess=cms.untracked.VLuminosityBlockRange("254231:1-254231:24")
10 )
11 process.source.fileNames = [
12  '../../NanoAOD/test/lzma.root' # you can change only this line
13 ]
14 process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(10))
15 process.output = cms.OutputModule("PoolOutputModule",
16  fileName=cms.untracked.string('tree.root'))
17 process.out = cms.EndPath(process.output)