#include "horaslowperiod.h"
#include "TDatime.h"
ClassImp(HOraSlowPeriod)
HOraSlowPeriod::HOraSlowPeriod() {
periodId=-1;
runId=-1;
filterFlag=1;
}
void HOraSlowPeriod::print() {
cout<<startTime<<" "<<endTime;
if (runId>0) {
cout<<setw(12)<<runId<<" "<<filename;
}
cout<<'\n';
}
void HOraSlowPeriod::write(fstream& fout) {
fout<<startTime<<" "<<endTime;
if (runId>0) {
fout<<setw(12)<<runId<<" "<<filename;
}
fout<<'\n';
}
Int_t HOraSlowPeriod::getDuration() {
TDatime t1(startTime);
TDatime t2(endTime);
return (t2.Convert()-t1.Convert());
}
Last change: Sat May 22 13:05:36 2010
Last generated: 2010-05-22 13:05
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.