"275_Low":1.0,"275_High":1.0,
                "325_Low":1.0,"325_High":1.0,
                "375_Low":1.0,"375_High":1.0,
                "475_Low":1.0,"475_High":1.0,
                "575_Low":1.0,"575_High":1.0,
                "675_Low":1.0,"675_High":1.0,
                "775_Low":1.0,"775_High":1.0,
                "875_Low":1.0,"875_High":1.0,
                "975_Low":1.0,"975_High":1.0,
                "1075_Low":1.0,"1075_High":1.0}

settings = {
  "dirs":["200_275","275_325","325_375","375_475","475_575","575_675","675_775","775_875","875_975","975_1075","1075"][3:],
  # "Plots":[ "PhotonPt_all", "AlphaT_all","HT_all","PhotonPFIso_all","PhotonNeutralIso_all","PhotonChargedIso_all","JetMultiplicity_all","Number_Btags_all","CommonJetPt_all","CommonJetEta_all","Number_Good_verticies_all" ] ,
  "Plots":["MET_Corrected_all"],
  "Lumo" : this_run()["ph_lumi"]*10.,
  "Webpage":"btag",
  "Category":"Photon",
  "WebBinning":["375_upwards"],
  "Misc":[],
  "MHTMET":"True",
  "Trigger":trigger_effs
      }

rootDirectory = "../" + this_run()["path_name"]

'''
Sample Instructions

1st argument - Path to root File
2nd argument - Prefix to ht bin, "Photon_","OneMuon_","DiMuon_"
                "275_Low":0.893,"275_High":0.898,
                "325_Low":0.895,"325_High":0.900,
                "375_Low":0.897,"375_High":0.903,
                "475_Low":0.898,"475_High":0.905,
                "575_Low":0.900,"575_High":0.906,
                "675_Low":0.901,"675_High":0.907,
                "775_Low":0.902,"775_High":0.908,
                "875_Low":0.904,"875_High":0.906,
                "975_Low":0.903,"975_High":0.906,
                "1075_Low":0.900,"1075_High":0.912,}

settings = {
  "dirs":["150_200","200_275","275_325","325_375","375_475","475_575","575_675","675_775","775_875","875_975","975_1075","1075"],
  "Plots":["MHTovMET_all","MHT_all","AlphaT_all","CommonJetPt_all","HT_all","Number_Btags_all","JetMultiplicity_all","CommonJetEta_all","MuPt_all","MuEta_all","MuPFIso_all","MT_all","Number_Good_verticies_all"],
  # "Plots":["AlphaT_all", "MuPt_all"],
  "Lumo" : this_run()["mu_lumi"]*10.,
  "Webpage":"btag",
  "Category":"OneMuon",
  "WebBinning":["150_200","200_275","275_325","325_375","200_upwards","375_upwards"],
  # "WebBinning":["200_275","275_325","325_375","375_475", "475_575"],
  "Misc":[],
  "MHTMET":"True",
  "Trigger":trigger_effs,
  "SITV_plots":[False, True][1]
  }

if settings["SITV_plots"]:
  for p in ['pfCandsPt_0', 'pfCandsDzPV_0', 'pfCandsDunno_0', 'pfCandsCharge_0']:
    settings["Plots"].append(p) 

print ">> Opening directory:", this_run()["path_name"]
trigger_effs = {"200_Low":1.0,"200_High":1.0,
                "275_Low":1.0,"275_High":1.0,
                "325_Low":1.0,"325_High":1.0,
                "375_Low":1.0,"375_High":1.0,
                "475_Low":1.0,"475_High":1.0,
                "575_Low":1.0,"575_High":1.0,
                "675_Low":1.0,"675_High":1.0,
                "775_Low":1.0,"775_High":1.0,
                "875_Low":1.0,"875_High":1.0,
                "975_Low":1.0,"975_High":1.0,
                "1075_Low":1.0,"1075_High":1.0}

settings = {
  "dirs":["200_275","275_325","325_375","375_475","475_575","575_675","675_775","775_875","875_975","975_1075","1075"],
  "Plots":[ "PhotonPt_all", "AlphaT_all","HT_all","PhotonPFIso_all","PhotonNeutralIso_all","PhotonChargedIso_all","JetMultiplicity_all","Number_Btags_all","CommonJetPt_all","CommonJetEta_all","Number_verticies_all","Number_Good_verticies_all" ] ,
  "Lumo" : this_run()["ph_lumi"]*10.,
  "Webpage":"btag",
  "Category":"Photon",
  "WebBinning":["375_upwards"],
  "Misc":[],
  "MHTMET":"True",
  "Trigger":trigger_effs
      }

rootDirectory = "../" + this_run()["path_name"]

'''
Sample Instructions

1st argument - Path to root File
2nd argument - Prefix to ht bin, "Photon_","OneMuon_","DiMuon_"