FIX: Reading calibrated timing in MModuleLoaderMeasurementsROA#120
Conversation
MModuleLoaderMeasurementsROAMModuleLoaderMeasurementsROA
|
Also: what is According to the comment in nuclearizer/include/MStripHit.h Lines 189 to 190 in 07e64cd In the Currently, this would write floating point numbers to the file, but expects integers when reading them, resulting in very funky behavior. |
|
Good catch! m_Timing should be the TAC calibrated into ns. m_TAC was a variable Sean introduced awhile back. We used to only have the Timing keyword and it was overloaded to represent the ADC value and the ns conversion. m_Timing should be a floating point whereas m_TAC should be an int. |
|
But changing the type of |
|
The MEGalib part is what we read from the roa file, the TAC value. |
But let's assume we write calibrated timing values to ROA, what would be the preferred reader then? |
|
Yes, Timing is from the old days. We didn't call it TAC in the balloon days. But why do we write ns timing to roa files? roa files are for the data from the raw measurements. |
|
Well, the current ROA loader has to possibility to read "TAC" and "Timing" and attributes it to the No my question would be if this way of reading the data is actually correct or not? nuclearizer/src/MModuleLoaderMeasurementsROA.cxx Lines 188 to 233 in fc79014 |
|
And there is also possibility to read/write |

The ROA loader is currently assigning the values for
Timingtom_TACinstead ofm_Timing.This is fixed now.