Changeset 14028 for fact/tools/rootmacros
- Timestamp:
- 06/01/12 18:02:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/julia.C
r14027 r14028 2 2 3 3 #include <iostream> 4 5 #define HAVE_ZLIB 4 6 #include "fits.h" 5 7 8 using namespace std; 6 9 7 10 void julia() … … 14 17 15 18 size_t NumberOfRows = file->GetNumRows(); 16 17 unsigned long rate =0;19 cout << NumberOfRows << endl; 20 //unsigned long rate =0; 18 21 double time = 0; 22 float rate =0; 19 23 20 24 file->SetRefAddress("TriggerRate", rate); 21 25 file->SetRefAddress("Time", time); 22 26 23 27 while ( file->GetNextRow() ) 24 28 { 25 cout << "time: " << time "\t" << "rate: " << rate << endl;29 cout << "time: " << time << "\t" << "rate: " << rate << endl; 26 30 } 31 27 32 }
Note:
See TracChangeset
for help on using the changeset viewer.