def testSample(): storage = None #"/eos/user/i/ineuteli/samples/nano/$ERA/$PATH" url = None #"root://cms-xrd-global.cern.ch/" filelist = None #"samples/files/2016/$SAMPLE.txt" samples = [ M( 'DY', 'DYJetsToLL_M-50', "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext1-v1/NANOAODSIM", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext2-v1/NANOAODSIM", store=storage, url=url, file=filelist, opts='zpt=True', ), M( 'TT', 'TT', "/TT_TuneCUETP8M2T4_13TeV-powheg-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7-v2/NANOAODSIM", store=storage, url=url, file=filelist, opts='toppt=True', ), D( 'Data', 'SingleMuon_Run2016C', "/SingleMuon/Run2016C-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, ), ] terms = [ 'DY', 'DY*Jets', 'DY?Jets', 'DY[1J]', ] # PRINT for sample in samples: LOG.header(sample.name) print ">>> %-14s = %r" % ("group", sample.group) print ">>> %-14s = %r" % ("name", sample.name) print ">>> %-14s = %r" % ("paths", sample.paths) print ">>> %-14s = %r" % ("url", sample.url) print ">>> %-14s = %r" % ("era", sample.era) print ">>> %-14s = %r" % ("channels", sample.channels) print ">>> %-14s = %r" % ("storage", sample.storage) print ">>> %-14s = %r" % ("extraopts", sample.extraopts) print ">>> %-14s = %r" % ("nfilesperjob", sample.nfilesperjob) for term in terms: match = sample.match(term, verb=4)
# DIBOSON M('VV','WW', "/WW_TuneCP5_13TeV-pythia8/RunIISummer19UL18NanoAODv2-106X_upgrade2018_realistic_v15_L1v1-v1/NANOAODSIM", # BUGGY Summer19 "/WW_TuneCP5_13TeV-pythia8/RunIISummer20UL18NanoAODv2-106X_upgrade2018_realistic_v15_L1v1-v1/NANOAODSIM", store=storage,url=url,files=filelist,opts="useT1=True"), M('VV','WZ', "/WZ_TuneCP5_13TeV-pythia8/RunIISummer19UL18NanoAODv2-106X_upgrade2018_realistic_v15_L1v1-v1/NANOAODSIM", # BUGGY Summer19 "/WZ_TuneCP5_13TeV-pythia8/RunIISummer20UL18NanoAODv2-106X_upgrade2018_realistic_v15_L1v1-v1/NANOAODSIM", store=storage,url=url,files=filelist,opts="useT1=True"), M('VV','ZZ', "/ZZ_TuneCP5_13TeV-pythia8/RunIISummer19UL18NanoAODv2-106X_upgrade2018_realistic_v15_L1v1-v1/NANOAODSIM", # BUGGY Summer19 "/ZZ_TuneCP5_13TeV-pythia8/RunIISummer20UL18NanoAODv2-106X_upgrade2018_realistic_v15_L1v1-v1/NANOAODSIM", store=storage,url=url,files=filelist,opts="useT1=True"), # SINGLE MUON D('Data','SingleMuon_Run2018A',"/SingleMuon/Run2018A-UL2018_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage,url=url,files=filelist,opts="useT1=False",channels=["skim*",'mutau','mumu','emu']), D('Data','SingleMuon_Run2018B',"/SingleMuon/Run2018B-UL2018_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage,url=url,files=filelist,opts="useT1=False",channels=["skim*",'mutau','mumu','emu']), D('Data','SingleMuon_Run2018C',"/SingleMuon/Run2018C-UL2018_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage,url=url,files=filelist,opts="useT1=False",channels=["skim*",'mutau','mumu','emu']), D('Data','SingleMuon_Run2018D',"/SingleMuon/Run2018D-UL2018_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage,url=url,files=filelist,opts="useT1=False",channels=["skim*",'mutau','mumu','emu']), # SINGLE ELECTRON D('Data','EGamma_Run2018A',"/EGamma/Run2018A-UL2018_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage,url=url,files=filelist,opts="useT1=False",channels=["skim*",'etau','ee']), D('Data','EGamma_Run2018B',"/EGamma/Run2018B-UL2018_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage,url=url,files=filelist,opts="useT1=False",channels=["skim*",'etau','ee']), D('Data','EGamma_Run2018C',"/EGamma/Run2018C-UL2018_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage,url=url,files=filelist,opts="useT1=False",channels=["skim*",'etau','ee']), D('Data','EGamma_Run2018D',"/EGamma/Run2018D-UL2018_MiniAODv1_NanoAODv2-v1/NANOAOD",
"/WZ_TuneCP5_13TeV-pythia8/RunIISummer20UL16NanoAODAPVv2-106X_mcRun2_asymptotic_preVFP_v9-v1/NANOAODSIM", store=storage, url=url, files=filelist), M('VV', 'ZZ', "/ZZ_TuneCP5_13TeV-pythia8/RunIISummer19UL16NanoAODAPVv2-106X_mcRun2_asymptotic_preVFP_v9-v1/NANOAODSIM", store=storage, url=url, files=filelist), # SINGLE MUON D( 'Data', 'SingleMuon_Run2016B', "/SingleMuon/Run2016B-ver2_HIPM_UL2016_MiniAODv1_NanoAODv2-v1/NANOAOD", # HIP-mitigated store=storage, url=url, files=filelist, channels=["skim*", 'mutau', 'mumu', 'emu']), D( 'Data', 'SingleMuon_Run2016C', "/SingleMuon/Run2016C-UL2016_MiniAODv1_NanoAODv2-v2/NANOAOD", # HIP-mitigated store=storage, url=url, files=filelist, channels=["skim*", 'mutau', 'mumu', 'emu']), D( 'Data', 'SingleMuon_Run2016D', "/SingleMuon/Run2016D-UL2016_MiniAODv1_NanoAODv2-v1/NANOAOD", # HIP-mitigated
), M( 'VV', 'ZZ', "/ZZ_TuneCP5_13TeV-pythia8/RunIIFall17NanoAODv6-PU2017_12Apr2018_Nano25Oct2019_102X_mc2017_realistic_v7-v2/NANOAODSIM", store=storage, url=url, file=filelist, ), # SINGLE MUON D( 'Data', 'SingleMuon_Run2017B', "/SingleMuon/Run2017B-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=["skim*", 'mutau', 'mumu', 'emu'], ), D( 'Data', 'SingleMuon_Run2017C', "/SingleMuon/Run2017C-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=["skim*", 'mutau', 'mumu', 'emu'], ), D( 'Data',
"/WZ_TuneCP5_13TeV-pythia8/RunIISummer20UL16NanoAODv2-106X_mcRun2_asymptotic_v15-v1/NANOAODSIM", store=storage, url=url, files=filelist), M('VV', 'ZZ', "/ZZ_TuneCP5_13TeV-pythia8/RunIISummer19UL16NanoAODv2-106X_mcRun2_asymptotic_v15-v1/NANOAODSIM", store=storage, url=url, files=filelist), # SINGLE MUON D('Data', 'SingleMuon_Run2016F', "/SingleMuon/Run2016F-UL2016_MiniAODv1_NanoAODv2-v4/NANOAOD", store=storage, url=url, files=filelist, channels=["skim*", 'mutau', 'mumu', 'emu']), D('Data', 'SingleMuon_Run2016G', "/SingleMuon/Run2016G-UL2016_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage, url=url, files=filelist, channels=["skim*", 'mutau', 'mumu', 'emu']), D('Data', 'SingleMuon_Run2016H', "/SingleMuon/Run2016H-UL2016_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage, url=url,
M( 'VV', 'ZZ', "/ZZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7-v1/NANOAODSIM", "/ZZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext1-v1/NANOAODSIM", store=storage, url=url, file=filelist, ), # SINGLE MUON D( 'Data', 'SingleMuon_Run2016B', "/SingleMuon/Run2016B_ver2-Nano25Oct2019_ver2-v1/NANOAOD", store=storage, url=url, file=filelist, channels=["skim*", 'mutau', 'mumu', 'emu'], ), D( 'Data', 'SingleMuon_Run2016C', "/SingleMuon/Run2016C-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=["skim*", 'mutau', 'mumu', 'emu'], ), D( 'Data',
), M( 'VV', 'ZZ', "/ZZ_TuneCP5_13TeV-pythia8/RunIIAutumn18NanoAODv6-Nano25Oct2019_102X_upgrade2018_realistic_v20-v1/NANOAODSIM", store=storage, url=url, file=filelist, ), # SINGLE MUON D( 'Data', 'SingleMuon_Run2018A', "/SingleMuon/Run2018A-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=["skim*", 'mutau', 'mumu', 'emu'], ), D( 'Data', 'SingleMuon_Run2018B', "/SingleMuon/Run2018B-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=["skim*", 'mutau', 'mumu', 'emu'], ), D( 'Data',
url=url, files=filelist, opts="useT1=True"), M('VV', 'ZZ', "/ZZ_TuneCP5_13TeV-pythia8/RunIISummer20UL17NanoAODv2-106X_mc2017_realistic_v8-v1/NANOAODSIM", store=storage, url=url, files=filelist, opts="useT1=True"), # SINGLE MUON D('Data', 'SingleMuon_Run2017B', "/SingleMuon/Run2017B-UL2017_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage, url=url, files=filelist, opts="useT1=False", channels=["skim*", 'mutau', 'mumu', 'emu']), D('Data', 'SingleMuon_Run2017C', "/SingleMuon/Run2017C-UL2017_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage, url=url, files=filelist, opts="useT1=False", channels=["skim*", 'mutau', 'mumu', 'emu']), D('Data', 'SingleMuon_Run2017D', "/SingleMuon/Run2017D-UL2017_MiniAODv1_NanoAODv2-v1/NANOAOD", store=storage,
'TTToSemiLeptonic', "/TTToSemiLeptonic_TuneCP5_13TeV-powheg-pythia8/RunIIAutumn18NanoAODv6-Nano25Oct2019_102X_upgrade2018_realistic_v20-v1/NANOAODSIM", "/TTToSemiLeptonic_TuneCP5_13TeV-powheg-pythia8/RunIIAutumn18NanoAODv6-Nano25Oct2019_102X_upgrade2018_realistic_v20_ext3-v1/NANOAODSIM", store=storage, url=url, file=filelist, opts='toppt=True', ), M( 'TT', 'TTToHadronic', "/TTToHadronic_TuneCP5_13TeV-powheg-pythia8/RunIIAutumn18NanoAODv6-Nano25Oct2019_102X_upgrade2018_realistic_v20-v3/NANOAODSIM", "/TTToHadronic_TuneCP5_13TeV-powheg-pythia8/RunIIAutumn18NanoAODv6-Nano25Oct2019_102X_upgrade2018_realistic_v20_ext2-v1/NANOAODSIM", store=storage, url=url, file=filelist, opts='toppt=True', ), # DATA D( 'Data', 'SingleMuon_Run2018B', "/SingleMuon/Run2018B-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=['mutau', 'mumu'], ), ]
), M( 'VV', 'ZZ', "/ZZ_TuneCP5_13TeV-pythia8/RunIIAutumn18NanoAODv6-Nano25Oct2019_102X_upgrade2018_realistic_v20-v1/NANOAODSIM", store=storage, url=url, files=filelist, ), # SINGLE MUON D( 'Data', 'SingleMuon_Run2018A', "/SingleMuon/Run2018A-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, files=filelist, channels=["skim*", 'mutau', 'mumu', 'emu'], ), D( 'Data', 'SingleMuon_Run2018B', "/SingleMuon/Run2018B-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, files=filelist, channels=["skim*", 'mutau', 'mumu', 'emu'], ), D( 'Data',
def testSample(): era = "2016" storage = None #"/eos/user/i/ineuteli/samples/nano/$ERA/$PATH" url = None #"root://cms-xrd-global.cern.ch/" filelist = None #"samples/files/2016/$SAMPLE.txt" samples = [ M( 'DY', 'DYJetsToLL_M-50', "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext1-v1/NANOAODSIM", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext2-v1/NANOAODSIM", store=storage, url=url, files=filelist, opts='zpt=True', ), M( 'TT', 'TT', "/TT_TuneCUETP8M2T4_13TeV-powheg-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7-v2/NANOAODSIM", store=storage, url=url, files=filelist, opts='toppt=True', ), D( 'Data', 'SingleMuon_Run2016C', "/SingleMuon/Run2016C-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, files=filelist, ), ] terms = [ 'DY', 'DY*Jets', 'DY?Jets', 'DY[1J]', ] # PRINT listname = "test/files/$ERA/$SAMPLE.txt" for sample in samples: LOG.header(sample.name) print ">>> %-14s = %r" % ("group", sample.group) print ">>> %-14s = %r" % ("name", sample.name) print ">>> %-14s = %r" % ("paths", sample.paths) print ">>> %-14s = %r" % ("url", sample.url) print ">>> %-14s = %r" % ("era", sample.era) print ">>> %-14s = %r" % ("channels", sample.channels) print ">>> %-14s = %r" % ("storage", sample.storage) print ">>> %-14s = %r" % ("extraopts", sample.extraopts) print ">>> %-14s = %r" % ("nfilesperjob", sample.nfilesperjob) print ">>> %-14s = %r" % ("files", sample.files) print ">>> %-14s = %r" % ("nevents", sample.nevents) ## MATCH #for term in terms: # match = sample.match(term,verb=4) # WRITE fname = repkey(listname, ERA=era) print ">>>\n>>> Write..." sample.writefiles(fname, nevts=True) # write Sample.files to txt file print ">>> %-14s = %r" % ("listname", fname) #print ">>> %-14s = %r"%("files",sample.files) print ">>> %-14s = %r" % ("nfiles", len(sample.files)) print ">>> %-14s = %r" % ("nevents", sample.nevents) # LOAD print ">>>\n>>> Reset..." newsample = Sample(sample.group, sample.name, *sample.paths, store=storage, url=url, files=fname, opts=sample.extraopts) print ">>> %-14s = %r" % ("listname", fname) print ">>> %-14s = %r" % ("files", newsample.files) print ">>> %-14s = %r" % ("nfiles", len(newsample.files)) print ">>> %-14s = %r" % ("nevents", newsample.nevents) print ">>> Call Sample.getfiles..." # load Sample.files from txt file files = newsample.getfiles() print ">>> %-14s = %r" % ("files", newsample.files) print ">>> %-14s = %r" % ("nfiles", len(newsample.files)) print ">>> %-14s = %r" % ("nevents", newsample.nevents)
# "/WZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7-v1/NANOAODSIM", # "/WZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext1-v1/NANOAODSIM", # store=storage,url=url,file=filelist, # ), # M('VV','ZZ', # "/ZZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7-v1/NANOAODSIM", # "/ZZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext1-v1/NANOAODSIM", # store=storage,url=url,file=filelist, # ), # SINGLE MUON # D('Data','SingleMuon_Run2016B', "/SingleMuon/Run2016B_ver2-Nano25Oct2019_ver2-v1/NANOAOD", # store=storage,url=url,file=filelist, # ), D('Data','SingleMuon_Run2016C', "/SingleMuon/Run2016C-Nano25Oct2019-v1/NANOAOD", store=storage,url=url,file=filelist, ), # D('Data','SingleMuon_Run2016D', "/SingleMuon/Run2016D-Nano25Oct2019-v1/NANOAOD", # store=storage,url=url,file=filelist, # ), # D('Data','SingleMuon_Run2016E', "/SingleMuon/Run2016E-Nano25Oct2019-v1/NANOAOD", # store=storage,url=url,file=filelist, # ), # D('Data','SingleMuon_Run2016F', "/SingleMuon/Run2016F-Nano25Oct2019-v1/NANOAOD", # store=storage,url=url,file=filelist, # ), # D('Data','SingleMuon_Run2016G', "/SingleMuon/Run2016G-Nano25Oct2019-v1/NANOAOD", # store=storage,url=url,file=filelist, # ), # D('Data','SingleMuon_Run2016H', "/SingleMuon/Run2016H-Nano25Oct2019-v1/NANOAOD", # store=storage,url=url,file=filelist,
M( 'TT', 'TTToHadronic', "/TTToHadronic_TuneCP5_13TeV-powheg-pythia8/RunIIFall17NanoAODv6-PU2017_12Apr2018_Nano25Oct2019_new_pmx_102X_mc2017_realistic_v7-v2/NANOAODSIM", store=storage, url=url, file=filelist, opts='toppt=True', ), # SINGLE MUON D( 'Data', 'SingleMuon_Run2017B', "/SingleMuon/Run2017B-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=['mutau', 'mumu'], ), D( 'Data', 'SingleMuon_Run2017C', "/SingleMuon/Run2017C-Nano25Oct2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=['mutau', 'mumu'], ), D( 'Data',
def testSample(args): era = "2016" storage = None #"/eos/user/i/ineuteli/samples/nano/$ERA/$PATH" url = None #"root://cms-xrd-global.cern.ch/" filelist = None #"samples/files/2016/$SAMPLE.txt" verbosity = args.verbosity samples = [ M('DY','DYJetsToLL_M-50', "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext1-v1/NANOAODSIM", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7_ext2-v1/NANOAODSIM", store=storage,url=url,files=filelist,opts='zpt=True', ), M('TT','TT', "/TT_TuneCUETP8M2T4_13TeV-powheg-pythia8/RunIISummer16NanoAODv6-PUMoriond17_Nano25Oct2019_102X_mcRun2_asymptotic_v7-v2/NANOAODSIM", store=storage,url=url,files=filelist,opts='toppt=True', ), M('WJ','W4JetsToLNu', "/W4JetsToLNu_TuneCP5_13TeV-madgraphMLM-pythia8/lathomas-NANOAODv2Step_UL16nonAPV-ae987f664fa23fba95446c7ef5426a19/USER", store=storage,url=url,files=filelist, #instance='prod/phys03', ), D('Data','SingleMuon_Run2016C', "/SingleMuon/Run2016C-Nano25Oct2019-v1/NANOAOD", store=storage,url=url,files=filelist, ), ] filters = args.filters terms = [ 'DY', 'DY*Jets', 'DY?Jets', 'DY[1J]', 'DY*pythia8', ] + filters # PRINT listname = "test/files/$ERA/$SAMPLE.txt" for sample in samples: LOG.header(sample.name) print ">>> %-14s = %r"%("group",sample.group) print ">>> %-14s = %r"%("name",sample.name) print ">>> %-14s = %r"%("paths",sample.paths) print ">>> %-14s = %r"%("url",sample.url) print ">>> %-14s = %r"%("era",sample.era) print ">>> %-14s = %r"%("channels",sample.channels) print ">>> %-14s = %r"%("storage",sample.storage) print ">>> %-14s = %r"%("extraopts",sample.extraopts) print ">>> %-14s = %r"%("nfilesperjob",sample.nfilesperjob) print ">>> %-14s = %r"%("files",sample.files) print ">>> %-14s = %r"%("nevents",sample.nevents) # MATCH print ">>> Testing matching:" for term in terms: match = sample.match(term,verb=verbosity) match = color('YES','green',b=True) if match else color('NO','red',b=True) print ">>> %r matches to %r: %s"%(sample.name,term,match) if filters and not all(sample.match(f,verb=verbosity) for f in filters): continue # WRITE fname = repkey(listname,ERA=era) print ">>>\n>>> Write..." sample.writefiles(fname,nevts=True) # write Sample.files to txt file print ">>> %-14s = %r"%("listname",fname) #print ">>> %-14s = %r"%("files",sample.files) print ">>> %-14s = %r"%("nfiles",len(sample.files)) print ">>> %-14s = %r"%("nevents",sample.nevents) # LOAD print ">>>\n>>> Reset..." newsample = Sample(sample.group,sample.name,*sample.paths, store=storage,url=url,files=fname,opts=sample.extraopts) print ">>> %-14s = %r"%("listname",fname) print ">>> %-14s = %r"%("files",newsample.files) print ">>> %-14s = %r"%("nfiles",len(newsample.files)) print ">>> %-14s = %r"%("nevents",newsample.nevents) print ">>> Call Sample.getfiles..." # load Sample.files from txt file files = newsample.getfiles() print ">>> %-14s = %r"%("files",newsample.files) print ">>> %-14s = %r"%("nfiles",len(newsample.files)) print ">>> %-14s = %r"%("nevents",newsample.nevents) print ">>> %-14s = %r"%("filenevts",newsample.filenevts)
# D('Data','SingleMuon_Run2017D', "/SingleMuon/Run2017D-UL2017_02Dec2019-v1/NANOAOD", # store=storage,url=url,file=filelist,channels=["skim*",'mutau','mumu','emu'], # ), # D('Data','SingleMuon_Run2017E', "/SingleMuon/Run2017E-UL2017_02Dec2019-v1/NANOAOD", # store=storage,url=url,file=filelist,channels=["skim*",'mutau','mumu','emu'], # ), # D('Data','SingleMuon_Run2017F', "/SingleMuon/Run2017F-UL2017_02Dec2019-v1/NANOAOD", # store=storage,url=url,file=filelist,channels=["skim*",'mutau','mumu','emu'], # ), # SINGLE ELECTRON D( 'Data', 'SingleElectron_Run2017B', "/SingleElectron/Run2017B-UL2017_02Dec2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=["skim*", 'etau', 'ee'], ), D( 'Data', 'SingleElectron_Run2017C', "/SingleElectron/Run2017C-UL2017_02Dec2019-v1/NANOAOD", store=storage, url=url, file=filelist, channels=["skim*", 'etau', 'ee'], ), D( 'Data',