These updates are dependent on some fixes to the HgcrocEmulator. You can get those changes and this branch by getting the iss932 branch of ldmx-sw.
Fixes
The TOT pedestal was being mishandled. There were a few spots where I used it where I shouldn't and where I didn't use it where I should.
The digi pipeline test shuts of the noise in the digi pipeline so that the test doesn't have to be confused by it.
The test also changes the allowed error (between input energy and recon energy) depending on if we are in ADC or TOT readout mode.
Enhancements
Use a double table to provide reconstruction conditions to rec producer. Sets us up for more complicated conditions tables in the future.
The test does only one hit per event to make it simpler to evaluate any failures
The test also checks TP energies compared to the sim-level energies
The test has a compile-time parameter (at the top) that allows you to dump all of the digi-pipeline calculations into an ntuple. This ntuple includes sim energy, digi raw value (32-bit unsigned int), trig prim encoded value, trig prim linear value, reconstructed energy, trig prim reconstructed energy. The ntuple including all of these values can be found on my UMN homepage.
These updates are dependent on some fixes to the HgcrocEmulator. You can get those changes and this branch by getting the
iss932
branch of ldmx-sw.Fixes
Enhancements