Changeset 8891 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 05/15/08 19:37:27 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mhcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
r8582 r8891 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.4 1 2007-06-19 09:25:38tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.42 2008-05-15 18:37:26 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 175 175 // 176 176 MHCalibrationPulseTimeCam::MHCalibrationPulseTimeCam(const char *name, const char *title) 177 : f BadPixels(NULL)177 : fSignalCam(NULL), fBadPixels(NULL) 178 178 { 179 179 … … 277 277 Bool_t MHCalibrationPulseTimeCam::ReInitHists(MParList *pList) 278 278 { 279 280 MExtractedSignalCam *signal = 281 (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam")); 282 if (!signal) 279 fSignalCam = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam")); 280 if (!fSignalCam) 283 281 { 284 282 *fLog << err << "MExtractedSignalCam not found... abort." << endl; … … 397 395 continue; 398 396 399 // Get position of maximum (FIXME: Extraction range?)397 // Get position of maximum 400 398 Float_t max; 401 const Int_t pos = evt->GetMaxPos(idx, max); 399 const Int_t pos = evt->GetMax(idx, fSignalCam->GetFirstUsedSliceHiGain(), 400 fSignalCam->GetLastUsedSliceHiGain(), max); 402 401 403 402 // check if maximum is high enough -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.h
r8554 r8891 8 8 class TH1F; 9 9 class MRawEvtData; 10 class MExtractedSignalCam; 10 11 class MHCalibrationChargePix; 11 12 … … 39 40 Float_t fOuterRefTime; // The reference mean arrival time outer pixels 40 41 41 MBadPixelsCam *fBadPixels; //! Bad Pixels 42 MExtractedSignalCam *fSignalCam; //! Signal cam for extraction range 43 MBadPixelsCam *fBadPixels; //! Bad Pixels 42 44 43 45 void InitHiGainArrays( const Int_t npix, const Int_t nareas, const Int_t nsectors );
Note:
See TracChangeset
for help on using the changeset viewer.