Ignore:
Timestamp:
12/11/06 15:05:11 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8173 r8222  
    190190    // Read the first corsika RunHeader from the MC files
    191191    TChain chain("RunHeaders");
    192     set.AddFilesOn(chain);
     192    if (!set.AddFilesOn(chain))
     193        return kFALSE;
    193194
    194195    MMcCorsikaRunHeader *h=0;
     
    292293    // Create chain
    293294    TChain chain("OriginalMC");
    294     set.AddFilesOn(chain);
     295    if (!set.AddFilesOn(chain))
     296        return kFALSE;
    295297
    296298    // Prepare histogram
     
    507509    MReadMarsFile readmc("OriginalMC");
    508510    //readmc.DisableAutoScheme();
    509     set.AddFilesOn(readmc);
     511    if (!set.AddFilesOn(readmc))
     512        return kFALSE;
     513
    510514    readmc.EnableBranch("MMcEvtBasic.fTelescopeTheta");
    511515    readmc.EnableBranch("MMcEvtBasic.fEnergy");
     
    11401144    MReadMarsFile read("Events");
    11411145    read.DisableAutoScheme();
    1142     set.AddFilesOn(read);
     1146    if (!set.AddFilesOn(read))
     1147        return kFALSE;
    11431148
    11441149    // Selector to get correct (final) theta-distribution
Note: See TracChangeset for help on using the changeset viewer.