Changeset 7625
- Timestamp:
- 04/04/06 17:29:06 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7621 r7625 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2006/04/04 Thomas Bretz 22 23 * datacenter/macros/plotdb.C: 24 - if no dataset and no time-interval is given only sequences with 25 an effective on-time above five minutes are plotted anymore 26 27 20 28 21 29 2006/03/21 Daniela Dorner -
trunk/MagicSoft/Mars/NEWS
r7618 r7625 27 27 for optimization (kWeakSource) which is suggested by the Berlin 28 28 people for weak sources. 29 30 - macros: plotdc.C: if no dataset and no time-interval is given only 31 sequences with an effective on-time above five minutes are plotted 32 anymore 29 33 30 34 - ganymed: In the second loop the MHNewImagePar histograms disapeared. -
trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
r7574 r7625 350 350 query += Form("on %s.%s=%s.%s ", tabled.Data(), join.Data(), tablev.Data(), join.Data()); 351 351 352 if (!fRequestFrom.IsNull() && !fRequestTo.IsNull()) 353 query += Form("where fRunStart between '%s' and '%s' ", 352 const Bool_t interval = !fRequestFrom.IsNull() && !fRequestTo.IsNull(); 353 354 if (!fDataSet && !interval) 355 { 356 if (!query.Contains("Star.fSequenceFirst")) 357 query += "left join Star on Sequences.fSequenceFirst=Star.fSequenceFirst "; 358 query += "where Star.fEffOnTime>300 "; 359 } 360 361 if (interval) 362 { 363 query += query.Contains(" where ") ? "and " : "where "; 364 query += Form("fRunStart between '%s' and '%s' ", 354 365 fRequestFrom.Data(), fRequestTo.Data()); 366 } 355 367 356 368 query += "order by fRunStart"; 357 358 //cout << "q: " << query << endl;359 369 360 370 TSQLResult *res = fServer.Query(query);
Note:
See TracChangeset
for help on using the changeset viewer.