Ignore:
Timestamp:
08/12/04 08:16:56 (20 years ago)
Author:
hbartko
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbadpixels
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc

    r4579 r4586  
    8585//
    8686MBadPixelsCalc::MBadPixelsCalc(const char *name, const char *title)
    87     : fPedestalLevel(3)
     87    : fPedestalLevel(3), fNamePedPhotContainer("MPedPhotCam")
    8888{
    8989    fName  = name  ? name  : gsDefName.Data();
     
    102102    if (fPedestalLevel>0)
    103103    {
    104         fPedPhotCam = (MPedPhotCam*)pList->FindObject(AddSerialNumber("MPedPhotCam"));
     104      fPedPhotCam = (MPedPhotCam*)pList->FindObject(fNamePedPhotContainer,  AddSerialNumber("MPedPhotCam"));
    105105        if (!fPedPhotCam)
    106106        {
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.h

    r4527 r4586  
    2121
    2222    Float_t fPedestalLevel;
    23 
     23    TString fNamePedPhotContainer; // name of the 'MPedPhotCam' container
     24   
    2425    //    void CheckPedestalRMS() const;
    2526    Bool_t CheckPedestalRms() const;
     
    3233
    3334    void SetPedestalLevel(Float_t f) { fPedestalLevel=f; }
     35    void SetNamePedPhotContainer(const char *name)    { fNamePedPhotContainer = name; }
    3436
    3537    ClassDef(MBadPixelsCalc, 1) // Task to find bad pixels (star, broken pixels, etc)
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc

    r4559 r4586  
    8787//
    8888MBadPixelsTreat::MBadPixelsTreat(const char *name, const char *title)
    89     : fFlags(0), fNumMinNeighbors(3)
     89  : fFlags(0), fNumMinNeighbors(3), fNamePedPhotContainer("MPedPhotCam")
    9090{
    9191    fName  = name  ? name  : gsDefName.Data();
     
    121121    }
    122122
    123     fPedPhot = (MPedPhotCam*)pList->FindObject(AddSerialNumber("MPedPhotCam"));
     123    fPedPhot = (MPedPhotCam*)pList->FindObject(fNamePedPhotContainer, AddSerialNumber("MPedPhotCam"));
    124124    if (!fPedPhot)
    125125    {
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h

    r4559 r4586  
    2121    Byte_t fFlags;       // flag for the method which is used
    2222    Byte_t fNumMinNeighbors;
     23    TString fNamePedPhotContainer; // name of the 'MPedPhotCam' container
    2324
    2425    enum
     
    6465    }
    6566    void SetNumMinNeighbors(Byte_t num) { fNumMinNeighbors=num; }
     67    void SetNamePedPhotContainer(const char *name)    { fNamePedPhotContainer = name; }
    6668
    6769
Note: See TracChangeset for help on using the changeset viewer.