Skip to content

Conversation

@N-Plx
Copy link
Collaborator

@N-Plx N-Plx commented Jul 17, 2025

It can handle up to 4 indices with 16 bits or up to 9 indices with 7 bits. Could be made more generic.

N-Plx and others added 5 commits July 22, 2025 18:21
* update to DC tracking to read and use the new TDC cuts ccdb table.

* use live database

* build: bump version number to 13.1.0 (#757)

* remove unused/defunct classes

* convert tabs to spaces

* remove unused/defunct classes

* remove long-defunct main methods

* cleanup

* switch example to hipo4

* remove hipo3 support

* remove unused/defunct classes

* cleanup, tabs/spaces, formatting, ide warnings

* cleanup, formatting, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* remove (newly) unused dependencies

* restore object creation

* convert tabs to spaces

* cleanup

* remove no-op

* build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#759)

* apply fine timestamp correction to leadingEdgeTime

* ahdc hit time corrected

* add modeAHDC in PulseExtractorEngine

* use wf type for hit selection

* take into account simulation

* replace string manipulation with bit operation

* comment unnecessary code lines

* use wfType 0 or 1

* fix: reduce the number of CODEOWNERS (#764)

* fix: remove unused `etc/` files (#765)

They are 7-8 years old, and it is not clear what they are; they are
apparently unused here.

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>
@c-dilks
Copy link
Member

c-dilks commented Jul 31, 2025

Looks like squash merging #768 confused GitHub's representation of the changes this PR will do, since GitHub claims you propose to change 149 files. That's possibly a weird GitHub bug.

I'm going to add a merge commit here (by clicking the update branch button) to see if that clears it up.

@c-dilks
Copy link
Member

c-dilks commented Jul 31, 2025

I'm going to add a merge commit here (by clicking the update branch button) to see if that clears it up.

Yep, that fixed it. Strange GitHub bug...

@baltzell
Copy link
Collaborator

baltzell commented Aug 1, 2025

Let's get #769 merged first ...

@c-dilks
Copy link
Member

c-dilks commented Aug 1, 2025

baltzell
baltzell previously approved these changes Aug 1, 2025
@raffaelladevita
Copy link
Collaborator

Ran benchmarks based on #769 and compared to development:

development branch


  • BENCHMARK  RESULTS 
    

  • TIMER (IT:GIV ) : N Calls 9999, Total Time = 5.36 sec, Unit Time = 0.536 msec *

this branch


  • BENCHMARK  RESULTS 
    

  • TIMER (IT:GIV ) : N Calls 9999, Total Time = 5.53 sec, Unit Time = 0.553 msec *

Copy link
Collaborator

@raffaelladevita raffaelladevita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, line 297 of IndexedList should be updated (I missed that before, sorry!)

@N-Plx N-Plx enabled auto-merge (squash) August 8, 2025 16:54
@N-Plx N-Plx merged commit bd1e2fd into development Aug 8, 2025
29 checks passed
@N-Plx N-Plx deleted the 755-allow-more-than-four-indices-in-indexed-tables branch August 8, 2025 18:23
c-dilks added a commit that referenced this pull request Sep 15, 2025
* feat: indexed table class can handle more than 4 indices

* feat: default constructor for the IndexGenerator class

* restoring main class as it was

* update branch (#768)

* update to DC tracking to read and use the new TDC cuts ccdb table.

* use live database

* build: bump version number to 13.1.0 (#757)

* remove unused/defunct classes

* convert tabs to spaces

* remove unused/defunct classes

* remove long-defunct main methods

* cleanup

* switch example to hipo4

* remove hipo3 support

* remove unused/defunct classes

* cleanup, tabs/spaces, formatting, ide warnings

* cleanup, formatting, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* remove (newly) unused dependencies

* restore object creation

* convert tabs to spaces

* cleanup

* remove no-op

* build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#759)

* apply fine timestamp correction to leadingEdgeTime

* ahdc hit time corrected

* add modeAHDC in PulseExtractorEngine

* use wf type for hit selection

* take into account simulation

* replace string manipulation with bit operation

* comment unnecessary code lines

* use wfType 0 or 1

* fix: reduce the number of CODEOWNERS (#764)

* fix: remove unused `etc/` files (#765)

They are 7-8 years old, and it is not clear what they are; they are
apparently unused here.

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>

* feat: can parse any byte shifts array for indexed tables

* default byte shift array can only be used for less than 4 indices

* misc fixes to compute long key and checks for byte shifts and index format

* check bin width compatible with int

* fix retrieving index from key

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>
tongtongcao pushed a commit that referenced this pull request Sep 22, 2025
* feat: indexed table class can handle more than 4 indices

* feat: default constructor for the IndexGenerator class

* restoring main class as it was

* update branch (#768)

* update to DC tracking to read and use the new TDC cuts ccdb table.

* use live database

* build: bump version number to 13.1.0 (#757)

* remove unused/defunct classes

* convert tabs to spaces

* remove unused/defunct classes

* remove long-defunct main methods

* cleanup

* switch example to hipo4

* remove hipo3 support

* remove unused/defunct classes

* cleanup, tabs/spaces, formatting, ide warnings

* cleanup, formatting, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* remove (newly) unused dependencies

* restore object creation

* convert tabs to spaces

* cleanup

* remove no-op

* build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#759)

* apply fine timestamp correction to leadingEdgeTime

* ahdc hit time corrected

* add modeAHDC in PulseExtractorEngine

* use wf type for hit selection

* take into account simulation

* replace string manipulation with bit operation

* comment unnecessary code lines

* use wfType 0 or 1

* fix: reduce the number of CODEOWNERS (#764)

* fix: remove unused `etc/` files (#765)

They are 7-8 years old, and it is not clear what they are; they are
apparently unused here.

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>

* feat: can parse any byte shifts array for indexed tables

* default byte shift array can only be used for less than 4 indices

* misc fixes to compute long key and checks for byte shifts and index format

* check bin width compatible with int

* fix retrieving index from key

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>
tongtongcao pushed a commit that referenced this pull request Nov 18, 2025
* feat: indexed table class can handle more than 4 indices

* feat: default constructor for the IndexGenerator class

* restoring main class as it was

* update branch (#768)

* update to DC tracking to read and use the new TDC cuts ccdb table.

* use live database

* build: bump version number to 13.1.0 (#757)

* remove unused/defunct classes

* convert tabs to spaces

* remove unused/defunct classes

* remove long-defunct main methods

* cleanup

* switch example to hipo4

* remove hipo3 support

* remove unused/defunct classes

* cleanup, tabs/spaces, formatting, ide warnings

* cleanup, formatting, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* remove (newly) unused dependencies

* restore object creation

* convert tabs to spaces

* cleanup

* remove no-op

* build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#759)

* apply fine timestamp correction to leadingEdgeTime

* ahdc hit time corrected

* add modeAHDC in PulseExtractorEngine

* use wf type for hit selection

* take into account simulation

* replace string manipulation with bit operation

* comment unnecessary code lines

* use wfType 0 or 1

* fix: reduce the number of CODEOWNERS (#764)

* fix: remove unused `etc/` files (#765)

They are 7-8 years old, and it is not clear what they are; they are
apparently unused here.

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>

* feat: can parse any byte shifts array for indexed tables

* default byte shift array can only be used for less than 4 indices

* misc fixes to compute long key and checks for byte shifts and index format

* check bin width compatible with int

* fix retrieving index from key

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>
tongtongcao pushed a commit that referenced this pull request Nov 21, 2025
* feat: indexed table class can handle more than 4 indices

* feat: default constructor for the IndexGenerator class

* restoring main class as it was

* update branch (#768)

* update to DC tracking to read and use the new TDC cuts ccdb table.

* use live database

* build: bump version number to 13.1.0 (#757)

* remove unused/defunct classes

* convert tabs to spaces

* remove unused/defunct classes

* remove long-defunct main methods

* cleanup

* switch example to hipo4

* remove hipo3 support

* remove unused/defunct classes

* cleanup, tabs/spaces, formatting, ide warnings

* cleanup, formatting, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* remove (newly) unused dependencies

* restore object creation

* convert tabs to spaces

* cleanup

* remove no-op

* build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#759)

* apply fine timestamp correction to leadingEdgeTime

* ahdc hit time corrected

* add modeAHDC in PulseExtractorEngine

* use wf type for hit selection

* take into account simulation

* replace string manipulation with bit operation

* comment unnecessary code lines

* use wfType 0 or 1

* fix: reduce the number of CODEOWNERS (#764)

* fix: remove unused `etc/` files (#765)

They are 7-8 years old, and it is not clear what they are; they are
apparently unused here.

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>

* feat: can parse any byte shifts array for indexed tables

* default byte shift array can only be used for less than 4 indices

* misc fixes to compute long key and checks for byte shifts and index format

* check bin width compatible with int

* fix retrieving index from key

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>
tongtongcao pushed a commit that referenced this pull request Dec 5, 2025
* feat: indexed table class can handle more than 4 indices

* feat: default constructor for the IndexGenerator class

* restoring main class as it was

* update branch (#768)

* update to DC tracking to read and use the new TDC cuts ccdb table.

* use live database

* build: bump version number to 13.1.0 (#757)

* remove unused/defunct classes

* convert tabs to spaces

* remove unused/defunct classes

* remove long-defunct main methods

* cleanup

* switch example to hipo4

* remove hipo3 support

* remove unused/defunct classes

* cleanup, tabs/spaces, formatting, ide warnings

* cleanup, formatting, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* remove (newly) unused dependencies

* restore object creation

* convert tabs to spaces

* cleanup

* remove no-op

* build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#759)

* apply fine timestamp correction to leadingEdgeTime

* ahdc hit time corrected

* add modeAHDC in PulseExtractorEngine

* use wf type for hit selection

* take into account simulation

* replace string manipulation with bit operation

* comment unnecessary code lines

* use wfType 0 or 1

* fix: reduce the number of CODEOWNERS (#764)

* fix: remove unused `etc/` files (#765)

They are 7-8 years old, and it is not clear what they are; they are
apparently unused here.

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>

* feat: can parse any byte shifts array for indexed tables

* default byte shift array can only be used for less than 4 indices

* misc fixes to compute long key and checks for byte shifts and index format

* check bin width compatible with int

* fix retrieving index from key

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>
tongtongcao pushed a commit that referenced this pull request Dec 5, 2025
* feat: indexed table class can handle more than 4 indices

* feat: default constructor for the IndexGenerator class

* restoring main class as it was

* update branch (#768)

* update to DC tracking to read and use the new TDC cuts ccdb table.

* use live database

* build: bump version number to 13.1.0 (#757)

* remove unused/defunct classes

* convert tabs to spaces

* remove unused/defunct classes

* remove long-defunct main methods

* cleanup

* switch example to hipo4

* remove hipo3 support

* remove unused/defunct classes

* cleanup, tabs/spaces, formatting, ide warnings

* cleanup, formatting, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* remove (newly) unused dependencies

* restore object creation

* convert tabs to spaces

* cleanup

* remove no-op

* build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#759)

* apply fine timestamp correction to leadingEdgeTime

* ahdc hit time corrected

* add modeAHDC in PulseExtractorEngine

* use wf type for hit selection

* take into account simulation

* replace string manipulation with bit operation

* comment unnecessary code lines

* use wfType 0 or 1

* fix: reduce the number of CODEOWNERS (#764)

* fix: remove unused `etc/` files (#765)

They are 7-8 years old, and it is not clear what they are; they are
apparently unused here.

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>

* feat: can parse any byte shifts array for indexed tables

* default byte shift array can only be used for less than 4 indices

* misc fixes to compute long key and checks for byte shifts and index format

* check bin width compatible with int

* fix retrieving index from key

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>
tongtongcao pushed a commit that referenced this pull request Dec 31, 2025
* feat: indexed table class can handle more than 4 indices

* feat: default constructor for the IndexGenerator class

* restoring main class as it was

* update branch (#768)

* update to DC tracking to read and use the new TDC cuts ccdb table.

* use live database

* build: bump version number to 13.1.0 (#757)

* remove unused/defunct classes

* convert tabs to spaces

* remove unused/defunct classes

* remove long-defunct main methods

* cleanup

* switch example to hipo4

* remove hipo3 support

* remove unused/defunct classes

* cleanup, tabs/spaces, formatting, ide warnings

* cleanup, formatting, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* cleanup, formatting, tabs/spaces, ide warnings

* remove (newly) unused dependencies

* restore object creation

* convert tabs to spaces

* cleanup

* remove no-op

* build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#759)

* apply fine timestamp correction to leadingEdgeTime

* ahdc hit time corrected

* add modeAHDC in PulseExtractorEngine

* use wf type for hit selection

* take into account simulation

* replace string manipulation with bit operation

* comment unnecessary code lines

* use wfType 0 or 1

* fix: reduce the number of CODEOWNERS (#764)

* fix: remove unused `etc/` files (#765)

They are 7-8 years old, and it is not clear what they are; they are
apparently unused here.

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>

* feat: can parse any byte shifts array for indexed tables

* default byte shift array can only be used for less than 4 indices

* misc fixes to compute long key and checks for byte shifts and index format

* check bin width compatible with int

* fix retrieving index from key

---------

Co-authored-by: ziegler <[email protected]>
Co-authored-by: Nathan Baltzell <[email protected]>
Co-authored-by: raffaelladevita <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Touchte Codjo <[email protected]>
Co-authored-by: Christopher Dilks <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow more than four indices in indexed tables

5 participants