14 labels = [f.replace(
".root",
"")
for f
in files]
18 drawArgs[
"ratio"] =
True
20 drawArgs[
"separate"] =
True
22 drawArgs[
"saveFormat"] =
".png"
24 plotting.verbose =
True
26 val = SimpleValidation(files, labels, opts.outputDir)
29 htmlReport = val.createHtmlReport(validationName=opts.html_validation_name)
30 htmlReport.beginSample(SimpleSample(opts.html_prefix, opts.html_sample))
31 kwargs[
"htmlReport"] = htmlReport
32 val.doPlots(trackingPlots.plotter, subdirprefix=opts.subdirprefix, plotterDrawArgs=drawArgs, **kwargs)
33 val.doPlots(trackingPlots.timePlotter, subdirprefix=opts.subdirprefix, plotterDrawArgs=drawArgs, **kwargs)
34 val.doPlots(vertexPlots.plotter, subdirprefix=opts.subdirprefix, plotterDrawArgs=drawArgs, **kwargs)
38 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
40 print "Plots created into directory '%s'." % opts.outputDir