Ignore:
Timestamp:
06/28/07 21:30:25 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc

    r8577 r8618  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.39 2007-06-18 14:11:08 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.40 2007-06-28 20:13:17 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    445445void MBadPixelsTreat::InterpolateTimes() const
    446446{
    447     const Double_t maxdiff = fMaxArrivalTimeDiff*fRawRunHeader->GetFreqSampling()/1000.;
    448 
    449447    const Int_t n = fEvt->GetNumPixels();
    450448    for (int i=0; i<n; i++)
     
    491489
    492490            // Calculate mean arrival time of pixel probably inside the shower
    493             if (TMath::Abs(tm1 - tm2)<maxdiff)
     491            if (TMath::Abs(tm1 - tm2)<fMaxArrivalTimeDiff)
    494492            {
    495493                sum2 += tm1+tm2;
Note: See TracChangeset for help on using the changeset viewer.