Ignore:
Timestamp:
03/18/05 18:07:46 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationTestTimeCam.cc

    r6210 r6858  
    9494#include "MCalibrationPix.h"
    9595
    96 #include "MArrivalTime.h"
     96#include "MSignalCam.h"
     97#include "MSignalPix.h"
    9798
    9899#include "MGeomCam.h"
     
    116117const TString MHCalibrationTestTimeCam::gsHistXTitle = "Arrival Time [FADC slices]";
    117118const TString MHCalibrationTestTimeCam::gsHistYTitle = "Nr. events";
     119
    118120// --------------------------------------------------------------------------
    119121//
     
    168170    return kFALSE;
    169171
    170   MArrivalTime *signal = (MArrivalTime*)pList->FindObject("MArrivalTime");
    171   if (!signal)
    172   {
    173       *fLog << err << "MArrivalTime not found... abort." << endl;
    174       return kFALSE;
    175   }
    176 
    177172  const Int_t npixels  = fGeom->GetNumPixels();
    178173  const Int_t nsectors = fGeom->GetNumSectors();
     
    203198{
    204199
    205   MArrivalTime *calibration = (MArrivalTime*)par;
     200  MSignalCam *calibration = (MSignalCam*)par;
    206201  if (!calibration)
    207202    {
     
    227222        continue;
    228223
    229       const Float_t  time = (*calibration)[i];
     224      const Float_t  time = (*calibration)[i].GetArrivalTime();
    230225      const Int_t  aidx   = (*fGeom)[i].GetAidx();
    231226      const Int_t  sector = (*fGeom)[i].GetSector();
Note: See TracChangeset for help on using the changeset viewer.