Changeset 7407
- Timestamp:
- 11/17/05 09:52:47 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7406 r7407 18 18 19 19 -*-*- END OF LINE -*-*- 20 2005/11/16 Daniela Dorner 21 22 * datacenter/scripts/doqualityplots: 23 - added (putting output of plotdb.C) in the web 24 25 * datacenter/macros/plotdb.C: 26 - return 0 in case of failure and 1 in case macro finished without 27 problem 28 29 30 20 31 2005/11/16 Thomas Bretz 21 32 -
trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
r7406 r7407 339 339 } 340 340 341 voidplotdb(TString from="", TString to="")341 int plotdb(TString from="", TString to="") 342 342 { 343 343 TEnv env("sql.rc"); … … 347 347 { 348 348 cout << "ERROR - Connection to database failed." << endl; 349 return ;349 return 0; 350 350 } 351 351 … … 366 366 d->SaveAsRoot("plotdb.root"); 367 367 d->SaveAsPS("plotdb.ps"); 368 369 return 1; 368 370 } 369 371 370 voidplotdb(Int_t period)372 int plotdb(Int_t period) 371 373 { 372 374 TEnv env("sql.rc"); … … 376 378 { 377 379 cout << "ERROR - Connection to database failed." << endl; 378 return ;380 return 0; 379 381 } 380 382 … … 395 397 d->SaveAsRoot("plotdb.root"); 396 398 d->SaveAsPS("plotdb.ps"); 399 400 return 1; 397 401 }
Note:
See TracChangeset
for help on using the changeset viewer.