Changeset 6040 for trunk/MagicSoft


Ignore:
Timestamp:
01/27/05 10:59:16 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc

    r5878 r6040  
    824824}
    825825
    826 
     826//----------------------------------------------------------------------------------------------------
     827//
     828Bool_t MCalibrateData::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const
     829{
     830
     831  if (idx > GetSize())
     832    return kFALSE;
     833
     834  switch (type)
     835    {
     836    case 0:
     837      val = fCalibConsts[idx];
     838      break;
     839    default:
     840      return kFALSE;
     841    }
     842
     843  return val!=0.;
     844}
     845
     846
     847// --------------------------------------------------------------------------
     848//
     849//
     850void MCalibrateData::DrawPixelContent(Int_t idx) const
     851{
     852  *fLog << warn << "DrawPixelContent not available in" << GetDescriptor() << endl;
     853}
     854
  • trunk/MagicSoft/Mars/mcalib/MCalibrateData.h

    r6039 r6040  
    5757  Float_t  fRenormFactor;                // Possible renormalization factor for signals (-> phes)
    5858 
    59   TList fNamesPedestal;                  // Names of input and output pedestal conatainer
    60   TList fPedestalCams;                   //! List of pointers to input MPedestalCam
    61   TList fPedPhotCams;                    //! List of pointers to corresponding output MPedPhotCam
     59  TList   fNamesPedestal;                // Names of input and output pedestal conatainer
     60  TList   fPedestalCams;                 //! List of pointers to input MPedestalCam
     61  TList   fPedPhotCams;                  //! List of pointers to corresponding output MPedPhotCam
    6262
    6363  MArrayF fCalibConsts;                  //! Array of calibration constants for each pixel, calculated only once!
Note: See TracChangeset for help on using the changeset viewer.