Skip to content
Snippets Groups Projects

JetAccessories: avoid cloning and double ownership (and thus double delete) of Particles

Merged Gerhard Raven requested to merge fix-particleflowfilter into 2024-patches
All threads resolved!
  • address this bug: f9a17847 (comment 7784341)
  • use Particle::Selection instead of Particle::Container where appropriate to avoid cloning Particles
  • avoid cloning of Particles in makeFastJets
  • use Particle::Range instead of Particle::Container const& where appropriate
  • use 'lazy' (on demand) range to obtain 'basic' particles from a composite
Edited by Gerhard Raven

Merge request reports

Merge request pipeline #7272003 passed

Merge request pipeline passed for e0688662

Merged by Christopher Rob JonesChristopher Rob Jones 11 months ago (Apr 24, 2024 8:23am UTC)

Merge details

  • Changes merged into 2024-patches with 09153404.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Gerhard Raven mentioned in issue #544

    mentioned in issue #544

  • Gerhard Raven added 1 commit

    added 1 commit

    • 28e7d970 - Avoid cloning and double ownership (and thus double delete) of Particles

    Compare with previous version

  • Gerhard Raven changed the description

    changed the description

  • assigned to @anfeng

  • unassigned @rangel

  • Gerhard Raven resolved all threads

    resolved all threads

  • Edited by Software for LHCb
  • Gerhard Raven added 2 commits

    added 2 commits

    • ea42e936 - Avoid cloning and double ownership (and thus double delete) of Particles
    • 217884d7 - implament `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • fef93ca0 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • e8c84924 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • 4a66cb30 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 10 commits

    added 10 commits

    • 4a66cb30...e896e0fd - 8 commits from branch master
    • 489b9d00 - Avoid cloning and double ownership (and thus double delete) of Particles
    • 9bbba642 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • fc3c9fd3 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • 59b58cfd - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • b6690c23 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 2 commits

    added 2 commits

    • 9230ce62 - Avoid cloning and double ownership (and thus double delete) of Particles
    • 938ad980 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven changed the description

    changed the description

  • Gerhard Raven added 1 commit

    added 1 commit

    • 3836f6c0 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • 3b1ae7e5 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • 5ec6bceb - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven added 1 commit

    added 1 commit

    • 5a28a5f2 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven resolved all threads

    resolved all threads

  • added 1 commit

    • d1e1abe9 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • added 1 commit

    • 1d588d24 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • added 1 commit

    • 08438ef1 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • added 1 commit

    • ad1858ea - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • added 1 commit

    • ba581c50 - implement `getBasic` seperately for C++17 and C++20

    Compare with previous version

  • Gerhard Raven resolved all threads

    resolved all threads

  • Gerhard Raven requested review from @helder

    requested review from @helder

  • mentioned in issue Moore#730 (closed)

  • Gerhard Raven resolved all threads

    resolved all threads

  • Gerhard Raven mentioned in issue #545

    mentioned in issue #545

  • Anfeng Li assigned to @oozcelik and unassigned @anfeng

    assigned to @oozcelik and unassigned @anfeng

  • Sascha Stahl
  • Gerhard Raven added 7 commits

    added 7 commits

    • ba581c50...f0cbea82 - 4 commits from branch master
    • e8b5a9d3 - Avoid cloning and double ownership (and thus double delete) of Particles
    • ea59283f - implement `getBasic` seperately for C++17 and C++20
    • e7eef1ec - Further cleanup of Jet code:

    Compare with previous version

  • added 1 commit

    • 0debe131 - Further cleanup of Jet code:

    Compare with previous version

  • mentioned in issue Moore#718

  • Gerhard Raven mentioned in issue #547

    mentioned in issue #547

  • Rosen Matev added 1 deleted label

    added 1 deleted label

  • Rosen Matev changed target branch from master to 2024-patches

    changed target branch from master to 2024-patches

  • Gerhard Raven resolved all threads

    resolved all threads

  • Gerhard Raven added 21 commits

    added 21 commits

    • 0debe131...5d562c23 - 16 commits from branch 2024-patches
    • 538ad395 - Added UT Hit dumper for event display
    • 67d9b555 - Merge branch 'sponce_UTHitDumper' into 'master'
    • c1adc038 - Avoid cloning and double ownership (and thus double delete) of Particles
    • be7a710c - implement `getBasic` seperately for C++17 and C++20
    • 7f67bc9b - Further cleanup of Jet code:

    Compare with previous version

  • Murilo Santana Rangel approved this merge request

    approved this merge request

  • Hi. Sorry for not responding, I've been very busy these days. Thanks @dfitzger for looking at this. I'm just compiling a new stack to also have a look at these changes.

  • added Jets label

    • Resolved by Izaac Sanderswood

      Hello! I've being testing this new code and it's OK for me. In fact it fixes a bug in ParticleFlowMakerMC that in some cases used both a particle and one of its daughter in the particle flow. Thanks Gerhard.

  • Helder Lopes approved this merge request

    approved this merge request

  • assigned to @cagapopo and unassigned @oozcelik

  • Maarten Van Veghel mentioned in merge request !3881 (merged)

    mentioned in merge request !3881 (merged)

  • Izaac Sanderswood assigned to @jonrob and unassigned @cagapopo

    assigned to @jonrob and unassigned @cagapopo

  • added 27 commits

    • 7f67bc9b...5508cbfd - 23 commits from branch 2024-patches
    • a309e2b0 - Added UT Hit dumper for event display
    • 2b73dc6b - Avoid cloning and double ownership (and thus double delete) of Particles
    • af8de738 - implement `getBasic` seperately for C++17 and C++20
    • e0688662 - Further cleanup of Jet code:

    Compare with previous version

  • Christopher Rob Jones resolved all threads

    resolved all threads

  • mentioned in commit 09153404

  • Marco Clemencic mentioned in merge request !3889 (merged)

    mentioned in merge request !3889 (merged)

  • Please register or sign in to reply
    Loading