From 465bce7ab2f559f5d50e37bc522faa61c19a8db3 Mon Sep 17 00:00:00 2001
From: Zhenyu Ye <yezhenyu@EIC-SoLID.local>
Date: Sat, 20 Nov 2021 08:09:33 -0600
Subject: [PATCH] run BTOF with eta=-1.0

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

diff --git a/benchmarks/tof/scripts/gen_tof_hits.cxx b/benchmarks/tof/scripts/gen_tof_hits.cxx
index 4c292d27..e3e0066c 100644
--- a/benchmarks/tof/scripts/gen_tof_hits.cxx
+++ b/benchmarks/tof/scripts/gen_tof_hits.cxx
@@ -35,7 +35,7 @@ void gen_tof_hits(int n_events = 100,
     // pdgid 111 - pi0
     // pdgid 2212 - proton
     Double_t p     = r1->Uniform(0, 3.5);
-    Double_t costh = -1*cos(41./180*3.1415926); //r1->Uniform(cos_theta_min, cos_theta_max);
+    Double_t costh = -1*cos(40.999/180*3.1415926); //r1->Uniform(cos_theta_min, cos_theta_max);
     Double_t th    = std::acos(costh);
     Double_t phi   = r1->Uniform(0.0, 2.0 * M_PI);
     Double_t px    = p * std::cos(phi) * std::sin(th);
-- 
GitLab