#include "hruninfo.h"
ClassImp(HRunInfo)
HRunInfo::HRunInfo(const Char_t* filename) {
SetName(filename);
runId=numEvents=-1;
}
void HRunInfo::print() {
cout.setf(ios::left,ios::adjustfield);
cout<<setw(50)<<GetName()<<setw(12)<<runId<<"\n "<<startTime<<" "
<<setw(25)<<endTime;
cout.setf(ios::right,ios::adjustfield);
cout<<setw(12)<<numEvents<<'\n';
}
void HRunInfo::write(fstream& fout) {
fout.setf(ios::left,ios::adjustfield);
fout<<setw(50)<<GetName()<<setw(12)<<runId<<" "<<startTime<<" "
<<setw(25)<<endTime;
fout.setf(ios::right,ios::adjustfield);
fout<<setw(12)<<numEvents<<'\n';
}
Last change: Sat May 22 13:12:25 2010
Last generated: 2010-05-22 13:12
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.