Ignore:
Timestamp:
10/26/09 14:31:19 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mfilter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfilter/MFSoftwareTrigger.cc

    r9374 r9518  
    388388    memset(fCut, 0, sizeof(fCut));
    389389
     390    switch (fType)
     391    {
     392    case kSinglePixelNeighbors:
     393        if (fNumNeighbors<2)
     394            *fLog << inf << "Software trigger switched off (fNumNeighbors<2)." << endl;
     395        else
     396            *fLog << inf << fNumNeighbors << " required above " << fThreshold << " within " << fTimeWindow << "ns." << endl;
     397        break;
     398    case kAnyPattern:
     399        *fLog << inf << "Cluster trigger switched on." << endl;
     400        break;
     401    }
     402
    390403    return kTRUE;
    391404}
     
    400413    {
    401414    case kSinglePixelNeighbors:
    402         fResult = SwTrigger();
     415        fResult = fNumNeighbors>1 ? SwTrigger() : kTRUE;
    403416        break;
    404417    case kAnyPattern:
  • trunk/MagicSoft/Mars/mfilter/Makefile

    r8419 r9518  
    66#
    77##################################################################
     8include ../Makefile.conf.general
    89include ../Makefile.conf.$(OSTYPE)
    9 include ../Makefile.conf.general
    1010
    1111#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.