Dear rooters
I am reading time entries from 2-trees, and trying to calculate the difference between them
time in each tree is defined as Ulong64_t t0 & t1
so I impose this lone
ULong64_t delta_t= abs (int(t0)-int(t1));
at some point where this difference is below 10, the file should save this event and
reset the value of t0 -set zero-
dear
thank for fast reply,
this works correctly,
my main issue was when I reset the value of t0 or t1, I need it to be zero, but the output gives arbitrary values
P.S th initial definition of t0 and t1 are
ULong64_t t0=0.;
ULong64_t t1=0.;
cheers
when there are long values it works (+, -), but if I have t0 or t1 equal to zero(due to the reset), delta_t calculate correctly, but regular way (int(t0)-int(t1)) not