Open somusset opened 5 years ago
Currently the livetime is calculated in the level0_to_level1 procedure:
data_struct[i_evt].livetime = (data_struct[i_evt].trigger_time - data_struct[i_evt].frame_time mod double(2)^16)*0.1 + 2000 - setup_time
but the livetime is NOT copied into the level2 data, is this normal? Right now the livetime in level2 is zero everywhere.
Should we copy the livetime from level1 to level2 or should we wait for a better estimation of livetime to be included in level2 at a latter point?
Currently the livetime is calculated in the level0_to_level1 procedure:
data_struct[i_evt].livetime = (data_struct[i_evt].trigger_time - data_struct[i_evt].frame_time mod double(2)^16)*0.1 + 2000 - setup_time
but the livetime is NOT copied into the level2 data, is this normal? Right now the livetime in level2 is zero everywhere.
Should we copy the livetime from level1 to level2 or should we wait for a better estimation of livetime to be included in level2 at a latter point?