Fix separate option in HGCAL validation#51168
Conversation
…he same name as other previously created canvas.
|
type ngt |
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51168/49688
|
|
A new Pull Request was created by @bfonta for master. It involves the following packages:
@cmsbuild, @ctarricone, @gabrielmscampos, @rseidita can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
@cmsbuild, please test |
|
+1 Size: This PR adds an extra 72KB to repository Comparison SummarySummary:
|
The
--separateoption of themakeHGCalValidationPlots.pyscript was crashing. I fixed the "bug" (AFAICT the usage of multipleTCanvaswith the same name) and took the chance to remove some duplicated code and apply other minor improvements.The
--separateversion, on top of separating plots to independent canvases, now produces the PNG plots directly into the folder structure, without thehtmlwrapping (so partially mimicking what the--no_htmloption is doing).The default options were left unchanged.
Tested with and without the
--separateoption: