PlotSystematicsStatus

Make a summary plot or table of all the systematics for all samples in all regions. Export a RooFit workspace to a file with a given name. This must be a .root file.

Usage:

If given a .pdf file ending, the plot will be made using ROOT. These are sometimes hard to read, so the text size usually needs to be adjusted.

+PlotSystematicsStatus.legacy {
  +HWWRun2GGF{
   <outputFile = "./workspaces/run2-ggf-$(fitLabel)/systematicsStatus.pdf", show="Percent", textFormat=".1f", style.textSize=0.01>
  }
  +HWWRun2GGFSimple{
    <outputFile = "./workspaces/run2-ggf-$(fitLabel)/systematicsStatusInitial.pdf", show="Percent", textFormat=".1f", style.textSize=0.01>
  }
}

A more readable alternative is to use TQTable to make .html or .tex files.

+PlotSystematicsStatus.modern {
  +HWWRun2GGF{
   <outputFile = "./workspaces/run2-ggf-$(fitLabel)/systematicsStatus.html", show="Percent">
  }
  +HWWRun2GGFSimple{
    <outputFile = "./workspaces/run2-ggf-$(fitLabel)/systematicsStatusInitial.html", show="Percent">
  }
}