Changeset 5415 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 11/17/04 09:38:19 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibColorSet.cc
r5056 r5415 123 123 } 124 124 125 // 126 // Consider the case that a pedestal run is interleaved in the calibration run sequence ... prepare 127 // to skip this run. 128 // 129 const UShort_t runtype = header->GetRunType(); 130 131 if (runtype == 1) 132 { 133 *fLog << warn << "New run is a pedestal run... need intensity calibration to treat this case!" << endl; 134 fPattern = 0; 135 fIsValid = kTRUE; 136 return kTRUE; 137 } 138 125 139 enum { kNONE, kGREEN, kBLUE, kUV, kCT1 }; 126 140 … … 192 206 case 22246: 193 207 case 22253: 208 case 25792: 209 case 35415: 210 // case 31756: 194 211 color = kBLUE; 195 212 break; … … 387 404 388 405 if (fIsValid) 389 fHeader->SetCalibrationPattern(fPattern); 406 { 407 if (fPattern == 0) 408 { 409 *fLog << err << "CONTINUE " << endl; 410 return kCONTINUE; 411 } 412 fHeader->SetCalibrationPattern(fPattern); 413 } 414 390 415 return kTRUE; 391 416 }
Note:
See TracChangeset
for help on using the changeset viewer.