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

WIP: Try out Dummy

parent 89742335
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ namespace util {
//=====================================================================================
inline auto p_dummy(const std::vector<eic::ReconstructedParticle>& parts)
{
std::vector<ROOT::Math::PxPyPzMVector> momenta{tracks.size()};
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& parts) {
const double px = parts.p.x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment