You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that time is split into two fields (du_seconds and du_nanosecond), in all TTrees.
I fear this makes it a bit cumbersome to manipulate in the analysis.
Would it be possible to merge those in a same field?...
Or maybe have for a given coinc a single (UNIX?) timestamp with second granularity, and a nanosecond timestamp for each tigger in the coinc, eg measured with reference to the first trigger?
This could be discussed.
One additionnal problem is the integer type for these 2 fields: this does not work forZHaireS sims which have a 0.5ns time step. ALso in practice we might have a sampling frequency which translate in a nn-integer sampling step.
The text was updated successfully, but these errors were encountered:
I hoped for a single timestamp from the beginning, but: in C++ there is no standard variable that could hold unix time with nanoseconds, thus no standard variable for the TTree. We can specify the number of bits, but then it is not straightforward to read directly, if someone does not use our interface. I can go this way, but do we want it for the Data Oriented Interface? In Analysis Oriented Interface I work around it, merging both together into t0: np.datetime64 = np.datetime64(0, 'ns')
I understand that time is split into two fields (du_seconds and du_nanosecond), in all TTrees.
I fear this makes it a bit cumbersome to manipulate in the analysis.
Would it be possible to merge those in a same field?...
Or maybe have for a given coinc a single (UNIX?) timestamp with second granularity, and a nanosecond timestamp for each tigger in the coinc, eg measured with reference to the first trigger?
This could be discussed.
One additionnal problem is the integer type for these 2 fields: this does not work forZHaireS sims which have a 0.5ns time step. ALso in practice we might have a sampling frequency which translate in a nn-integer sampling step.
The text was updated successfully, but these errors were encountered: