Changeset 14241
- Timestamp:
- 06/27/12 11:40:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/marsmacros/singlepe.C
r14231 r14241 417 417 Int_t maxbin, double fwhm, Double_t gain ); 418 418 419 int singlepe( )419 int singlepe(const char *runfile, const char *drsfile, const char *outfile) 420 420 { 421 421 // ====================================================== 422 422 423 const char *drsfile = "/fact/raw/2012/05/18/20120518_012.drs.fits.gz";423 //const char *drsfile = "/fact/raw/2012/05/18/20120518_012.drs.fits.gz"; 424 424 425 425 MDirIter iter; 426 iter.AddDirectory("/fact/raw/2012/05/18", "20120518_005.fits.gz"); 426 //iter.AddDirectory("/fact/raw/2012/05/18", "20120518_005.fits.gz"); 427 iter.AddDirectory(gSystem->DirName(runfile), gSystem->BaseName(runfile)); 427 428 428 429 // ====================================================== … … 1026 1027 gPad->SetLogy(); 1027 1028 hSep.DrawCopy(); 1028 */ 1029 */ 1030 1031 d->SaveAs(outfile); 1029 1032 return 0; 1030 1033 }
Note:
See TracChangeset
for help on using the changeset viewer.