Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3aee0c3
troubleshooting trapping app
sophieehaight Mar 31, 2026
92c5d45
adapted trapping app to intake Cs-137 data and output lineshifts
sophieehaight Apr 3, 2026
c2bc846
changed fitting range around Cs line
sophieehaight Apr 15, 2026
c1f937a
added depth binning on pixel and detector level
sophieehaight May 4, 2026
e2b1c0a
added depth binning but need to remove pixel by pixel fitting
sophieehaight May 19, 2026
260fb35
added CTD binning and photopeak fits to LV and HV data
sophieehaight Jun 2, 2026
18e835a
fixed fit plotting and reading out CTD bins dn centroids to param txt…
sophieehaight Jun 2, 2026
53bb708
updated photopeak fit function w linear tail
sophieehaight Jun 3, 2026
f9a12c0
added output txt with spline fit for HV centroids
sophieehaight Jun 10, 2026
29b13f9
now output only returns HV energy root fits and comprehensive txt fit…
sophieehaight Jun 11, 2026
b9e11f3
added centroid error to spline readout txt
sophieehaight Jun 11, 2026
8bc3f4f
writes min and max CTD from data to splines txt file
sophieehaight Jun 17, 2026
3d970d3
adapted module for trapping correction, wrote function for sim input …
sophieehaight Jul 3, 2026
ae68931
Adapted header to trapping correction
sophieehaight Jul 3, 2026
acf6b1f
added params for sim cce input file
sophieehaight Jul 3, 2026
17cfbd6
added function for CCE corrected energy + interpolation helper function
sophieehaight Jul 3, 2026
b194068
updating hit energies with correction factor
sophieehaight Jul 3, 2026
124d92b
added LV CCE column to sim read in
sophieehaight Jul 3, 2026
46eb4b4
updated assembly files and removed GUI functionality
sophieehaight Jul 3, 2026
50177b3
correction compiles error free
sophieehaight Jul 3, 2026
e1d03e2
added fitting and param readout for HV strips
sophieehaight Jul 8, 2026
a383733
removed spline fitting and consolidated to one param file output
sophieehaight Jul 8, 2026
0f13cb3
fixed compilation error
sophieehaight Jul 8, 2026
8187914
added GUI options for input param file
sophieehaight Jul 9, 2026
34381ba
added expo with HV, LV photopeak plots
sophieehaight Jul 9, 2026
3f8f109
implemented finish function to return line shift and corrected res
sophieehaight Jul 14, 2026
a9327e5
resolved conflicts with HDF loader
sophieehaight Jul 14, 2026
b7c1cb7
cleaned up commented code
sophieehaight Jul 14, 2026
b8f1556
cleaned up more commented code
sophieehaight Jul 14, 2026
df25e2b
updated HDF loader header file
sophieehaight Jul 15, 2026
e1923d1
I'm just trying to get the HDF loader module up to date
sophieehaight Jul 15, 2026
5b3171e
fixed compiliation error
sophieehaight Jul 15, 2026
7bc061c
Merge branch 'Cs_trapping_branch' into trapping_correction_branch
sophieehaight Jul 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions apps/TrappingCorrectionAm241.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,16 @@ bool TrappingCorrectionAm241::Analyze()
// Store the HV and LV input files
vector<MString> FileNames;
FileNames.push_back(m_HVFileName);
cout<<"HV file names stored"<<endl;
FileNames.push_back(m_LVFileName);
cout<<"LV file names stored"<<endl;

// Map the side integer to HV and LV labels
// i.e. 0=HV, 1=LV
vector<MString> IllumSide;
IllumSide.push_back(MString("HV"));
IllumSide.push_back(MString("LV"));
cout<<"HV and LV integers mapped"<<endl;

// Make a directory in which to store the pixel-level data
MString PixelDir = m_OutFile + MString("_pixeldata");
Expand Down Expand Up @@ -317,6 +320,7 @@ bool TrappingCorrectionAm241::Analyze()
// Read in the input files and make a list of hdf5 files to calibrate
if ((InputFile.GetSubString(InputFile.Length() - 4)) == "hdf5") {
HDFNames.push_back(InputFile);
cout<<"hdf names loaded correctly"<<endl;
} else if ((InputFile.GetSubString(InputFile.Length() - 3)) == "txt") {
cout<<"Reading input file "<<InputFile<<endl;
cout<<"WARNING: When passing a list of files, ensure that you have chosen the correct HDF5 continuous reading mode. Use the --nocontinue option to suppress continuous file reading."<<endl;
Expand Down
Loading
Loading