Ignore:
Timestamp:
07/15/05 13:25:57 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h

    r6963 r7194  
    9494  const MCalibrationPix &operator[]             ( UInt_t i )           const;
    9595
     96  static TString GetPulserColorStr(PulserColor_t col) {
     97      TString str;
     98      switch (col)
     99      {
     100      case kCT1:   str += "CT1";      break;
     101      case kGREEN: str += "Green";    break;
     102      case kBLUE:  str += "Blue";     break;
     103      case kUV:    str += "UV";       break;
     104      case kNONE:  str += "None";     break;
     105      default:     str += "Unknown";  break;
     106      }
     107      str += " (";
     108      str += (int)col;
     109      str += ")";
     110      return str;
     111  }
     112
    96113  // Inits
    97114  void  Init                   ( const MGeomCam &geom         );
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPattern.h

    r6013 r7194  
    5454
    5555    const MCalibrationCam::PulserColor_t GetPulserColor() const { return fPulserColor; }
     56    TString GetPulserColorStr() const { return MCalibrationCam::GetPulserColorStr(fPulserColor); }
    5657
    5758    void SetPulserColor   ( const MCalibrationCam::PulserColor_t col) { fPulserColor = col; }
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPatternDecode.cc

    r6056 r7194  
    9999Int_t MCalibrationPatternDecode::Process()
    100100{
    101     // No setting necessary because MCalibrationPattern::reset() has
     101    // No setting necessary because MCalibrationPattern::Reset() has
    102102    // been called just before
    103103    if (fRunHeader->GetFormatVersion()<5)
Note: See TracChangeset for help on using the changeset viewer.