Changeset 7388 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 11/10/05 10:05:31 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
r7358 r7388 59 59 #include <TLine.h> 60 60 #include <TText.h> 61 #include <TFrame.h> 61 62 #include <TStyle.h> 62 63 #include <TGraph.h> … … 142 143 TString title = fNameTab.IsNull() ? name(name.First('.')+2, name.Length()) : fNameTab; 143 144 TCanvas &c = fDisplay ? fDisplay->AddTab(title) : *new TCanvas; 145 c.SetFillColor(kWhite); 146 c.SetBorderMode(0); 144 147 c.Divide(1,2); 145 148 … … 218 221 219 222 g2.DrawClone("AP"); 220 221 223 } 222 224 … … 293 295 plot.SetDescription("Mean Pedestal RMS inner Camera;\\sigma_{P,I} [phe]", "PedRmsI"); 294 296 plot.Plot("Calibration.fMeanPedRmsInner", 0, 3.5, 0.05); 297 plot.SetDescription("Mean Signal inner Camera;S_{I} [phe]", "SignalI"); 298 plot.Plot("Calibration.fMeanSignalInner", 0, 7.0, 0.05); 295 299 //from star*.root 296 300 //muon … … 324 328 plot.SetDescription("Mean Pedestal RMS outer Camera;\\sigma_{P,O} [phe]", "PedRmsO"); 325 329 plot.Plot("Calibration.fMeanPedRmsOuter", 0, 4.0, 0.05); 330 plot.SetDescription("Mean Signal outer Camera;S_{O} [phe]", "SignalO"); 331 plot.Plot("Calibration.fMeanSignalOuter", 0, 4.0, 0.05); 326 332 } 327 333 … … 349 355 plot.SetRequestRange(from, to); 350 356 plotall(plot); 357 //d->SaveAsPS("plotdb.ps"); 351 358 } 352 359 … … 369 376 370 377 MStatusDisplay *d = new MStatusDisplay; 371 372 378 MPlot plot(serv); 373 379 plot.SetDisplay(d); 374 380 plot.SetRequestPeriod(period); 375 381 plotall(plot); 382 //d->SaveAsPS("plotdb.ps"); 376 383 }
Note:
See TracChangeset
for help on using the changeset viewer.