1 import FWCore.ParameterSet.Config
as cms
2 from FWCore.PythonUtilities.LumiList
import LumiList
4 from os.path
import exists, join
7 for s
in environ[
"CMSSW_SEARCH_PATH"].
split(
":"):
8 attempt =
join(s,theFile)
18 dcsonly_json_2012_pickEvents = cms.EDFilter(
25 IsRunLsBased = cms.bool(
True),
28 RunEventList = cms.untracked.string(
'DPGAnalysis/Skims/data/listrunev'),
30 LuminositySectionsBlockRange =
LumiList(
findFileInPath(
"DPGAnalysis/Skims/data/json_DCSONLY.txt")).getVLuminosityBlockRange()
34 dcsonly_json_2012 = cms.Sequence( dcsonly_json_2012_pickEvents )
def findFileInPath(theFile)
def split(sequence, size)
static std::string join(char **cmd)