Ignore:
Timestamp:
05/27/04 16:38:48 (21 years ago)
Author:
aliu
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.cc

    r4211 r4218  
    111111    *fLog << warn << "MHillasDisplay::PreProcess Warning: MSrcPosCam object not found" << endl;
    112112
    113   // Look for the MIslands container 
    114   if(!fIslands)
     113  // Look for the MIslands container
     114  if (strlen(fIslName) > 0)
     115    fIslands = (MIslands*)pList->FindObject(AddSerialNumber(fIslName));
     116  else
     117    fIslands = (MIslands*)pList->FindObject(AddSerialNumber("MIslands"));
     118  if (!fIslands)
     119    {
     120      *fLog << dbginf << "MIslands not found... aborting." << endl;
     121      return kFALSE;
     122    }
     123   
     124  return kTRUE;
     125
     126  /*  if(!fIslands)
    115127    fIslands = (MIslands*)pList->FindObject(AddSerialNumber("MIslands"), "MIslands");
    116128  if(!fIslands)
    117129    *fLog << warn << "MHillasDisplay::PreProcess Warning: MIslands object not found" << endl;
    118 
    119   return kTRUE;
     130 
     131    return kTRUE;*/
    120132}
    121133// -------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.