Ignore:
Timestamp:
01/26/09 11:59:12 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mraw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc

    r9229 r9270  
    11511151//  Init a camera
    11521152//
    1153 void MRawRunHeader::InitCamera(UShort_t type)
     1153void MRawRunHeader::InitCamera(UShort_t type, UShort_t pix)
    11541154{
    11551155    switch (type)
     
    11631163        fNumPixInCrate = 703;
    11641164        break;
     1165    case (UShort_t)-1:
     1166        fNumCrates     =   1;
     1167        fNumPixInCrate = pix;
     1168        break;
    11651169    }
    11661170
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.h

    r9261 r9270  
    100100*/
    101101    void InitFadcType(UShort_t type);
    102     void InitCamera(UShort_t type);
     102    void InitCamera(UShort_t type, UShort_t pix=0);
     103    void InitPixels(UShort_t pix) { InitCamera((UShort_t)-1, pix); }
    103104    void SetRunInfo(UShort_t type, UShort_t tel, UInt_t run, UInt_t file=0);
    104105    void SetSourceInfo(const char src[80], char epoch='J', UShort_t date=2000);
Note: See TracChangeset for help on using the changeset viewer.