PlotToys

This action plots the distribution of some toy datasets based on some value, for example, the postfit signa-strength or the discovery significance.

Usage:

+PlotToys.Z0 {
  +HWWRun2GGF {
    <input="Significance/toy*">
    <outputFile="workspaces/run2-ggf-$(fitLabel)/toys_z0.pdf">
    <histogram="TH1F('hist','',20,2,6)">
    <tag="Z0*">
    <label="Z_{0}">
  }
}

+PlotToys.mu {
  +HWWRun2GGF {
    <input="Significance/toy*">
    <outputFile="workspaces/run2-ggf-$(fitLabel)/toys_mu.pdf">
    <histogram="TH1F('hist','',20,0.05,2.05)">
    <tag="muGGF*val">
    <label="#mu">
  }
}

The value plotted on the horizontal axis is chosen using the tag tag.