<!-- 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'> <!-- Notice that there is no signal in the control region --> <Channel Name="controlRegion" InputFile="./data/dataDriven.root" > <Data HistoName="ControlRegion" HistoPath="" /> <!-- Configure Stat Errors --> <StatErrorConfig RelErrorThreshold="0.05" ConstraintType="Gaussian" /> <!-- MC Background in control region --> <!-- With StatError on MC Shape --> <Sample Name="background1" HistoPath="" NormalizeByTheory="True" HistoName="Background1" > <StatError Activate="True" /> <OverallSys Name="bkg1CrossSection" Low="0.95" High="1.05"/> </Sample> <!-- Background 2 is completely DataDriven --> <!-- We fit its shape in this channel --> <!-- (As well as simultaneously in the signal region) --> <Sample Name="background2" HistoPath="" NormalizeByTheory="False" HistoName="FlatHist" > <ShapeFactor Name="Bkg2Shape"/> </Sample> </Channel>