Merged
Conversation
093adb5 to
a3f1a1f
Compare
DaqScalersSequence and additional FC charge calculation methods2ad63f5 to
1783cce
Compare
67e826d to
31d383f
Compare
c-dilks
commented
Aug 28, 2025
Member
Author
|
Verified that this PR (with this one) returns the exact same results as before, for run 17575. |
so that a derived class can use it
4876b9c to
a2ef191
Compare
Member
Author
|
For more detailed testing results, see JeffersonLab/clas12-timeline#367 /ready |
Member
Author
|
This should be squash merged. I have been "backmerging" (merge |
baltzell
approved these changes
Sep 11, 2025
c-dilks
added a commit
that referenced
this pull request
Sep 15, 2025
* feat: downsampling * feat: test wrapper * feat: write charge comparison table * feat: initial correction implementation * fix: need protected default constructor for inheritance * refactor: separate `readSequence` event loop to a protected method so that a derived class can use it * fix: cleanup, since downsampling moved downstream * feat: store event number * feat: QADB binning classes * feat: some example code * feat: general `coatjava` script * fix: start convincing this stuff to work * fix: fencepost error, and missing event number * feat: handle charge * feat: get charge extrema * feat: support RG-D charge override * feat: sugar * refactor: organize methods * fix: spelling * fix: +1 * fix: if on boundary take earlier bin to be consistent with the current QADB convention * fix: remove bin/coatjava * fix: cleanup diff * doc: cleanup * feat: validate scaler ordering * fix: docstrings * refactor: DeMorgan law * feat: instantiation without `data` creation * refactor: cleanup
tongtongcao
pushed a commit
that referenced
this pull request
Sep 22, 2025
* feat: downsampling * feat: test wrapper * feat: write charge comparison table * feat: initial correction implementation * fix: need protected default constructor for inheritance * refactor: separate `readSequence` event loop to a protected method so that a derived class can use it * fix: cleanup, since downsampling moved downstream * feat: store event number * feat: QADB binning classes * feat: some example code * feat: general `coatjava` script * fix: start convincing this stuff to work * fix: fencepost error, and missing event number * feat: handle charge * feat: get charge extrema * feat: support RG-D charge override * feat: sugar * refactor: organize methods * fix: spelling * fix: +1 * fix: if on boundary take earlier bin to be consistent with the current QADB convention * fix: remove bin/coatjava * fix: cleanup diff * doc: cleanup * feat: validate scaler ordering * fix: docstrings * refactor: DeMorgan law * feat: instantiation without `data` creation * refactor: cleanup
tongtongcao
pushed a commit
that referenced
this pull request
Nov 18, 2025
* feat: downsampling * feat: test wrapper * feat: write charge comparison table * feat: initial correction implementation * fix: need protected default constructor for inheritance * refactor: separate `readSequence` event loop to a protected method so that a derived class can use it * fix: cleanup, since downsampling moved downstream * feat: store event number * feat: QADB binning classes * feat: some example code * feat: general `coatjava` script * fix: start convincing this stuff to work * fix: fencepost error, and missing event number * feat: handle charge * feat: get charge extrema * feat: support RG-D charge override * feat: sugar * refactor: organize methods * fix: spelling * fix: +1 * fix: if on boundary take earlier bin to be consistent with the current QADB convention * fix: remove bin/coatjava * fix: cleanup diff * doc: cleanup * feat: validate scaler ordering * fix: docstrings * refactor: DeMorgan law * feat: instantiation without `data` creation * refactor: cleanup
tongtongcao
pushed a commit
that referenced
this pull request
Nov 21, 2025
* feat: downsampling * feat: test wrapper * feat: write charge comparison table * feat: initial correction implementation * fix: need protected default constructor for inheritance * refactor: separate `readSequence` event loop to a protected method so that a derived class can use it * fix: cleanup, since downsampling moved downstream * feat: store event number * feat: QADB binning classes * feat: some example code * feat: general `coatjava` script * fix: start convincing this stuff to work * fix: fencepost error, and missing event number * feat: handle charge * feat: get charge extrema * feat: support RG-D charge override * feat: sugar * refactor: organize methods * fix: spelling * fix: +1 * fix: if on boundary take earlier bin to be consistent with the current QADB convention * fix: remove bin/coatjava * fix: cleanup diff * doc: cleanup * feat: validate scaler ordering * fix: docstrings * refactor: DeMorgan law * feat: instantiation without `data` creation * refactor: cleanup
tongtongcao
pushed a commit
that referenced
this pull request
Dec 5, 2025
* feat: downsampling * feat: test wrapper * feat: write charge comparison table * feat: initial correction implementation * fix: need protected default constructor for inheritance * refactor: separate `readSequence` event loop to a protected method so that a derived class can use it * fix: cleanup, since downsampling moved downstream * feat: store event number * feat: QADB binning classes * feat: some example code * feat: general `coatjava` script * fix: start convincing this stuff to work * fix: fencepost error, and missing event number * feat: handle charge * feat: get charge extrema * feat: support RG-D charge override * feat: sugar * refactor: organize methods * fix: spelling * fix: +1 * fix: if on boundary take earlier bin to be consistent with the current QADB convention * fix: remove bin/coatjava * fix: cleanup diff * doc: cleanup * feat: validate scaler ordering * fix: docstrings * refactor: DeMorgan law * feat: instantiation without `data` creation * refactor: cleanup
tongtongcao
pushed a commit
that referenced
this pull request
Dec 5, 2025
* feat: downsampling * feat: test wrapper * feat: write charge comparison table * feat: initial correction implementation * fix: need protected default constructor for inheritance * refactor: separate `readSequence` event loop to a protected method so that a derived class can use it * fix: cleanup, since downsampling moved downstream * feat: store event number * feat: QADB binning classes * feat: some example code * feat: general `coatjava` script * fix: start convincing this stuff to work * fix: fencepost error, and missing event number * feat: handle charge * feat: get charge extrema * feat: support RG-D charge override * feat: sugar * refactor: organize methods * fix: spelling * fix: +1 * fix: if on boundary take earlier bin to be consistent with the current QADB convention * fix: remove bin/coatjava * fix: cleanup diff * doc: cleanup * feat: validate scaler ordering * fix: docstrings * refactor: DeMorgan law * feat: instantiation without `data` creation * refactor: cleanup
tongtongcao
pushed a commit
that referenced
this pull request
Dec 31, 2025
* feat: downsampling * feat: test wrapper * feat: write charge comparison table * feat: initial correction implementation * fix: need protected default constructor for inheritance * refactor: separate `readSequence` event loop to a protected method so that a derived class can use it * fix: cleanup, since downsampling moved downstream * feat: store event number * feat: QADB binning classes * feat: some example code * feat: general `coatjava` script * fix: start convincing this stuff to work * fix: fencepost error, and missing event number * feat: handle charge * feat: get charge extrema * feat: support RG-D charge override * feat: sugar * refactor: organize methods * fix: spelling * fix: +1 * fix: if on boundary take earlier bin to be consistent with the current QADB convention * fix: remove bin/coatjava * fix: cleanup diff * doc: cleanup * feat: validate scaler ordering * fix: docstrings * refactor: DeMorgan law * feat: instantiation without `data` creation * refactor: cleanup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
features:
QadbBin: a single QADB binQadbBinSequence: a sequence ofQadbBinsQadbBinto hold any arbitrary dataDaqScalersSequencesince:QadbBinis a sequence of scalers within that bin; the first and last scalers are the bin boundariesQadbBinSequenceis a sequence of scalers at the bin boundariesDaqScalersSequenceDaqScalersSequenceis preferred over encapsulation, for cleaner access to protected members without exposing them publicly; furthermore, bothQadbBinandQadbBinSequenceare fundamentally sequences of scalers, therefore they are "specializations" ofDaqScalerSequencepurpose:
clas12-timelineand make use ofDaqScalersSequenceclas12-timelinewith refactor: useDaqScalersSequencefromcoatjavato generate QA bins clas12-timeline#367