Hello,
I have the following problem. I want to have a time axis on a TGraph. The x-values are stored as
TTimeStamp timestamp[ndata];
and the y-values as
float data[ndata];
Before, I used run numbers, which could be easily stored as a float as well and I created a TGraph simply like:
TGraph* gdata = new TGraph(ndata,run,data);
But I cannot figure out how to create a TGraph using the time information in the timestamp instead.
Any idea how this can be achieved?
Thanks in advance for your help!
Petra