Changeset 8618 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 06/28/07 21:30:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r8577 r8618 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1. 39 2007-06-18 14:11:08tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.40 2007-06-28 20:13:17 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 445 445 void MBadPixelsTreat::InterpolateTimes() const 446 446 { 447 const Double_t maxdiff = fMaxArrivalTimeDiff*fRawRunHeader->GetFreqSampling()/1000.;448 449 447 const Int_t n = fEvt->GetNumPixels(); 450 448 for (int i=0; i<n; i++) … … 491 489 492 490 // Calculate mean arrival time of pixel probably inside the shower 493 if (TMath::Abs(tm1 - tm2)< maxdiff)491 if (TMath::Abs(tm1 - tm2)<fMaxArrivalTimeDiff) 494 492 { 495 493 sum2 += tm1+tm2;
Note:
See TracChangeset
for help on using the changeset viewer.