13 labels = [f.replace(
".root",
"")
for f
in files]
17 drawArgs[
"ratio"] =
True
19 drawArgs[
"separate"] =
True
21 drawArgs[
"saveFormat"] =
".png"
23 val = SimpleValidation(files, labels, opts.outputDir)
26 htmlReport = val.createHtmlReport(validationName=opts.html_validation_name)
27 htmlReport.beginSample(SimpleSample(opts.html_prefix, opts.html_sample))
28 kwargs[
"htmlReport"] = htmlReport
29 val.doPlots(trackingPlots.plotter, subdirprefix=opts.subdirprefix, plotterDrawArgs=drawArgs, **kwargs)
30 val.doPlots(vertexPlots.plotter, subdirprefix=opts.subdirprefix, plotterDrawArgs=drawArgs, **kwargs)
34 print "Plots and HTML report created into directory '%s'. You can just move it to some www area and access the pages via web browser" % opts.outputDir
36 print "Plots created into directory '%s'." % opts.outputDir