Skip to content
Snippets Groups Projects

Regional data for clustering

Merged Carlo Varni requested to merge cvarni/athena:RegionalDataForClustering into main

This MR is a first tentative idea on how to implement regional clusterization within our ACTS algorithms. This MR allows the clusterization to run on detector elements within an RoI. This MR however does not implement any mechanism to update the cluster collection, so multiple passes will not be allowed yet. That will be addressed in other MRs.

The idea of the code is the following:

  • The clusterization algorithms always process an RoI, may that be the entire detector (FS) or specific area(s) of the detector
  • At offline level, a FS RoI will be produced by an upstream algorithm (still to be written, will add soon) that will then be passed to the downstream algorithms. Alternatively, the user can provide their own RoIs collection.
  • The clusterization algorithms retrieve the hash ids of the detector elements from the regions of the detector they have to process.
  • A check is performed to verify the hash id is not already in the cluster collection in SG (this functionality is currently incomplete since we only create the cluster collection in the code, so it will always be empty)
  • We run on the list of hash ids we have to process, retrieve the corresponding RDO collection and run clusterization on it

I still have to check if there is a potential overhead w.r.t. default code, or if there are smarter solutions

@sutt @keli @ncalace @pagessin @lgagnon @tbold @jmasik what is your opinion on this? Would this structure be ok?

By defining a dummy RoI, the code now performs clusterization only on specific regions of the detector:

Regional_XY.png

Regional_ZR.png

Edited by Carlo Varni

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
  • Carlo Varni added 2 commits

    added 2 commits

    Compare with previous version

  • I think in the long term we should think about unifying the logic between the Pixel and Strip cases, since at a glance they look very similar. That would ease the maintenance burden. To be clear I'm not suggesting to do it in this MR, just something to think about.

  • Carlo Varni changed the description

    changed the description

  • Carlo Varni added 1 commit

    added 1 commit

    Compare with previous version

  • Carlo Varni added 1 commit

    added 1 commit

    • 5becd885 - Dedicated tool for roi creation

    Compare with previous version

  • Carlo Varni added 1 commit

    added 1 commit

    Compare with previous version

  • Author Developer

    Giving this a try as is to see if I'm missing something obvious

  • Author Developer

    Jenkins please retry a build

  • This merge request affects 4 packages:

    • InnerDetector/InDetConfig
    • Tracking/Acts/ActsConfig
    • Tracking/Acts/ActsDataPreparation
    • Tracking/Acts/ActsView

    Affected files list will not be printed in this case

    Adding @goetz ,@lgagnon ,@battagl ,@sroe ,@pagessin ,@jojungge ,@toyamaza ,@stsuno ,@tbold ,@lshan ,@cvarni as watchers

  • :white_check_mark: CI Result SUCCESS (hash 12f6f153)

    Athena AthSimulation
    externals :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark:
    tests :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthSimulation: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 78908]

  • Carlo Varni added 1 commit

    added 1 commit

    • cefcc7f3 - Adding JOs for testing configuration, full scan, single roi, composite roi

    Compare with previous version

  • Carlo Varni added 1 commit

    added 1 commit

    Compare with previous version

  • Carlo Varni added 1 commit

    added 1 commit

    • dcbc888e - set the size for the accessors

    Compare with previous version

  • Carlo Varni resolved all threads

    resolved all threads

  • Author Developer

    Jenkins please retry a build

  • This merge request affects 4 packages:

    • InnerDetector/InDetConfig
    • Tracking/Acts/ActsConfig
    • Tracking/Acts/ActsDataPreparation
    • Tracking/Acts/ActsView

    Affected files list will not be printed in this case

    Adding @goetz ,@lgagnon ,@battagl ,@sroe ,@pagessin ,@jojungge ,@toyamaza ,@stsuno ,@tbold ,@lshan ,@cvarni as watchers

  • :pencil: :scissors: The system selected 3 tests to probe the AthSimulation changeset (out of 11 available tests). Link to tests selection rules

  • :white_check_mark: CI Result SUCCESS (hash dcbc888e)

    Athena AthSimulation
    externals :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark:
    tests :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthSimulation: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 78942]

  • Author Developer

    Hi @pagessin @jmasik I think this is ready for a first review from you. Can you take a look?

  • Tomasz Bold
  • Tomasz Bold
  • Carlo Varni resolved all threads

    resolved all threads

  • Carlo Varni marked this merge request as ready

    marked this merge request as ready

  • Author Developer

    un drafted!

  • Carlo Varni added 619 commits

    added 619 commits

    Compare with previous version

  • Changing label to review-pending-expert while waiting for first review from @pagessin & @jmasik. Please change the label back if you'd like L1 to take a look too. Clara (L1)

  • Author Developer

    Hi @cnellist this MR has been discussed and approved during an ACTS-ITk meeting with the above mentioned people.

  • This merge request affects 4 packages:

    • InnerDetector/InDetConfig
    • Tracking/Acts/ActsConfig
    • Tracking/Acts/ActsDataPreparation
    • Tracking/Acts/ActsView

    Affected files list will not be printed in this case

    Adding @goetz ,@lgagnon ,@battagl ,@sroe ,@pagessin ,@jojungge ,@tstreble ,@tbold ,@stsuno ,@toyamaza ,@lshan ,@cvarni as watchers

  • :white_check_mark: CI Result SUCCESS (hash f930d2b0)

    Athena AthSimulation
    externals :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark:
    tests :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthSimulation: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 79066]

  • Tim Adye
  • Tim Adye
  • Tim Adye
  • Tim Adye
  • Developer

    I have a few trivial suggestions, but otherwise this is good to go. - L1 shifter.

  • Carlo Varni added 1 commit

    added 1 commit

    Compare with previous version

  • Carlo Varni resolved all threads

    resolved all threads

  • Author Developer

    thanks @adye I have implemented your suggestions

  • :pencil: :pushpin: build area is cleaned as the previous build was for the MR labeled as full-build

  • This merge request affects 4 packages:

    • InnerDetector/InDetConfig
    • Tracking/Acts/ActsConfig
    • Tracking/Acts/ActsDataPreparation
    • Tracking/Acts/ActsView

    Affected files list will not be printed in this case

    Adding @goetz ,@lgagnon ,@battagl ,@sroe ,@pagessin ,@jojungge ,@tstreble ,@tbold ,@stsuno ,@toyamaza ,@lshan ,@cvarni as watchers

  • :pencil: :scissors: The system selected 3 tests to probe the AthSimulation changeset (out of 11 available tests). Link to tests selection rules

  • :white_check_mark: CI Result SUCCESS (hash 7c672236)

    Athena AthSimulation
    externals :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark:
    tests :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthSimulation: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 79106]

  • Changes look fine to me, the CI is good and all threads have been resolved. Sending on to L2 for a second look due to the size. Clara (L1)

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading