Ignore:
Timestamp:
06/01/12 18:02:20 (12 years ago)
Author:
neise
Message:
ready to play
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/rootmacros/julia.C

    r14027 r14028  
    22
    33#include <iostream>
     4
     5#define HAVE_ZLIB
    46#include "fits.h"
    57
     8using namespace std;
    69
    710void julia()
     
    1417
    1518    size_t NumberOfRows = file->GetNumRows();
    16 
    17     unsigned long rate =0;
     19    cout << NumberOfRows << endl;
     20    //unsigned long rate =0;
    1821    double time = 0;
     22    float rate =0;
    1923
    2024    file->SetRefAddress("TriggerRate", rate);
    2125    file->SetRefAddress("Time", time);
    22 
     26   
    2327    while ( file->GetNextRow() )
    2428    {
    25         cout << "time: " << time "\t" << "rate: " << rate << endl;
     29        cout << "time: " << time << "\t" << "rate: " << rate << endl;
    2630    }
     31   
    2732}
Note: See TracChangeset for help on using the changeset viewer.