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 golden_json_2012_pickEvents = cms.EDFilter(
25 IsRunLsBased = cms.bool(
True),
28 RunEventList = cms.untracked.string(
'DPGAnalysis/Skims/data/listrunev'),
31 LuminositySectionsBlockRange =
LumiList(
findFileInPath(
"DPGAnalysis/Skims/data/Cert_190456-208686_8TeV_22Jan2013ReReco_Collisions12_JSON.txt")).getVLuminosityBlockRange()
35 golden_json_2012 = cms.Sequence( golden_json_2012_pickEvents )
def findFileInPath(theFile)
static std::string join(char **cmd)