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_2015_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_13TeV_16Dec2015ReReco_Collisions15_25ns_50ns_JSON.txt")).getVLuminosityBlockRange()
35 golden_json_2015 = cms.Sequence( golden_json_2015_pickEvents )