PlotLimits

Plot a limit scan.

Usage:

The following is an example for a single expected limit.

+PlotLimits {
  +allMasses {
    <outputFile="plot.pdf">
    +expected{
      +mh600 {
        # identify the masses and nominal cross sections of each mass point
        <x=600>
        <yScale=1.3207e-02>
        <source="/mh600/Limits/asimov">
      }
      +mh800 {
        # identify the masses and nominal cross sections of each mass point
        <x=800>
        <yScale=9.1080e-03>
        <source="/mh800/Limits/asimov">
      }
      +mh1000 {
        # identify the masses and nominal cross sections of each mass point
        <x=1000>
        <yScale=1.5939e-03>
        <source="/mh1000/Limits/asimov">
      }
      # identify the tags to be used from each data source
      <y="exp_upper_med", yUp.1="exp_upper_p1s", yDn.1="exp_upper_m1s", yUp.2="exp_upper_p2s", yDn.2="exp_upper_m2s"> @ ?;
      # plot cosmetics
      <style.title="expected">
      <style.lineStyle=2>
      <xLabel="m_{H}">
      <yLabel="#sigma_{H}">
    }
  }
}

some cases, you may want to set limits on a model parameter that is not directly proportional to the cross section. u can use TFormula expressions to translate the y value used for plotting into the model parameter, e.g. # identify the tags to be used from each data source <y="exp_upper_med", yUp.1="exp_upper_p1s", yDn.1="exp_upper_m1s", yUp.2="exp_upper_p2s", yDn.2="exp_upper_m2s", yFormula="sqrt(y)"> @ ?; l tags are expanded automatically. wever, "y" should not be used as a tag in the formula. written as a simple letter, it will be treated as a parameter of the TFormula and the uncertainty bands are scaled correctly. yScale is specified, the result of the formula will be scaled by that factor.