From 5bacd8460268b0b570be065f9157c7b5da74257d Mon Sep 17 00:00:00 2001
From: Lorenzo Moneta <Lorenzo.Moneta@cern.ch>
Date: Thu, 20 Feb 2014 14:35:50 +0100
Subject: [PATCH] Fix the PrintXML according to HistFactory.dtd 
 (InputFileLow/High -> HistoFileLow/High) This fixes ROOT-5480

---
 roofit/histfactory/src/Systematics.cxx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/roofit/histfactory/src/Systematics.cxx b/roofit/histfactory/src/Systematics.cxx
index 87882f822a0..4ee5004030c 100644
--- a/roofit/histfactory/src/Systematics.cxx
+++ b/roofit/histfactory/src/Systematics.cxx
@@ -103,10 +103,10 @@ TH1* RooStats::HistFactory::HistoSys::GetHistoHigh() {
 
 void RooStats::HistFactory::HistoSys::Print( std::ostream& stream ) {
   stream << "\t \t Name: " << fName
-	 << "\t InputFileLow: " << fInputFileLow
+	 << "\t HistoFileLow: " << fInputFileLow
 	 << "\t HistoNameLow: " << fHistoNameLow
 	 << "\t HistoPathLow: " << fHistoPathLow
-	 << "\t InputFileHigh: " << fInputFileHigh
+	 << "\t HistoFileHigh: " << fInputFileHigh
 	 << "\t HistoNameHigh: " << fHistoNameHigh
 	 << "\t HistoPathHigh: " << fHistoPathHigh
 	 << std::endl;
@@ -114,11 +114,11 @@ void RooStats::HistFactory::HistoSys::Print( std::ostream& stream ) {
 
 void RooStats::HistFactory::HistoSys::PrintXML( std::ostream& xml ) {
   xml << "      <HistoSys Name=\"" << GetName() << "\" "
-      << " InputFileLow=\""  << GetInputFileLow()  << "\" "
+      << " HistoFileLow=\""  << GetInputFileLow()  << "\" "
       << " HistoNameLow=\""  << GetHistoNameLow()  << "\" "
       << " HistoPathLow=\""  << GetHistoPathLow()  << "\" "
 
-      << " InputFileHigh=\""  << GetInputFileHigh()  << "\" "
+      << " HistoFileHigh=\""  << GetInputFileHigh()  << "\" "
       << " HistoNameHigh=\""  << GetHistoNameHigh()  << "\" "
       << " HistoPathHigh=\""  << GetHistoPathHigh()  << "\" "
       << "  /> " << std::endl;
-- 
GitLab