diff --git a/benchmarks/tof/scripts/gen_tof_hits.cxx b/benchmarks/tof/scripts/gen_tof_hits.cxx index d24547d429bb95e1b454ea6ddf636b7738711462..b26f8c01a10fcc7c2b107ae5ce7bc81a3b6ce93c 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(50.569/180*3.1415926); //r1->Uniform(cos_theta_min, cos_theta_max); + Double_t costh = -1*cos(50.568/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);