Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add config for studying ecal resolution #1295

Merged
merged 6 commits into from
Jan 7, 2025
Merged

Conversation

tomeichlersmith
Copy link
Member

@tomeichlersmith tomeichlersmith commented May 1, 2024

This is an re-opening of a submodule PR (LDMX-Software/Ecal#50) where I followed the instructions to re-apply my changes in one commit onto the subdirectory.


I am updating ldmx-sw, here are the details.

I've copied this config around for awhile so it is time to put it into the repository.

This config is focused on firing electrons directly into the ECal and then running the various processors that emulate electronics and reconstruct stuff within the ECal so users can then analyze the output.

To Do

  • Compare module-level sum between trigger primitives and precision rec hits
  • Compare trigger primitives to trigger-group-sum of precision rec hits
  • Write a processor that re-calculates the trigger primitives using the precision rec hits. This allows us to see how imprecise the trigger primitive "condensation" algorithm is.

@tomeichlersmith tomeichlersmith force-pushed the Ecal/trig-prim-study branch from 2486e69 to 06d9ce2 Compare May 1, 2024 21:14
@tvami
Copy link
Member

tvami commented May 2, 2024

The denv changes seem to have been also added to this PR.

If you need help with the TODO, there is somebody at UCSB who is looking for a project. This also means that it wont be done very quickly, so if it's urgent then maybe not the best thing to give him.

@tomeichlersmith
Copy link
Member Author

Thanks 👍 I was being too quick with creating new branches!

We already have a grad student here at UMN working on this (not sure on his GitHub username right now), so no need to give it to the UCSB student.

@tomeichlersmith tomeichlersmith force-pushed the Ecal/trig-prim-study branch from 06d9ce2 to b61c077 Compare May 2, 2024 13:37
Copy link
Member Author

@tomeichlersmith tomeichlersmith left a comment

Choose a reason for hiding this comment

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

Clean-Up To Dos Before Merge

  • Rebase excluding ROOT files erroneously commited in earlier commits
  • Add *.root files to .gitignore? Would need to check this doesn't break CI which relies on golden histogram ROOT files.
  • Documentation pass
  • Promote compile-time constants to configuration parameters that copy from existing reco

@metal004 metal004 force-pushed the Ecal/trig-prim-study branch from a190f87 to 38ad6e5 Compare June 14, 2024 16:11
metal004 and others added 6 commits January 6, 2025 14:08
This includes all of the changes from the prior branch but without the
ROOT data files filling up the commit history.

- two config scripts for generating different types of incident electron
distributions into the ECal
- a config for running the trig prim resolution analyzer over input data
files
- a new single-file trig prim resolution analyzer which fills histograms
comparing different sums at the trigger level and full readout level
command:
  clang-format -i Ecal/src/Ecal/TrigPrimResolutionAnalyzer.cxx
from with ldmx/dev container image
- promote compile-time constants to be configuration-possible class
  members
- add doxygen-style comments to class and some important functions
- remove code leftovers that were commented-out or not used for filling
  histograms
- merge two loops over the same stuff together
- producing *identical* histograms as previous version of code over 10
  quick monoenergetic 4GeV events
@tomeichlersmith tomeichlersmith marked this pull request as ready for review January 6, 2025 21:10
@tomeichlersmith tomeichlersmith merged commit d5a93d4 into trunk Jan 7, 2025
12 checks passed
@tomeichlersmith tomeichlersmith deleted the Ecal/trig-prim-study branch January 7, 2025 16:16
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