Ignore:
Timestamp:
02/04/13 10:02:02 (12 years ago)
Author:
tbretz
Message:
Added the possibility to set name of MSignalCam
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mbadpixels/MBadPixelsTreat.cc

    r10166 r14855  
    108108MBadPixelsTreat::MBadPixelsTreat(const char *name, const char *title)
    109109    : fGeomCam(0), fEvt(0), fBadPixels(0), fPedPhot1(0), fPedPhot2(0),
     110    fNameSignalCam("MSignalCam"),
    110111    fFlags(0), fNumMinNeighbors(3), fMaxArrivalTimeDiff(3.)
    111112{
     
    151152    }
    152153
    153     fEvt = (MSignalCam*)pList->FindObject(AddSerialNumber("MSignalCam"));
     154    fEvt = (MSignalCam*)pList->FindObject(AddSerialNumber(fNameSignalCam), "MSignalCam");
    154155    if (!fEvt)
    155156    {
    156         *fLog << err << AddSerialNumber("MSignalCam") << " not found... aborting." << endl;
     157        *fLog << err << AddSerialNumber(fNameSignalCam) << " [MSignalCam] not found... aborting." << endl;
    157158        return kFALSE;
    158159    }
Note: See TracChangeset for help on using the changeset viewer.