Skip to content

Switch to new DC::tot bank#645

Merged
baltzell merged 30 commits into
developmentfrom
dcrb-tot
May 29, 2025
Merged

Switch to new DC::tot bank#645
baltzell merged 30 commits into
developmentfrom
dcrb-tot

Conversation

@baltzell

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to switch the data bank for the DC detector from the old tdc bank ("DC::tdc") to the new tot bank ("DC::tot") and includes several removals of legacy Bos, detector decode, physics, and plotting classes. Key changes include updating the default value for tdcToT in detector data, modifying conditional checks and bank name arrays in CLASDecoder4, and removing a number of deprecated files no longer needed for the new implementation.

Reviewed Changes

Copilot reviewed 44 out of 44 changed files in this pull request and generated no comments.

File Description
common-tools/clas-detector/src/main/java/org/jlab/detector/decode/DetectorDataDgtz.java Updates tdcToT default value to -1 to signal an unset or missing value.
common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder4.java Updates string comparisons and the bank names array to use "DC::tot" instead of "DC::tdc".
[Multiple Legacy Files] Removal of legacy Bos, detector decode, physics, and plotting classes no longer required.

@baltzell baltzell marked this pull request as ready for review May 23, 2025 23:39
@baltzell baltzell force-pushed the dcrb-tot branch 2 times, most recently from e1f177d to bca7ac5 Compare May 24, 2025 00:20
@baltzell baltzell enabled auto-merge (squash) May 24, 2025 00:20
@baltzell baltzell merged commit f682cb5 into development May 29, 2025
34 checks passed
@baltzell baltzell deleted the dcrb-tot branch May 29, 2025 21:56
c-dilks pushed a commit that referenced this pull request Sep 15, 2025
* detect based on schema

* remove broken methods

* remove old decoder and associations

* add DC::tot bank schema

* remove unused class

* remove unused class

* remove unused class

* change default ToT=-1, for old firmware

* write DC::tot instead of DC::tdc

* short data types

* detect firmware type

* simplify

* debug

* remove unused classes

* move class

* remove unused classes

* remove unused analysis classes

* remove unused classes

* more gitignore

* fix oops

* restore (for test deltas)

* restore original type

* more gitignore

* add new bank to schemas

* swaps for DC::tot

* bg merging can now handle multiple/different raw banks per detector, needed to handle DC::tdc and DC::tot

* remove unused dependency

---------

Co-authored-by: Raffaella De Vita <devita@ge.infn.it>
tongtongcao pushed a commit that referenced this pull request Sep 22, 2025
* detect based on schema

* remove broken methods

* remove old decoder and associations

* add DC::tot bank schema

* remove unused class

* remove unused class

* remove unused class

* change default ToT=-1, for old firmware

* write DC::tot instead of DC::tdc

* short data types

* detect firmware type

* simplify

* debug

* remove unused classes

* move class

* remove unused classes

* remove unused analysis classes

* remove unused classes

* more gitignore

* fix oops

* restore (for test deltas)

* restore original type

* more gitignore

* add new bank to schemas

* swaps for DC::tot

* bg merging can now handle multiple/different raw banks per detector, needed to handle DC::tdc and DC::tot

* remove unused dependency

---------

Co-authored-by: Raffaella De Vita <devita@ge.infn.it>
tongtongcao pushed a commit that referenced this pull request Nov 18, 2025
* detect based on schema

* remove broken methods

* remove old decoder and associations

* add DC::tot bank schema

* remove unused class

* remove unused class

* remove unused class

* change default ToT=-1, for old firmware

* write DC::tot instead of DC::tdc

* short data types

* detect firmware type

* simplify

* debug

* remove unused classes

* move class

* remove unused classes

* remove unused analysis classes

* remove unused classes

* more gitignore

* fix oops

* restore (for test deltas)

* restore original type

* more gitignore

* add new bank to schemas

* swaps for DC::tot

* bg merging can now handle multiple/different raw banks per detector, needed to handle DC::tdc and DC::tot

* remove unused dependency

---------

Co-authored-by: Raffaella De Vita <devita@ge.infn.it>
tongtongcao pushed a commit that referenced this pull request Nov 21, 2025
* detect based on schema

* remove broken methods

* remove old decoder and associations

* add DC::tot bank schema

* remove unused class

* remove unused class

* remove unused class

* change default ToT=-1, for old firmware

* write DC::tot instead of DC::tdc

* short data types

* detect firmware type

* simplify

* debug

* remove unused classes

* move class

* remove unused classes

* remove unused analysis classes

* remove unused classes

* more gitignore

* fix oops

* restore (for test deltas)

* restore original type

* more gitignore

* add new bank to schemas

* swaps for DC::tot

* bg merging can now handle multiple/different raw banks per detector, needed to handle DC::tdc and DC::tot

* remove unused dependency

---------

Co-authored-by: Raffaella De Vita <devita@ge.infn.it>
tongtongcao pushed a commit that referenced this pull request Dec 5, 2025
* detect based on schema

* remove broken methods

* remove old decoder and associations

* add DC::tot bank schema

* remove unused class

* remove unused class

* remove unused class

* change default ToT=-1, for old firmware

* write DC::tot instead of DC::tdc

* short data types

* detect firmware type

* simplify

* debug

* remove unused classes

* move class

* remove unused classes

* remove unused analysis classes

* remove unused classes

* more gitignore

* fix oops

* restore (for test deltas)

* restore original type

* more gitignore

* add new bank to schemas

* swaps for DC::tot

* bg merging can now handle multiple/different raw banks per detector, needed to handle DC::tdc and DC::tot

* remove unused dependency

---------

Co-authored-by: Raffaella De Vita <devita@ge.infn.it>
tongtongcao pushed a commit that referenced this pull request Dec 5, 2025
* detect based on schema

* remove broken methods

* remove old decoder and associations

* add DC::tot bank schema

* remove unused class

* remove unused class

* remove unused class

* change default ToT=-1, for old firmware

* write DC::tot instead of DC::tdc

* short data types

* detect firmware type

* simplify

* debug

* remove unused classes

* move class

* remove unused classes

* remove unused analysis classes

* remove unused classes

* more gitignore

* fix oops

* restore (for test deltas)

* restore original type

* more gitignore

* add new bank to schemas

* swaps for DC::tot

* bg merging can now handle multiple/different raw banks per detector, needed to handle DC::tdc and DC::tot

* remove unused dependency

---------

Co-authored-by: Raffaella De Vita <devita@ge.infn.it>
tongtongcao pushed a commit that referenced this pull request Dec 31, 2025
* detect based on schema

* remove broken methods

* remove old decoder and associations

* add DC::tot bank schema

* remove unused class

* remove unused class

* remove unused class

* change default ToT=-1, for old firmware

* write DC::tot instead of DC::tdc

* short data types

* detect firmware type

* simplify

* debug

* remove unused classes

* move class

* remove unused classes

* remove unused analysis classes

* remove unused classes

* more gitignore

* fix oops

* restore (for test deltas)

* restore original type

* more gitignore

* add new bank to schemas

* swaps for DC::tot

* bg merging can now handle multiple/different raw banks per detector, needed to handle DC::tdc and DC::tot

* remove unused dependency

---------

Co-authored-by: Raffaella De Vita <devita@ge.infn.it>
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.

3 participants