<!--
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>