|
tuple | makePlots_datacardsPostfitPlots.log = logging.getLogger(__name__) |
|
tuple | makePlots_datacardsPostfitPlots.parser |
|
string | makePlots_datacardsPostfitPlots.help = "Datacards." |
|
list | makePlots_datacardsPostfitPlots.default = ["data_obs"] |
|
tuple | makePlots_datacardsPostfitPlots.args = parser.parse_args() |
|
list | makePlots_datacardsPostfitPlots.plot_configs = [] |
|
tuple | makePlots_datacardsPostfitPlots.fit_result = os.path.join(os.path.dirname(datacard), "out", "mlfit.root") |
|
tuple | makePlots_datacardsPostfitPlots.output_dir = os.path.join(os.path.dirname(datacard), "shapes") |
|
tuple | makePlots_datacardsPostfitPlots.mass = str(mass) |
|
tuple | makePlots_datacardsPostfitPlots.mass_output_dir = os.path.join(output_dir, mass) |
|
tuple | makePlots_datacardsPostfitPlots.shapes_root_file = os.path.join(mass_output_dir, os.path.splitext(os.path.basename(datacard))[0]+"_"+fit_type+".root") |
|
string | makePlots_datacardsPostfitPlots.command = "PostFitShapes" |
|
tuple | makePlots_datacardsPostfitPlots.root_file = ROOT.TFile(shapes_root_file, "READ") |
|
tuple | makePlots_datacardsPostfitPlots.keys = root_file.GetListOfKeys() |
|
list | makePlots_datacardsPostfitPlots.directories = [keys.At(index).GetName() for index in range(keys.GetSize()) if keys.At(index).GetClassName() == "TDirectoryFile"] |
|
dictionary | makePlots_datacardsPostfitPlots.histograms = {} |
|
tuple | makePlots_datacardsPostfitPlots.root_dir = root_file.Get(directory) |
|
dictionary | makePlots_datacardsPostfitPlots.datas = {directory : [h for h in histos if h in args.data_processes] for directory, histos in histograms.items()} |
|
dictionary | makePlots_datacardsPostfitPlots.backgrounds = {directory : [h for h in histos if h in args.background_processes] for directory, histos in histograms.items()} |
|
dictionary | makePlots_datacardsPostfitPlots.background_uncertainties = {directory : [h for h in histos if h in args.background_uncertainties] for directory, histos in histograms.items()} |
|
dictionary | makePlots_datacardsPostfitPlots.signals = {directory : [h for h in histos if h in args.signal_processes] for directory, histos in histograms.items()} |
|
dictionary | makePlots_datacardsPostfitPlots.colors |
|
tuple | makePlots_datacardsPostfitPlots.data = datas.get(directory, []) |
|
tuple | makePlots_datacardsPostfitPlots.background = backgrounds.get(directory, []) |
|
tuple | makePlots_datacardsPostfitPlots.background_uncertainty = background_uncertainties.get(directory, []) |
|
tuple | makePlots_datacardsPostfitPlots.signal = signals.get(directory, []) |
|