Changeset 15131 for trunk/Mars/mjobs


Ignore:
Timestamp:
03/22/13 15:16:33 (12 years ago)
Author:
ftemme
Message:
now only the WriteCamData file, not the WriteCamMC file gets a .fits suffix
File:
1 edited

Legend:

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

    r15063 r15131  
    541541    const TString rule4(Form(fmt, 'I'));
    542542    TString rule3(Form(fmt, header.GetRunTypeChar()));
    543     if (fWriteFitsFile)
    544         rule3.ReplaceAll("$1.root/", "$1.fits/");
    545543
    546544    MWriteRootFile write4a( 2, rule4, fOverwrite?"RECREATE":"NEW", "Star file");
     
    551549    MWriteRootFile write1a( 2, rule1, fOverwrite?"RECREATE":"NEW", "Reflector file");
    552550    MWriteRootFile write1b( 2, rule1, fOverwrite?"RECREATE":"NEW", "Reflector file");
     551
     552    if (fWriteFitsFile)
     553        rule3.ReplaceAll("$1.root/", "$1.fits/");
    553554
    554555    MWriteFitsFile write3af( 2, rule3, fOverwrite?"RECREATE":"NEW", "Camera file");
Note: See TracChangeset for help on using the changeset viewer.