///*-- AUTHOR : Ilse Koenig
//*-- Created : 10/06/2004 by Ilse Koenig
//_HADES_CLASS_DESCRIPTION
//////////////////////////////////////////////////////////////////////////////
//
// HRunInfo
//
// Class for run information (filled by Oracle interface)
//
//////////////////////////////////////////////////////////////////////////////
#include "hruninfo.h"
ClassImp(HRunInfo)
HRunInfo::HRunInfo(const char* 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';
}
ROOT page - Class index - Class Hierarchy - Top of the page
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.