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

WIP: Test on PID instead of pmass

parent 85376a4f
No related branches found
No related tags found
1 merge request!39Replacing nu with y
......@@ -39,7 +39,7 @@ namespace util {
return quantities;
}
//========================================test on using pid and re-structure the function========================
inline auto momenta_sim_ordered(const std::vector<eic::ReconstructedParticleData>& parts, std::string_view mother, std::string_view daughter){
inline auto momenta_sim_ordered(const std::vector<dd4pod::Geant4ParticleData>& parts, std::string_view mother, std::string_view daughter){
std::vector<ROOT::Math::PxPyPzMVector> momenta{7};
//0:e0 1:p0 2:e1 3:p1 4:recoil system (without p1) 5:l1 from 4 6:l2 from 4
int order_map[7] = {0, 3, 2, 6, 5, 7, 8};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment