Changeset 8704 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 08/24/07 09:37:31 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r8571 r8704 108 108 // 109 109 MRawEvtData::MRawEvtData(const char *name, const char *title) 110 : fRunHeader(0) 110 : fRunHeader(0), fNumBytesPerSample(1) 111 111 { 112 112 fName = name ? name : "MRawEvtData"; -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r8699 r8704 157 157 fTelescopeNumber=1; 158 158 fCameraVersion=1; 159 fFadcType= 0;159 fFadcType=1; 160 160 fRunType=kRTNone; // use 0xffff for invalidation, 0 means: Data run 161 161 fRunNumber=0; … … 415 415 416 416 417 fFadcType = 0;417 fFadcType = 1; 418 418 if (fFormatVersion>7) 419 419 fin.read((char*)&fFadcType, 2); … … 573 573 *fLog << "Telescope: " << fTelescopeNumber << endl; 574 574 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; 576 583 *fLog << "RunNumber: " << fRunNumber << " (Type=" << GetRunTypeStr() << ")" << endl; 577 584 *fLog << "ProjectName: '" << fProjectName << "'" << endl; -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.h
r8699 r8704 41 41 UShort_t fFormatVersion; // File format version 42 42 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) 44 44 UShort_t fCameraVersion; // Camera Version (1=MAGIC I) 45 45 UShort_t fTelescopeNumber; // Telescope number (1=Magic I)
Note:
See TracChangeset
for help on using the changeset viewer.