From a02002c3f9cdfda38ee9116f155f618a4fda027a Mon Sep 17 00:00:00 2001 From: Zhenyu Ye <yezhenyu@EIC-SoLID.local> Date: Sun, 26 Sep 2021 08:04:22 -0500 Subject: [PATCH] debug TOF benchmark --- benchmarks/track_finding/scripts/gen_multiple_tracks.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/track_finding/scripts/gen_multiple_tracks.cxx b/benchmarks/track_finding/scripts/gen_multiple_tracks.cxx index 6c26a50c..7960c8ca 100644 --- a/benchmarks/track_finding/scripts/gen_multiple_tracks.cxx +++ b/benchmarks/track_finding/scripts/gen_multiple_tracks.cxx @@ -44,7 +44,7 @@ void gen_multiple_tracks(int n_events = 100, // Define momentum Double_t p = r1->Uniform(1.0, 10.0); Double_t phi = r1->Uniform(0.0, 2.0 * M_PI); - Double_t costh = r1->Uniform(-0.05, 0.05; //r1->Uniform(cos_theta_min, cos_theta_max); + Double_t costh = r1->Uniform(-0.05, 0.05); //r1->Uniform(cos_theta_min, cos_theta_max); Double_t th = std::acos(costh); Double_t px = p * std::cos(phi) * std::sin(th); Double_t py = p * std::sin(phi) * std::sin(th); -- GitLab