1 import FWCore.ParameterSet.Config
as cms
10 from FWCore.ParameterSet.VarParsing
import VarParsing
13 runParameters = VarParsing (
'analysis')
14 runParameters.register (
'runtype',
16 VarParsing.multiplicity.singleton,
17 VarParsing.varType.string,
20 runParameters.register (
'runkey',
22 VarParsing.multiplicity.singleton,
23 VarParsing.varType.string,
28 runParameters.parseArguments()
30 runType =
RunType([
'pp_run',
'cosmic_run',
'hi_run',
'hpu_run'])
31 if not runParameters.runkey.strip():
32 runParameters.runkey =
'pp_run' 34 runType.setRunType(runParameters.runkey.strip())
Output File Configuration.