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 muon_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_MuonPhys.txt")).getVLuminosityBlockRange()
36 muon_json_2012 = cms.Sequence( muon_json_2012_pickEvents )
def split(sequence, size)
static std::string join(char **cmd)
def findFileInPath(theFile)