From fd0deff5412379700cb12912d98f4ccff8e806b5 Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Mon, 13 Aug 2018 17:11:29 -0500
Subject: [PATCH] 	modified:   src/THcParmList.cxx

---
 src/THcParmList.cxx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/THcParmList.cxx b/src/THcParmList.cxx
index 7f34246..0b55c40 100644
--- a/src/THcParmList.cxx
+++ b/src/THcParmList.cxx
@@ -108,13 +108,13 @@ The ENGINE CTP support parameter "blocks" which were marked with
   Int_t nfiles=0;
   ifiles[nfiles].open(fname);
   if(ifiles[nfiles].is_open()) {
-    cout << "Opening parameter file: [" << nfiles << "] " << fname << endl;
+    //cout << "Opening parameter file: [" << nfiles << "] " << fname << endl;
     nfiles++;
   }
 
   if(!nfiles) {
     static const char* const here   = "THcParmList::LoadFromFile";
-    Error (here, "error opening parameter file %s",fname);
+    //Error (here, "error opening parameter file %s",fname);
     return;			// Need a success argument returned
   }
 
@@ -128,7 +128,7 @@ The ENGINE CTP support parameter "blocks" which were marked with
 
   if(RunNumber > 0) {
     InRunRange = 0;		// Wait until run number range matching RunNumber is found
-    cout << "Reading Parameters for run " << RunNumber << endl;
+    //cout << "Reading Parameters for run " << RunNumber << endl;
   } else {
     InRunRange = 1;		// Interpret all lines
   }
@@ -698,8 +698,8 @@ std::string THcParmList::PrintJSON(int run_number ) const {
   jrun[std::to_string(run_number)] = j;
   //std::cout << j.dump(2) << "\n";
   // write prettified JSON to another file
-  std::ofstream o("pretty.json");
-  o << std::setw(4) << jrun << std::endl;
+  //std::ofstream o("pretty.json");
+  //o << std::setw(4) << jrun << std::endl;
   return jrun.dump();
 }
 
-- 
GitLab