calbet
June 26, 2017, 6:58am
#1
Dear experts,
when I use hist->GetBinContent(1) for example it print 6.36986e+06, while the exact number is 6369865. I wonder how I could print the exact number? I meant such that it print all the number 6369865 and not just 6.36986e+06?
Regards
Dear co-rooters,
I have a TH1F histogram and while on a root session I type the the following
When I open the file with an editor, surprisingly I see the following
fSumw[3608466]=1453, x=0.00400941
fSumw[3608467]=1450, x=0.00400941
fSumw[3608468]=1450, x=0.00400941
fSumw[3608469]=1448, x=0.00400941
fSumw[3608470]=1453, x=0.00400941
fSumw[3608471]=1455, x=0.00400941
fSumw[3608472]=1449, x=0.00400941
fSumw[3608473]=1459, x=0.00400941
fSumw[3608474]=1449, x=0.00400941
fSumw[3608475]=1…
Dear ROOT-forumers
I have a problem trying to use the TTimeStamp for the x-axis of my histogram. It seems to me that the problem is that the precision is lost. I typically make the x-axis from a 9-digit number that I get from the GetSec() method of TTimeStamp, making this into a float, and defining a histogram using these floats as the x-axis bin-values (I need to use floats, so that the values of the histogram and the values on the x-axis both are floats, I have understood must be required). A…
system
closed
July 10, 2017, 7:06am
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.