Ignore:
Timestamp:
09/12/05 16:35:04 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
3 edited

Legend:

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

    r7286 r7349  
    110110    while (!runs.IsNull())
    111111    {
    112         TString num = runs(regexp);
     112        const TString num = runs(regexp);
     113
     114        if (num.IsNull())
     115        {
     116            *fLog << warn << "WARNING - Sequence is NaN (not a number): " << runs << endl;
     117            break;
     118        }
    113119
    114120        const Int_t seq = atoi(num.Data());
     
    122128
    123129        if (i<n)
    124             *fLog << warn << "WARNING - Sequence #" << seq << " alraedy in list... skipped." << endl;
     130            *fLog << warn << "WARNING - Sequence #" << seq << " already in list... skipped." << endl;
    125131        else
    126132        {
  • trunk/MagicSoft/Mars/mjobs/MJCut.cc

    r7287 r7349  
    171171    p += "/";
    172172    p += fNameOutput.IsNull() ? Form("ganymed%08d.root", num) : fNameOutput.Data();
     173    gSystem->ExpandPathName(p);
    173174    return p;
    174175}
  • trunk/MagicSoft/Mars/mjobs/MSequence.cc

    r7220 r7349  
    166166    while (!runs.IsNull())
    167167    {
    168         TString num = runs(regexp);
     168        const TString num = runs(regexp);
     169
     170        if (num.IsNull())
     171        {
     172            *fLog << warn << "WARNING - Run is NaN (not a number): " << runs << endl;
     173            break;
     174        }
    169175
    170176        const Int_t run = atoi(num.Data());
     
    178184
    179185        if (i<n)
    180             *fLog << warn << "WARNING - Run #" << run << " alraedy in list... skipped." << endl;
     186            *fLog << warn << "WARNING - Run #" << run << " already in list... skipped." << endl;
    181187        else
    182188        {
Note: See TracChangeset for help on using the changeset viewer.