Skip to content
Snippets Groups Projects
Commit 33d71195 authored by Ziyue Zhang's avatar Ziyue Zhang
Browse files

WIP: Try out Dummy

parent 5b218f40
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !27. Comments created here will be created in the context of that merge request.
......@@ -83,9 +83,10 @@ namespace util {
std::vector<ROOT::Math::PxPyPzMVector> momenta{parts.size()};
// transform our raw tracker info into proper 4-momenta
std::transform(parts.begin(), parts.end(), momenta.begin(), [](const auto& part) {
const double px = part.p.x();
const double py = part.p.y();
const double pz = part.p.z();
eic::VectorXYZ p = part.p;
const double px = 0.;
const double py = 0.;
const double pz = 0.;
const double mass = 0.;
return ROOT::Math::PxPyPzMVector{px, py, pz, mass};
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment