Skip to content

Commit

Permalink
fix: use getMomentum
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Jan 17, 2025
1 parent 92a135e commit 539ddf8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions JugFast/src/components/SmearedFarForwardParticles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ class SmearedFarForwardParticles : public GaudiAlgorithm {
const auto part_p_theta = edm4hep::utils::anglePolar(part_p);
debug() << fmt::format("Found B0 particle: {}, ptrue: {}, pmeas: {}, pttrue: {}, ptmeas: {}, theta_true: {}, "
"theta_meas: {}",
part.getPDG(), part_p_mag, edm4hep::utils::magnitude(rc_part.momentum()), part_p_pt,
edm4hep::utils::magnitudeTransverse(rc_part.momentum()), part_p_theta,
edm4hep::utils::anglePolar(rc_part.momentum()))
part.getPDG(), part_p_mag, edm4hep::utils::magnitude(rc_part.getMomentum()), part_p_pt,
edm4hep::utils::magnitudeTransverse(rc_part.getMomentum()), part_p_theta,
edm4hep::utils::anglePolar(rc_part.getMomentum()))
<< endmsg;
}
}
Expand Down Expand Up @@ -303,9 +303,9 @@ class SmearedFarForwardParticles : public GaudiAlgorithm {
const auto part_p_theta = edm4hep::utils::anglePolar(part_p);
debug() << fmt::format("Found RP particle: {}, ptrue: {}, pmeas: {}, pttrue: {}, ptmeas: {}, theta_true: {}, "
"theta_meas: {}",
part.getPDG(), part_p_mag, edm4hep::utils::magnitude(rc_part.momentum()), part_p_pt,
edm4hep::utils::magnitudeTransverse(rc_part.momentum()), part_p_theta,
edm4hep::utils::anglePolar(rc_part.momentum()))
part.getPDG(), part_p_mag, edm4hep::utils::magnitude(rc_part.getMomentum()), part_p_pt,
edm4hep::utils::magnitudeTransverse(rc_part.getMomentum()), part_p_theta,
edm4hep::utils::anglePolar(rc_part.getMomentum()))
<< endmsg;
}
}
Expand Down Expand Up @@ -339,9 +339,9 @@ class SmearedFarForwardParticles : public GaudiAlgorithm {
const auto part_p_theta = edm4hep::utils::anglePolar(part_p);
debug() << fmt::format("Found OMD particle: {}, ptrue: {}, pmeas: {}, pttrue: {}, ptmeas: {}, theta_true: {}, "
"theta_meas: {}",
part.getPDG(), part_p_mag, edm4hep::utils::magnitude(rc_part.momentum()), part_p_pt,
edm4hep::utils::magnitudeTransverse(rc_part.momentum()), part_p_theta,
edm4hep::utils::anglePolar(rc_part.momentum()))
part.getPDG(), part_p_mag, edm4hep::utils::magnitude(rc_part.getMomentum()), part_p_pt,
edm4hep::utils::magnitudeTransverse(rc_part.getMomentum()), part_p_theta,
edm4hep::utils::anglePolar(rc_part.getMomentum()))
<< endmsg;
}
}
Expand Down

0 comments on commit 539ddf8

Please sign in to comment.