Skip to content
Snippets Groups Projects
Commit 7452fec6 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: clustering/scripts/gen_central_electrons.cxx

parent e45148cc
Branches
No related tags found
1 merge request!25Added clustering script
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment