Variables | |
tuple | log = logging.getLogger(__name__) |
tuple | parser |
string | help = "Input ROOT file containing limit input histograms." |
list | default = ["data_obs"] |
tuple | args = vars(parser.parse_args()) |
tuple | root_file = ROOT.TFile(args["input"], "READ") |
tuple | keys = root_file.GetListOfKeys() |
list | directories = [keys.At(index).GetName() for index in range(keys.GetSize()) if keys.At(index).GetClassName() == "TDirectoryFile"] |
dictionary | histograms = {} |
tuple | root_dir = root_file.Get(directory) |
dictionary | datas = {directory : [h for h in histos if h in args["data_processes"]] for directory, histos in histograms.items()} |
dictionary | backgrounds = {directory : [h for h in histos if h in args["background_processes"]] for directory, histos in histograms.items()} |
dictionary | masses_signals = {m : {directory : [h for h in histos if h.replace(str(m), "") in args["signal_processes"]] for directory, histos in histograms.items()} for m in args["higgs_masses"]} |
dictionary | colors |
list | plot_configs = [] |
list | background = backgrounds[directory] |
list | signal = signals[directory] |
tuple makePlots_limitInputsPrefitPlots.args = vars(parser.parse_args()) |
list makePlots_limitInputsPrefitPlots.background = backgrounds[directory] |
dictionary makePlots_limitInputsPrefitPlots.backgrounds = {directory : [h for h in histos if h in args["background_processes"]] for directory, histos in histograms.items()} |
dictionary makePlots_limitInputsPrefitPlots.colors |
dictionary makePlots_limitInputsPrefitPlots.datas = {directory : [h for h in histos if h in args["data_processes"]] for directory, histos in histograms.items()} |
list makePlots_limitInputsPrefitPlots.default = ["data_obs"] |
list makePlots_limitInputsPrefitPlots.directories = [keys.At(index).GetName() for index in range(keys.GetSize()) if keys.At(index).GetClassName() == "TDirectoryFile"] |
string makePlots_limitInputsPrefitPlots.help = "Input ROOT file containing limit input histograms." |
dictionary makePlots_limitInputsPrefitPlots.histograms = {} |
tuple makePlots_limitInputsPrefitPlots.keys = root_file.GetListOfKeys() |
tuple makePlots_limitInputsPrefitPlots.log = logging.getLogger(__name__) |
dictionary makePlots_limitInputsPrefitPlots.masses_signals = {m : {directory : [h for h in histos if h.replace(str(m), "") in args["signal_processes"]] for directory, histos in histograms.items()} for m in args["higgs_masses"]} |
tuple makePlots_limitInputsPrefitPlots.parser |
list makePlots_limitInputsPrefitPlots.plot_configs = [] |
tuple makePlots_limitInputsPrefitPlots.root_dir = root_file.Get(directory) |
tuple makePlots_limitInputsPrefitPlots.root_file = ROOT.TFile(args["input"], "READ") |
list makePlots_limitInputsPrefitPlots.signal = signals[directory] |