Changeset 2984 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 01/30/04 14:55:59 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
r2748 r2984 149 149 // 150 150 fRawRunHeader->ReadEvt(*fIn); 151 if (!(*fIn)) 152 { 153 *fLog << err << "Error: Accessing file '" << fFileName << "'" << endl; 154 return kFALSE; 155 } 156 if (fRawRunHeader->GetMagicNumber()!=kMagicNumber) 157 return kFALSE; 158 151 159 fRawRunHeader->Print(); 152 153 if (fRawRunHeader->GetMagicNumber()!=kMagicNumber)154 return kFALSE;155 160 156 161 *fRawEvtTime = fRawRunHeader->GetRunStart(); -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r2775 r2984 75 75 fFormatVersion=0; 76 76 fSoftVersion=0; 77 fRunType= 0;77 fRunType=kRTNone; // use 0xffff for invalidation, 0 means: Data run 78 78 fRunNumber=0; 79 79 fProjectName[0]=0; … … 184 184 case kRTMonteCarlo: 185 185 return "Monte Carlo"; 186 case kRTNone: 187 return "<none>"; 186 188 default: 187 189 return "<unknown>"; -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.h
r2775 r2984 24 24 // 25 25 enum { 26 kRTData = 0, 27 kRTPedestal = 1, 28 kRTCalibration = 2, 29 kRTMonteCarlo = 256 26 kRTData = 0x0000, 27 kRTPedestal = 0x0001, 28 kRTCalibration = 0x0002, 29 kRTMonteCarlo = 0x0100, 30 kRTNone = 0xffff 30 31 }; 31 32
Note:
See TracChangeset
for help on using the changeset viewer.