16 const Long_t TheSameTS = 0002;
18 const ULong_t
tmax = std::numeric_limits<
unsigned int>::max();
24 for (
int i=0; i<2; i++) {
26 if ( curr[i] < prev[i] ) curr[i] += (
tmax + 1 );
28 Long_t tdiff = curr[0] - curr[1];
29 if ( std::abs(tdiff) < TheSameTS ) tdiff = 0;
33 return tdiff - TSoffset;
38 std::cout <<
"---HarpoTimeStamp " << std::endl;
Calculate Time Stams diffrences.