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

modified: tracking/scripts/rec_central_electrons.cxx

parent 6249742e
Branches plot_update
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ std::vector<float> pt (std::vector<dd4pod::Geant4ParticleData> const& in){
auto momentum = [](std::vector<ROOT::Math::PxPyPzMVector> const& in) {
std::vector<double> result;
for (size_t i = 0; i < in.size(); ++i) {
return in[i].E();
result.push_back(in[i].E());
}
return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment