PlotLikelihoodScan

Plot a likelihood scan. This action supports plotting

Usage:

The following is an example for a single 1D curve.

+PlotLikelihoodScan {
  +HWWRun2GGF {
    <arrangement="$TQPATH/../SFramework/share/templates/PlotLikelihoodScanSignificance.txt">
    <outputFile="workspaces/run2-ggf-$(fitLabel)/likelihood.pdf">
    +asmGGF {
      <source = "LikelihoodScans/ScanLikelihood.asmGGF/Scan">
      <style.lineColor=kRed, style.title="#mu_{GGF}">
    }
    <style.title.xAxis = "#mu_{ggF} (profiled)">
    <style.showLegend = true>
  }
}

The following is an example for two 2D contours (asimov and observed) plotted together.

+PlotLikelihoodScan {
  +Run2GGF2j {
    <outputFile="./workspaces/run2-comb-$(fitLabel)/likelihood.pdf">
    +2Dasm {
      <source = "/HWWRun2/LikelihoodScans/ScanLikelihood.2Dasm/Scan">
      <style.lineColor=kBlue>
      <style.markerColor=kBlue>
      <style.markerStyle=34>
      <style.showPoints = true>
    }
    +2Dobs {
      <source = "/HWWRun2/LikelihoodScans/ScanLikelihood.2Dobs/Scan">
      <style.lineColor=kRed>
      <style.markerColor=kRed>
      <style.markerStyle=47>
      <style.showPoints = true>
    }
    <style.title.xAxis = "#mu_{ggH}">
    <style.title.yAxis = "#mu_{VBF}">
    <style.showLegend = false>
  }
}

The name of the output file can be determined with the outputFile tag globally. The curves are added as subfolders to the action. The source of each scan is identified with the source tag for each curve separately. The source can either point to a result of a ScanLikelihood action, or to the result of a ScanContour action. Some global options exist to control the styling: