Skip to content

Commit

Permalink
Merge pull request #38146 from civanch/fix_g4trachinfo
Browse files Browse the repository at this point in the history
Fixed Geant4 track information
  • Loading branch information
cmsbuild committed Jun 1, 2022
2 parents a60f686 + d8b1d66 commit 0b44f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimG4Core/Notification/interface/TrackInformation.h
Expand Up @@ -67,7 +67,7 @@ class TrackInformation : public G4VUserTrackInformation {
momentumAtBoundary_ = math::XYZTLorentzVectorF(track->GetMomentum().x() / CLHEP::GeV,
track->GetMomentum().y() / CLHEP::GeV,
track->GetMomentum().z() / CLHEP::GeV,
track->GetKineticEnergy() / CLHEP::GeV);
track->GetTotalEnergy() / CLHEP::GeV);
}
bool crossedBoundary() const { return crossedBoundary_; }
const math::XYZTLorentzVectorF &getPositionAtBoundary() const { return positionAtBoundary_; }
Expand Down

0 comments on commit 0b44f88

Please sign in to comment.