<div dir="ltr"><div><div><div>Thank you Marc.<br></div>It works.<br><br></div>Cheers,<br></div>Tahereh<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 6:17 PM, Marc Chamberland <span dir="ltr"><<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank">MarcChamberland@cmail.carleton.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then, I believe (someone correct me), that you could do the following:<br>
<br>
std::cout << setprecision(9) << time1;<br>
<br>
or whatever precision you want (up to however many digits a 'double' can have... I'm not sure).<br>
<div class="im HOEnZb"><br>
Marc<br>
<br>
<br>
<br>
__________________________<br>
<br>
Marc Chamberland, MSc<br>
PhD candidate<br>
Department of Physics<br>
Carleton University<br>
Ottawa (ON)<br>
<br>
</div><div class="HOEnZb"><div class="h5">On Jan 15, 2014, at 12:52, Tahereh Niknejad <<a href="mailto:tahereh.nik@gmail.com">tahereh.nik@gmail.com</a>> wrote:<br>
<br>
> Dear Marc,<br>
><br>
> Thank you for your reply.<br>
> Yes, now I can see the time difference between two photons.<br>
> But, my question was that when I cout the time1 and time2, both times are the same because there is a limitation in the number of digits.<br>
><br>
> Is there any way to handle it?<br>
><br>
> Best<br>
> Tahereh<br>
><br>
><br>
> On Tue, Jan 14, 2014 at 8:05 PM, Marc Chamberland <<a href="mailto:MarcChamberland@cmail.carleton.ca">MarcChamberland@cmail.carleton.ca</a>> wrote:<br>
> Hi Tahereh,<br>
><br>
> I'm not sure how you are looking at the time, if you see 6 digits after the decimal point...<br>
><br>
> I use TOF from my Root output and I get numbers that make sense. They are stored as "double" precision.<br>
><br>
> Try the following Root script, attached to this message. If the list rejects my attachment, just send me another email and I'll resend the script to you.<br>
><br>
> Cheers,<br>
> Marc<br>
><br>
><br>
><br>
> __________________________<br>
><br>
> Marc Chamberland, MSc<br>
> PhD candidate<br>
> Department of Physics<br>
> Carleton University<br>
> Ottawa (ON)<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>