I’m trying to represent timestamp of a set of data in nanosecond accuracy in a root file. Converting a normal human readable time format(yyyy/mm/day/hr/min/sec) to TtimeStamp results in a 32 bit representation of it.
Now I have the 32 bit TtimeStamp, I would now add the other 9 digits after the 32bit TtimeStamp which would probably increase the numbers of possible digits up to 19.
I thinking of splitting it into 2 sets of value and save it to a root file which may required me to combined that 2 values into 1 to get the true time in nanoseconds.
Anyone have any good idea or better way of doing this without sacrificing its accuracy?
*Mostly trying to do this in C++. IF you have better ways in pyroot i would be also interested to hear how you deal with it in python.