Changeset 8801 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 01/09/08 11:36:08 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mbadpixels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r8618 r8801 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.4 0 2007-06-28 20:13:17tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.41 2008-01-09 11:30:24 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 64 64 // MPedPhotCam 65 65 // MBadPixelsCam 66 // MRawRunHeader67 66 // [MGeomCam] 68 67 // … … 98 97 #include "MBadPixelsCam.h" 99 98 100 #include "MRawRunHeader.h"101 102 99 ClassImp(MBadPixelsTreat); 103 100 … … 112 109 // 113 110 MBadPixelsTreat::MBadPixelsTreat(const char *name, const char *title) 114 : fGeomCam(0), fEvt(0), fBadPixels(0), fRawRunHeader(0), 115 fPedPhot1(0), fPedPhot2(0),fFlags(0), fNumMinNeighbors(3), 116 fMaxArrivalTimeDiff(3.) 111 : fGeomCam(0), fEvt(0), fBadPixels(0), fPedPhot1(0), fPedPhot2(0), 112 fFlags(0), fNumMinNeighbors(3), fMaxArrivalTimeDiff(3.) 117 113 { 118 114 fName = name ? name : gsDefName.Data(); … … 150 146 Int_t MBadPixelsTreat::PreProcess (MParList *pList) 151 147 { 152 fRawRunHeader = (MRawRunHeader*)pList->FindObject(AddSerialNumber("MRawRunHeader"));153 if (!fRawRunHeader)154 {155 *fLog << err << AddSerialNumber("MRawRunHeader") << " not found... aborting." << endl;156 return kFALSE;157 }158 159 148 fBadPixels = (MBadPixelsCam*)pList->FindObject(AddSerialNumber("MBadPixelsCam")); 160 149 if (!fBadPixels) -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h
r8577 r8801 10 10 class MPedPhotCam; 11 11 class MBadPixelsCam; 12 class MRawRunHeader;13 12 14 13 class MBadPixelsTreat : public MTask … … 18 17 MSignalCam *fEvt; //! Signal Event to be interpolated 19 18 MBadPixelsCam *fBadPixels; //! Bad Pixels to be interpolated 20 MRawRunHeader *fRawRunHeader; //! Run header to get the sampling frequency21 19 22 20 MPedPhotCam *fPedPhot1; //! Pedestal from extractor used for "no-signal" in InterpolateTimes
Note:
See TracChangeset
for help on using the changeset viewer.