- Timestamp:
- 02/27/06 14:45:00 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7541 r7542 66 66 - added some code for upcomming automatic event selection 67 67 68 * datacenter/macros/plotstat.C: 69 - improved macro description 70 - added arguments to main function 68 71 69 72 -
trunk/MagicSoft/Mars/NEWS
r7537 r7542 5 5 - macros: fixed a typo optimwoble.C (SetThetaCut instead SetAlphaCut) 6 6 and added the standard Disp-parametrization 7 8 - macros: added a new macro datacenter/macros/plotstat.C allowing 9 to plot statistics about the data processing 7 10 8 11 - showplot: path inflation for ganymed files was broken -
trunk/MagicSoft/Mars/datacenter/macros/plotstat.C
r7530 r7542 30 30 // 31 31 // This macro is used to plot processing statistics from the db. 32 // 33 // Normally all period are processed. If you want to restric processing to 34 // less periods, use: 35 // > root plotstat.C+(20, -1) 36 // means that all periods since 20 are taken into account. The two numbers 37 // denote the first and last period taken into account, -1 means 38 // open start or open end. 32 39 // 33 40 // Make sure, that database and password are corretly set in a resource … … 251 258 } 252 259 253 Bool_t plot(MStatusDisplay &d, MSQLServer &serv )260 Bool_t plot(MStatusDisplay &d, MSQLServer &serv, Int_t first, Int_t last) 254 261 { 255 262 TString query[8]; … … 311 318 MTime past; 312 319 past.Set(2004, 1, 1, 13, 1); 313 314 int first=-1;315 int last =-1;316 320 317 321 if (first<0) … … 520 524 } 521 525 522 int plotstat( )526 int plotstat(Int_t first=-1, Int_t last=-1) 523 527 { 524 528 TEnv env("sql.rc"); … … 541 545 d->SetTitle(serv.GetName()); 542 546 543 plot(*d, serv );547 plot(*d, serv, first, last); 544 548 545 549 //d->SaveAsRoot("plotstat.root");
Note:
See TracChangeset
for help on using the changeset viewer.