<!--
    Single channel configuration example.
    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/ShapeSys.root"  >

    <Data HistoName="data" HistoPath="" />

    <StatErrorConfig RelErrorThreshold="0.05" ConstraintType="Poisson" />

    <Sample Name="signal" HistoPath="" HistoName="signal">
      <OverallSys Name="syst1" High="1.05" Low="0.95"/>
      <NormFactor Name="SigXsecOverSM" Val="1" Low="0." High="3." />
    </Sample>

    <Sample Name="background1" HistoPath="" NormalizeByTheory="True" HistoName="background1"  >
      <ShapeSys Name="bkg1Shape" HistoName="bkg1ShapeError" />
    </Sample>

    <Sample Name="background2" HistoPath="" NormalizeByTheory="True" HistoName="background2">
      <ShapeSys Name="bkg2Shape" HistoName="bkg2ShapeError" />
    </Sample>

  </Channel>
