#include #include "fits.h" void julia() { gROOT->SetStyle("Plain"); filename = "/fact/aux/2012/05/30/20120530_063.FTM_CONTROL_TRIGGER_RATES.fits" fits * file = new fits(filename); size_t NumberOfRows = file->GetNumRows(); unsigned long rate =0; double time = 0; file->SetRefAddress("TriggerRate", rate); file->SetRefAddress("Time", time); while (file->GetNextRow() ) { cout << "time: " << time "\t" << "rate: " << rate << endl; } }