Changeset 9461 for trunk


Ignore:
Timestamp:
06/20/09 10:04:26 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJSimulation.cc

    r9441 r9461  
    360360        read.AddFiles(iter);
    361361
     362    MContinue precut("", "PreCut");
     363    precut.IsInverted();
     364    precut.SetAllowEmpty();
     365
    362366    MSimMMCS simmmcs;
    363367
     
    495499    // -------------------------------------------------------------------
    496500
     501    const char *fmt = Form("s/cer([0-9]+)/%%s\\/00$1_%c_MonteCarlo.root/", header.GetRunTypeChar());
     502
    497503    // FIXME: Pedestal and Calibration runs should get P and C
    498504    const TString rule1(Form("s/cer([0-9]+)/%s\\/00$1_R_MonteCarlo.root/", Esc(fPathOut).Data()));
    499505    const TString rule2(Form("s/cer([0-9]+)/%s\\/00$1_Y_MonteCarlo.root/", Esc(fPathOut).Data()));
    500     const TString rule3(Form("s/cer([0-9]+)/%s\\/00$1_D_MonteCarlo.root/", Esc(fPathOut).Data()));
     506    const TString rule3(Form(fmt, Esc(fPathOut).Data()));
    501507
    502508    MWriteRootFile write3a( 2, rule3, fOverwrite?"RECREATE":"NEW", "Camera file");
     
    614620    {
    615621        tasks.AddToList(&read);
     622        tasks.AddToList(&precut);
    616623        tasks.AddToList(&pointing);
    617624        tasks.AddToList(&simmmcs);
Note: See TracChangeset for help on using the changeset viewer.