Skip to content
Snippets Groups Projects

Make AthSimulation more compatible with HepMC3

1 unresolved thread

Make AthSimulation more compatible with HepMC3

  • removal of FourVector::rho()
  • removal of inlined forward declarations. --> forward headers.
  • adding some headers explicitly
  • use HepMC::Print compatible with HepMC2 and HepMC3

Tag @jchapman

Edited by Andrii Verbytskyi

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
309 309 //** Add information from HepMcParticleLink to TTree - common for all SimHit types */
310 310 void ISF::SimHitTreeCreator::addHepMcParticleLinkInfoToTree(HepMcParticleLink &HMPL) {
311 311 if (HMPL.isValid()) {
312 m_momentum = (HMPL.cptr())->momentum().rho();
312 auto t_mom=(HMPL.cptr())->momentum();
313 m_momentum = std::sqrt( t_mom.x()*t_mom.x()+t_mom.y()*t_mom.y()+t_mom.z()*t_mom.z());
  • Two small comments. Passing back to the user.

    Cheers,

    Michele (L1 reviewer)

  • Andrii Verbytskyi resolved all threads

    resolved all threads

  • Hi @mfauccig

    Please see the comments.

    Best regards,

    Andrii

  • hi @averbyts I will approve since @mfauccig already reviewed, all threads are solved and the CI ran successfully

    Cheers,

    Santiago (L1)

  • mentioned in commit 0c93668f

  • Please register or sign in to reply
    Loading