Changeset 9017 for trunk/MagicSoft/Mars/datacenter/macros/plotrundb.C
- Timestamp:
- 07/20/08 15:21:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/plotrundb.C
r8996 r9017 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotrundb.C,v 1. 6 2008-07-05 19:01:42tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: plotrundb.C,v 1.7 2008-07-20 14:21:40 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 61 61 #include "plotdb.C" 62 62 63 void plotall(MPlot &plot )63 void plotall(MPlot &plot, Int_t tel=0) 64 64 { 65 65 plot.SetGroupBy(MPlot::kGroupByNight); … … 73 73 cond += t.GetSqlDateTime(); 74 74 cond += "'"; 75 if (tel>0) 76 { 77 query[0] += " AND fTelescopeNumber="; 78 query[0] += tel; 79 } 75 80 plot.SetCondition(cond); 76 81
Note:
See TracChangeset
for help on using the changeset viewer.