Ignore:
Timestamp:
08/24/07 09:37:31 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mraw
Files:
3 edited

Legend:

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

    r8571 r8704  
    108108//
    109109MRawEvtData::MRawEvtData(const char *name, const char *title)
    110     : fRunHeader(0)
     110    : fRunHeader(0), fNumBytesPerSample(1)
    111111{
    112112    fName  = name  ? name  : "MRawEvtData";
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc

    r8699 r8704  
    157157    fTelescopeNumber=1;
    158158    fCameraVersion=1;
    159     fFadcType=0;
     159    fFadcType=1;
    160160    fRunType=kRTNone;  // use 0xffff for invalidation, 0 means: Data run
    161161    fRunNumber=0;
     
    415415
    416416
    417     fFadcType = 0;
     417    fFadcType = 1;
    418418    if (fFormatVersion>7)
    419419        fin.read((char*)&fFadcType, 2);
     
    573573        *fLog << "Telescope:    " << fTelescopeNumber << endl;
    574574    if (fFormatVersion>7)
    575         *fLog << "FadcType:     " << fFadcType << endl;
     575        *fLog << "FadcType:     " << fFadcType << " (";
     576    switch (fFadcType)
     577    {
     578    case 1: *fLog << "Siegen"; break;
     579    case 2: *fLog << "MUX"; break;
     580    default: *fLog << "unknown";
     581    }
     582    *fLog << ")" << endl;
    576583    *fLog << "RunNumber:    " << fRunNumber << " (Type=" << GetRunTypeStr() << ")" << endl;
    577584    *fLog << "ProjectName: '" << fProjectName << "'" << endl;
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.h

    r8699 r8704  
    4141    UShort_t  fFormatVersion;        // File format version
    4242    UShort_t  fSoftVersion;          // DAQ software version
    43     UShort_t  fFadcType;             // FADC type (0=Siegen, 1=MUX)
     43    UShort_t  fFadcType;             // FADC type (1=Siegen, 2=MUX)
    4444    UShort_t  fCameraVersion;        // Camera Version (1=MAGIC I)
    4545    UShort_t  fTelescopeNumber;      // Telescope number (1=Magic I)
Note: See TracChangeset for help on using the changeset viewer.