Hi,everyone
I used theTrack->GetGlobalTime() to get the TOF of particles, but it only display to 0.01ns. If I hope to get more precise result(for examlple 0.1234ns), how should I apply?
The value of GetGlobalTime()
is a double, with 17 decimal digits of precision. The display of that value depends on how you have configured your output. You may use the ostream
manipulators (setw
, setprecision
, etc.) to determine how the output display is formatted. This is a generic C++/STL question.
OK,I got it, thanks!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.