Ignore:
Timestamp:
03/02/06 13:24:28 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7425 r7560  
    843843}
    844844
    845 Bool_t MJPedestal::PulsePosCheck(const MParList &plist) const
     845Int_t MJPedestal::PulsePosCheck(const MParList &plist) const
    846846{
    847847    if (fIsPixelCheck)
     
    951951    {
    952952        *fLog << err << "Pulse is too much to the left, cannot go below 0!" << endl;
    953         return kFALSE;
     953        return -1;
    954954
    955955    }
     
    959959        *fLog << numhigainsamples << "+" << numlogainsamples << "-1" << endl;
    960960        *fLog << " Cannot extract at all!" << endl;
    961         return kFALSE;
     961        return -3;
    962962    }
    963963    if (newlast+wslogain > numlogainsamples)
     
    970970        *fLog << "(ATTENTION, you will lose late cosmics pulses!)" << endl;
    971971        *fLog << endl;
    972         return kFALSE;
     972        return -2;
    973973    }
    974974
     
    986986}
    987987
    988 Bool_t MJPedestal::Process()
     988Int_t MJPedestal::Process()
    989989{
    990990    if (!fSequence.IsValid())
     
    12711271        return kFALSE;
    12721272
    1273     if (!PulsePosCheck(plist))
    1274         return kFALSE;
     1273    const Int_t rc = PulsePosCheck(plist);
     1274    if (rc<1)
     1275        return rc;
    12751276
    12761277    *fLog << all << GetDescriptor() << ": Done." << endl;
Note: See TracChangeset for help on using the changeset viewer.