1 import FWCore.ParameterSet.Config
as cms
3 source = cms.Source(
"PoolSource",
4 fileNames = cms.untracked.vstring(
5 "file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/DQMTest/MinimumBias__RAW__v1__165633__1CC420EE-B686-E011-A788-0030487CD6E8.root",
10 maxEvents = cms.untracked.PSet(
11 input = cms.untracked.int32(-1)
16 import FWCore.ParameterSet.VarParsing
as VarParsing
18 from dqmPythonTypes
import *
22 options.register (
'runkey',
24 VarParsing.VarParsing.multiplicity.singleton,
25 VarParsing.VarParsing.varType.string,
28 options.parseArguments()
35 if not options.runkey.strip():
36 options.runkey =
'pp_run'
38 runType.setRunType(options.runkey.strip())