1660 TCanvas *c = fFtmRateCanv->GetCanvas();
1662 TH1 *h = (TH1*)c->FindObject(
"TimeFrame");
1670 h->SetBins(1, tm, tm+60);
1671 h->GetXaxis()->SetTimeFormat(
"%M'%S\"%F1995-01-01 00:00:00 GMT");
1672 h->GetXaxis()->SetTitle(
"Time");
1679 const double t1 = h->GetXaxis()->GetXmax();
1680 const double t0 = h->GetXaxis()->GetXmin();
1682 const double now = t0+sdata.
fTimeStamp/1000000.;
1684 h->SetBins(h->GetNbinsX()+1, t0, now+1);
1689 h->GetXaxis()->SetTimeFormat(
"%Hh%M'%F1995-01-01 00:00:00 GMT");
1690 h->GetXaxis()->SetTitle(
"Time");
Adds some functionality to boost::posix_time::ptime for our needs.
FTM::DimTriggerRates fTriggerRates