From 7452fec63d16cdc4bdad3f5d9102bef989be4233 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Mon, 26 Oct 2020 14:57:12 -0500 Subject: [PATCH] modified: clustering/scripts/gen_central_electrons.cxx --- clustering/scripts/gen_central_electrons.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clustering/scripts/gen_central_electrons.cxx b/clustering/scripts/gen_central_electrons.cxx index 06867dfa..e3e08bd4 100644 --- a/clustering/scripts/gen_central_electrons.cxx +++ b/clustering/scripts/gen_central_electrons.cxx @@ -42,7 +42,7 @@ void gen_central_electrons(int n_events = 100, 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(cos_theta_min, cos_theta_max); - Double_t th = std::acos(costh); + Double_t th = M_PI/2.1;//std::acos(costh); Double_t px = p * std::cos(phi) * std::sin(th); Double_t py = p * std::sin(phi) * std::sin(th); Double_t pz = p * std::cos(th); -- GitLab