5 if __name__ ==
"__main__":
7 recFile =
"ElectronEfficiencyCorrection/2015_2017/rel21.2/Summer2017_Prerec_v1/offline/efficiencySF.offline.LooseAndBLayerLLH_d0z0_v13.root"
8 models = [
"FULL",
"COMBMCTOYS"]
9 etas = [
"-2.469",
"0.0",
"2.469"]
10 pts = [
"7001",
"10001",
"20001",
"100001"]
11 runnumbers = [
"999888"]
12 for runnumber
in runnumbers:
16 cmdopts = [
"EgEfficiencyCorr_testEgEfficiencyCorrWithoutFile",
23 rawoutput = subprocess.check_output(
24 cmdopts, universal_newlines=
True)
25 maplines = rawoutput.split(
'\n')