Skip to content

Commit

Permalink
separating problematic call
Browse files Browse the repository at this point in the history
  • Loading branch information
Ka Wa Ho committed Sep 13, 2024
1 parent baaea9a commit 643d232
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1705,8 +1705,11 @@ PYBIND11_MODULE(_ext, m) {
jet_groomed_m.push_back(soft.m());
jet_groomed_E.push_back(soft.E());
jet_groomed_pz.push_back(soft.pz());
jet_groomed_delta_R.push_back(soft.structure_of<fastjet::contrib::SoftDrop>().delta_R());
jet_groomed_symmetry.push_back(soft.structure_of<fastjet::contrib::SoftDrop>().symmetry());

auto sd_struct = soft.structure_of<fastjet::contrib::SoftDrop>();
jet_groomed_delta_R.push_back(sd_struct.delta_R());
jet_groomed_symmetry.push_back(sd_struct.symmetry());

for (unsigned int k = 0; k < soft.constituents().size(); k++){
consts_groomed_px.push_back(soft.constituents()[k].px());
consts_groomed_py.push_back(soft.constituents()[k].py());
Expand Down

0 comments on commit 643d232

Please sign in to comment.