Functions | |
def | plot_overlap |
Variables | |
tuple | log = logging.getLogger(__name__) |
tuple | parser |
string | help = "Path to ArtusOutput" |
string | default = "./" |
tuple | args = parser.parse_args() |
tuple | exp_dict = expressions.ExpressionsDict() |
list | plot_configs = [] |
list | list_of_samples = [getattr(samples.Samples, sample) for sample in args.Samples] |
tuple | sample_settings = samples.Samples() |
tuple | config |
list | firsts = [exp_dict.replace_expressions(s) for s in args.first_category] |
list | seconds = [exp_dict.replace_expressions(s) for s in args.second_category] |
list | list_of_args_strings = [args.args] |
list | names = [] |
list | ratio_names = [] |
add = nick | |
tuple | tfile = ROOT.TFile(os.path.join(args.output_dir, args.filename+".root"), "READ") |
list | triples = [] |
list | denominator = [0,0,0] |
list | numerator = [0,0,0] |
tuple | histogram = tfile.Get(name) |
list | ratio = [numerator[x]/denominator[x] if denominator[x]>0 else 0 for x in range(3)] |
def makePlots_categoryOverlap.plot_overlap | ( | triple_list, | |
names, | |||
file_path = "Testfile" , |
|||
kwargs | |||
) |
makePlots_categoryOverlap.add = nick |
tuple makePlots_categoryOverlap.args = parser.parse_args() |
tuple makePlots_categoryOverlap.config |
string makePlots_categoryOverlap.default = "./" |
list makePlots_categoryOverlap.denominator = [0,0,0] |
tuple makePlots_categoryOverlap.exp_dict = expressions.ExpressionsDict() |
list makePlots_categoryOverlap.firsts = [exp_dict.replace_expressions(s) for s in args.first_category] |
string makePlots_categoryOverlap.help = "Path to ArtusOutput" |
tuple makePlots_categoryOverlap.histogram = tfile.Get(name) |
list makePlots_categoryOverlap.list_of_args_strings = [args.args] |
list makePlots_categoryOverlap.list_of_samples = [getattr(samples.Samples, sample) for sample in args.Samples] |
tuple makePlots_categoryOverlap.log = logging.getLogger(__name__) |
list makePlots_categoryOverlap.names = [] |
list makePlots_categoryOverlap.numerator = [0,0,0] |
tuple makePlots_categoryOverlap.parser |
list makePlots_categoryOverlap.plot_configs = [] |
list makePlots_categoryOverlap.ratio = [numerator[x]/denominator[x] if denominator[x]>0 else 0 for x in range(3)] |
list makePlots_categoryOverlap.ratio_names = [] |
tuple makePlots_categoryOverlap.sample_settings = samples.Samples() |
list makePlots_categoryOverlap.seconds = [exp_dict.replace_expressions(s) for s in args.second_category] |
tuple makePlots_categoryOverlap.tfile = ROOT.TFile(os.path.join(args.output_dir, args.filename+".root"), "READ") |
list makePlots_categoryOverlap.triples = [] |