diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/comparitor.cxx b/Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/comparitor.cxx
index a4d2e83d79b7b9095913364b0aa908f209aacfcf..a9221fa7bdd332eeade91b541769da22686b65f1 100644
--- a/Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/comparitor.cxx
+++ b/Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/comparitor.cxx
@@ -59,7 +59,6 @@ bool fulldbg = false;
 template<typename T=TH1F>
 T* Get( TFile& f, const std::string& n, const std::string& dir="", std::vector<std::string>* saved=0  ) { 
 
-
   std::string name;
 
   size_t pos = n.find("+");
@@ -80,6 +79,8 @@ T* Get( TFile& f, const std::string& n, const std::string& dir="", std::vector<s
     }
   }
 
+  if ( h ) h->SetDirectory(0);
+
   return h;
 }