Changeset 9230 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 01/19/09 19:40:49 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r9077 r9230 380 380 read->AddFiles(iter); 381 381 382 const TString fname(Form("%s{s/_D_/_Y_}{s/\\.raw$/.root}{s/\\.raw\\.gz$/.root}", fPathOut.Data())); 382 const TString fname(Form("s/([0-9]+_[0-9]+)_D_(.*[.])(raw([.]gz)?)$/%s\\/$1_Y_$2root/", 383 Esc(fPathOut).Data())); 383 384 384 385 // Skips MC which have no contents. This are precisely the … … 389 390 //MPointingPosInterpolate pextr; 390 391 //pextr.AddFiles(&iter); 391 392 392 393 MGeomApply apply; // Only necessary to create geometry 393 394 if (!geom.IsNull()) -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r9178 r9230 302 302 // Effective on-time need its own not to be skipped by (eg) image cleaning 303 303 // Muons needs its own to have a unique SetReadyToSave 304 const TString rule(Form(" %s{s/_Y_/_I_}", fPathOut.Data()));304 const TString rule(Form("s/([0-9]+_[0-9]+)_Y_(.*[.]root)$/%s\\/$1_I_$2/", Esc(fPathOut).Data())); 305 305 MWriteRootFile write( 2, rule, fOverwrite?"RECREATE":"NEW"); 306 306 MWriteRootFile writet(2, rule, fOverwrite?"RECREATE":"NEW"); // EffectiveOnTime
Note:
See TracChangeset
for help on using the changeset viewer.