From f73724c3f575e6508266b4d397f0579cd8ae149b Mon Sep 17 00:00:00 2001
From: Zhenyu Ye <yezhenyu@EIC-SoLID.local>
Date: Sat, 27 Nov 2021 17:04:20 -0600
Subject: [PATCH] adapt to new TOFEndcap Hits

---
 benchmarks/tof/scripts/sim_tof_forward_hits.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/benchmarks/tof/scripts/sim_tof_forward_hits.cxx b/benchmarks/tof/scripts/sim_tof_forward_hits.cxx
index dc8f508c..d77a57ef 100644
--- a/benchmarks/tof/scripts/sim_tof_forward_hits.cxx
+++ b/benchmarks/tof/scripts/sim_tof_forward_hits.cxx
@@ -112,7 +112,7 @@ int sim_tof_forward_hits(const char* fname = "sim_tof_forward_hits.root") {
   std::cout << "sim_tof_forward_hits: detector set to " << detector << std::endl;
 
   // minimal hit collection setup
-    std::vector<std::pair<std::string, std::string>> hitCollections{{"tof_forward", "TOFForwardHits"}};
+    std::vector<std::pair<std::string, std::string>> hitCollections{{"tof_forward", "TOFEndcapHits"}};
                                                                   //{"vtx_barrel", "VertexBarrelHits"},
                                                                   //{"trk_barrel", "TrackerBarrelHits"},
                                                                   //{"tof_barrel", "TOFBarrelHits"},
-- 
GitLab