From f682b33a9c2cce9f332d2e4fc8b08a549b95a544 Mon Sep 17 00:00:00 2001
From: Carlos Yero <cyero002@fiu.edu>
Date: Sun, 18 Jun 2017 11:02:10 -0400
Subject: [PATCH] modify input filename

---
 CALIBRATION/shms_dc_calib/scripts/get_LookUp_Values.C | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CALIBRATION/shms_dc_calib/scripts/get_LookUp_Values.C b/CALIBRATION/shms_dc_calib/scripts/get_LookUp_Values.C
index e2770c7c..58dd20f9 100644
--- a/CALIBRATION/shms_dc_calib/scripts/get_LookUp_Values.C
+++ b/CALIBRATION/shms_dc_calib/scripts/get_LookUp_Values.C
@@ -17,7 +17,7 @@ void get_LookUp_Values() {
   infile >> input_file >> run_NUM >> num_evts;
  
   //Open root file containing drift time histos
-  TFile *f = new TFile(Form("../root_files/run%d/shms_tzero_corr_histos.root", run_NUM),"READ");
+  TFile *f = new TFile(Form("../root_files/run%d/shms_tzero_corr_histo.root", run_NUM),"READ");
  
   //Define histogram array
   TH1F *h[NPLANES];
@@ -56,7 +56,7 @@ void get_LookUp_Values() {
 
   for (int ip=0; ip<NPLANES; ip++){
    
-    TString drift_time_histo = "plane_"+plane_names[ip]+"drifttime"; 
+    TString drift_time_histo = "pdc"+plane_names[ip]+"_time"; 
 
     //Get drift time histograms from root file
     h[ip] = (TH1F*)f->Get(drift_time_histo);
-- 
GitLab