Ignore:
Timestamp:
02/15/09 15:52:47 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimcamera/MSimGeomCam.cc

    r9332 r9342  
    181181    const Int_t   ns   = fHeader->GetNumSamplesHiGain()+1;
    182182
    183     const Float_t first = cnt>0 ? fEvt->GetFirst()->GetTime() :  0;
    184     const Float_t last  = cnt>0 ? fEvt->GetLast()->GetTime()  : ns*freq;
     183    const Float_t first = cnt>0 ? fEvt->GetTimeFirst() :  0;
     184    const Float_t last  = cnt>0 ? fEvt->GetTimeLast()  : ns*freq;
    185185
    186186    // Length (ns), Pulse position (Units ns)
     
    188188    const Float_t pw   = fPulse->GetPulseWidth();
    189189
     190    fStat->SetTimeMedDev(fEvt->GetTimeMedianDev());
    190191    fStat->SetTime(first-pp-pw, last-pp+pw + ns*freq);
     192    fStat->SetLength(last-first);
    191193    fStat->SetMaxIndex(fGeom->GetNumPixels()-1);
    192194    fStat->SetReadyToSave();
Note: See TracChangeset for help on using the changeset viewer.