Skip to content
Snippets Groups Projects
Commit 31f09757 authored by scott snyder's avatar scott snyder
Browse files

MuonPatternRecognitionTest: Fix compilation with hepmc2.

Fix compilation with hepmc2.
parent 9864a027
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ namespace MuonValR4 {
/// Global coordinates
m_out_gen_Eta = genParticlePtr->momentum().eta();
m_out_gen_Phi= genParticlePtr->momentum().phi();
m_out_gen_Pt= genParticlePtr->momentum().pt();
m_out_gen_Pt= genParticlePtr->momentum().perp();
m_out_gen_nHits = hits.size();
unsigned int nMdt{0}, nRpc{0}, nTgc{0};
for (const xAOD::MuonSimHit* hit : hits){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment