/////////////////////////////////////////////////////////////////////////////// TOfflineMon* gOfflineMon; int offline_monitor_calibs() { gOfflineMon = new TOfflineMon; //----------------------------------------------------------------------------- // configure monitoring //----------------------------------------------------------------------------- TOfflineMonitor* mon; // AC: need to comment the following two lines because TCdf2Files is undefined (??) // AC mon = new TProdSummary("ProdSummary"); // AC gOfflineMon->AddMonitor(mon); mon = new TCalibrationsMonitor("CalibrationsMonitor"); mon->SetInputDirName("/cdf/home/cdfopr/www/calibrations/"); // mon->SetNtupleFileName("/cdf/scratch/cdfopr/testRel/6.1.2_monitor/enstore"); gOfflineMon->AddMonitor(mon); //----------------------------------------------------------------------------- // configure monitoring //----------------------------------------------------------------------------- gOfflineMon->Init(); gOfflineMon->UpdateNtuple(); gOfflineMon->MakePlots(); gOfflineMon->MakeHtml (); //----------------------------------------------------------------------------- // display is web-based and is absolutely independent on the producers //----------------------------------------------------------------------------- }