Ignore:
Timestamp:
11/06/03 15:10:39 (21 years ago)
Author:
stamerra
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc

    r2446 r2478  
    165165//     all the pixels in all the trigger cells
    166166//
     167// "check"
     168//     Print a warning message when no starting pixel is found in the
     169//     CalcPseudoSize method.
     170//
    167171//  no option:
    168172//     Print the value of the selection parameters
     
    197201          *fLog << endl;
    198202        }
     203    }
     204  else if (str.Contains("check", TString::kIgnoreCase))
     205    {
     206      // check when no starting pixels was found (<<--to be fixed)
     207      if (fPseudoSize < 0)
     208        *fLog << "  Warning: starting pixel not found. Pseudosize set to -1." << endl;
    199209    }
    200210  else
     
    663673      if (check > 36)
    664674        {   
    665            *fLog <<"Error: a starting pixels was not found! - PseudoSize = "<< fPseudoSize << endl;
    666           fPseudoSize=0;
     675          //       *fLog <<"Warning: a starting pixel was not found! - PseudoSize = "<< fPseudoSize << endl;
     676          fPseudoSize=-1;
    667677          return;
    668678        }
     
    766776void MMcTriggerLvl2::GetEnergy(MMcEvt *fMcEvt)
    767777{
    768   const MMcEvt &h = *(MMcEvt *)fMcEvt;
     778  const MMcEvt &h = *(MMcEvt *)fMcEvt; 
    769779  fEnergy = h.GetEnergy();
    770780}
     
    777787//   x-1 triggered neighbor pixels. 
    778788//   The variable fTriggerPattern = x is computed
    779 //   (x= 3,4,5,6,7) 
     789//   (x= 2,3,4,5,6,7) 
     790//
     791//   x=2   * *
    780792//
    781793//   x=3   * *
     
    807819      // If a x-NN pattern exists then a pixel must have
    808820      // at least x-1 adjacent neighbors (look at patterns)
    809       // For each triggered pixel the number of adjacent triggered pixels is counted.
     821      // For each triggered pixel the number of adjacent triggered pixels
     822      // is counted.
    810823      //
    811824      int j=1;
Note: See TracChangeset for help on using the changeset viewer.