Ignore:
Timestamp:
11/11/08 11:49:49 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbadpixels
Files:
2 edited

Legend:

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

    r5431 r9153  
    170170//
    171171
    172 Bool_t MHBadPixels::Fill(const MParContainer *par, const Stat_t w)
     172Int_t MHBadPixels::Fill(const MParContainer *par, const Stat_t w)
    173173{
    174174    if (!par)
    175         return kFALSE;
    176 
    177     Double_t theta = fPointPos->GetZd();
     175    {
     176        *fLog << err << "ERROR - par==NULL." << endl;
     177        return kERROR;
     178    }
     179
     180    const Double_t theta = fPointPos->GetZd();
    178181
    179182    const MBadPixelsCam *fBadPixels = (MBadPixelsCam*)par;
  • trunk/MagicSoft/Mars/mbadpixels/MHBadPixels.h

    r5431 r9153  
    4444
    4545    void Draw(Option_t* option = "");
     46
    4647    Bool_t SetupFill(const MParList *plist);
    47     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     48    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    4849
    4950    ClassDef(MHBadPixels, 1)  // Histogram of bad pixel Id vs. Theta
Note: See TracChangeset for help on using the changeset viewer.