Strip Threshold Finder app - first functional version#143
Strip Threshold Finder app - first functional version#143JarredMRoberts wants to merge 1 commit into
Conversation
|
Hi Jarred, That's a tiny bit of spaghetti code, that you produced there... //! Finds per-strip slow and fast energy thresholds for germanium detectors private: }; //////////////////////////////////////////////////////////////////////////////// int main(int Argc, char** Argv) } Tell him to follow the style guide: CodingConventions.md - and he will do the rest. In addition, your helpers, are they just loading the standard energy calibration and TAC calibration? MModuleTACcut TACCut; Felix is doing the same for his code, thus you can just wait until he has implemented it and the reuse the pattern he has. |
|
Also, is this PR based on the current |
|
Also, how does this PR relate to #129 ? |
I didn't see that - every addition should go into develop/em. |
|
Yes, this was intended to be merged with develop/em, but I was checking to
make sure it was also cross-compatible with main. Maybe things got crossed
on my side.
…On Fri, May 15, 2026 at 9:50 AM Andreas Zoglauer ***@***.***> wrote:
*zoglauer* left a comment (cositools/nuclearizer#143)
<#143 (comment)>
Also, is this PR based on the current main and supposed to be merged into
main? Or is that for develop/em?
I didn't see that - every addition should go into develop/em.
—
Reply to this email directly, view it on GitHub
<#143 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATR7RN5VYNAQCB6EBQ465DT425DGLAVCNFSM6AAAAACYVKUO3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DINRRGYZDSNBRGU>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This threshold finder app locates the slow and fast energy threshold values of all channels of a given dataset. The threshold values are saved to independent csv files, and a ROOT data file is also created in the same directory where the input file is found. There are several diagnostic plots that can be generated in ROOT. Examples of commands for how to generate these plots are printed to the terminal.
An example yaml input file is also included that is used to add the paths to your data file(s), calibration files, strip map file, some variables for the threshold finding algorithm, and the output file names.