Having Trouble making histograms with time

Hi there,

I am at the end of my studies here and have to write a final year project at the university.

For that project I measure myons activities and combine this with a time.

I get an Ascii File with the following information:

Event Counter:channel1,2,3, etc. integral value:universaltime:UTC Time

the universal UNIX time is should be correct down to 100ns so it is correct that there is a fraction of seconds.

So with the example in root folder I managed to get my measured values into root and am able to plot them using the TreeViewer. Nice.
What I couldn’t do is to get the time correctly.

I found using google that it should be possible to let root interpret it as a time but since I have no idea about programming the help doesn’t really help me.

The goal is to have three plots specifically:

  1. Time between two events histogram
  2. event frequency over time (a day for example)
  3. event intensity over time

I hope you gurus can help because I don’t really know where to start.

Thank you
hilikustue

May be you should look at this:
root.cern.ch/drupal/content/how- … time-units