Changeset 6858 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 03/18/05 18:07:46 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationTestTimeCam.cc
r6210 r6858 94 94 #include "MCalibrationPix.h" 95 95 96 #include "MArrivalTime.h" 96 #include "MSignalCam.h" 97 #include "MSignalPix.h" 97 98 98 99 #include "MGeomCam.h" … … 116 117 const TString MHCalibrationTestTimeCam::gsHistXTitle = "Arrival Time [FADC slices]"; 117 118 const TString MHCalibrationTestTimeCam::gsHistYTitle = "Nr. events"; 119 118 120 // -------------------------------------------------------------------------- 119 121 // … … 168 170 return kFALSE; 169 171 170 MArrivalTime *signal = (MArrivalTime*)pList->FindObject("MArrivalTime");171 if (!signal)172 {173 *fLog << err << "MArrivalTime not found... abort." << endl;174 return kFALSE;175 }176 177 172 const Int_t npixels = fGeom->GetNumPixels(); 178 173 const Int_t nsectors = fGeom->GetNumSectors(); … … 203 198 { 204 199 205 M ArrivalTime *calibration = (MArrivalTime*)par;200 MSignalCam *calibration = (MSignalCam*)par; 206 201 if (!calibration) 207 202 { … … 227 222 continue; 228 223 229 const Float_t time = (*calibration)[i] ;224 const Float_t time = (*calibration)[i].GetArrivalTime(); 230 225 const Int_t aidx = (*fGeom)[i].GetAidx(); 231 226 const Int_t sector = (*fGeom)[i].GetSector();
Note:
See TracChangeset
for help on using the changeset viewer.