https://github.com/root-project/root
Raw File
Tip revision: f7ba9bfe7439ce1ebd9df172a11c6ab1b96cf388 authored by Danilo Piparo on 27 November 2023, 20:22:19 UTC
"Update ROOT version files to v6.28/10."
Tip revision: f7ba9bf
example_Expression_channel.xml
<!--
    Single channel configuration exampple.
    The top level configuration XML is example.xml

    NormalizedByTheory should be "True" (not "TRUE" or "true") for all non-data-driven backgrounds.

    If you comment or remove the <Data> tag then it will use the expected data.

    Histogram inputs should be in pb and in top-level xml the lumi should be in 1/pb
    (The important thing is that they match... fb and 1/fb is also ok)

    Note: Config.dtd needs to be accessible.  It can be found in ROOT release area.
    The file system path is relative to location of this XML file, not the executable.
-->

<!DOCTYPE Channel  SYSTEM 'HistFactorySchema.dtd'>

  <Channel Name="channel1" InputFile="./data/example.root" >
    <Data HistoName="data" HistoPath="" />

    <!-- Set the StatError type to Poisson.  Can also be Gaussian -->
    <StatErrorConfig RelErrorThreshold="0.05" ConstraintType="Poisson" />

    <Sample Name="signal" HistoPath="" HistoName="signal">
      <OverallSys Name="syst1" High="1.05" Low="0.95"/>
      <NormFactor Name="rootPOI" Val="1" Low="0." High="3."  />
      <NormFactor Name="rootPOI2" Val="1" Low="0." High="3."  /> <!-- currently can't repeat NormFactor -->
    </Sample>
    <Sample Name="background1" HistoPath="" NormalizeByTheory="True" HistoName="background1">
      <StatError Activate="True" HistoName="background1_statUncert"  />
      <OverallSys Name="syst2" Low="0.95" High="1.05"/>
    </Sample>
    <Sample Name="background2" HistoPath="" NormalizeByTheory="True" HistoName="background2">
      <StatError Activate="True" /> <!-- Use Default Histogram Errors as input to StatError -->
      <OverallSys Name="syst3" Low="0.95" High="1.05"/>
      <!-- <HistoSys Name="syst4" HistoNameHigh="HighHistForSyst4" HistoNameLow="LowHistForSyst4"/>-->
    </Sample>
  </Channel>
back to top