Changeset 7647 for trunk


Ignore:
Timestamp:
04/22/06 08:37:01 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7641 r7647  
    290290        fin.read((char*)&fTelescopeNumber, 2); // (+2)
    291291    }
     292    // Maybe we should set fCameraVersion and fTelescopeNumber to 1
     293    // in case of fFormatVersion<6
    292294
    293295    // ----- Run information -----
     
    299301    if (fFormatVersion>5)
    300302        fin.read((char*)fObservationMode, 60); // (+60)
     303    // Maybe we should set fObservationMode to something
     304    // in case of fFormatVersion<6
    301305
    302306    // ----- Source position -----
    303     fin.read((char*)dummy, 4); // F32 SourceRA;  Total=48
    304     fin.read((char*)dummy, 4); // F32 SourceDEC; Total=52
    305307    if (fFormatVersion>5)
    306308    {
    307         fin.read((char*)dummy, 4); // F32 TelescopeRA;  (+4)
    308         fin.read((char*)dummy, 4); // F32 TelescopeDEC; (+4)
    309     }
     309        fin.read((char*)dummy, 4); // F32 SourceRA;  Total=48
     310        fin.read((char*)dummy, 4); // F32 SourceDEC; Total=52
     311    }
     312    // Maybe we should set these to something
     313    // in case of fFormatVersion<6
     314    fin.read((char*)dummy, 4); // F32 TelescopeRA;  (+4)
     315    fin.read((char*)dummy, 4); // F32 TelescopeDEC; (+4)
    310316    fin.read((char*)&fSourceEpochChar,  2);     // Total=56
    311317    fin.read((char*)&fSourceEpochDate,  2);     // Total=58
Note: See TracChangeset for help on using the changeset viewer.