Changeset 7407 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 11/17/05 09:52:47 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.