Changeset 5823 for trunk/MagicSoft/Mars
- Timestamp:
- 01/13/05 18:25:56 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibColorSet.cc
r5757 r5823 254 254 case 45485: 255 255 case 45489: 256 case 45607: 256 257 // case 31756: 257 258 color = kBLUE; … … 277 278 case 45372: 278 279 case 45373: 280 case 45608: 279 281 color = kGREEN; 280 282 break; … … 300 302 case 45484: 301 303 case 45490: 304 case 45614: 305 case 45618: 302 306 color = kUV; 303 307 break; … … 308 312 break; 309 313 314 case 45609: 310 315 case 45219: 311 316 *fLog << err << "Sorry, run 45219 was taken with a combination of colours used to flat-field "; … … 313 318 return kFALSE; 314 319 break; 320 321 case 45605: 322 *fLog << err << "Sorry, run 45605 was taken with the continuous light source." << endl; 323 *fLog << err << "It cannot be used for calibration. Try to run a pedestal extraction on it." << endl; 324 return kFALSE; 325 break; 326 327 case 45606: 328 *fLog << err << "Sorry, run 45606 was taken with mal-functionning pulser." << endl; 329 *fLog << err << "It cannot be used for calibration. Try to run a pedestal extraction on it." << endl; 330 return kFALSE; 331 break; 332 315 333 } 316 334 … … 333 351 334 352 // Possible green combinations 335 CheckAndSet(proj, "0.1led[s S]?gree", fPattern, k01LedGreen, color, kGREEN);336 CheckAndSet(proj, "1led[s S]?gree", fPattern, k1LedGreen, color, kGREEN);337 CheckAndSet(proj, "2led[s S]?gree", fPattern, k2LedGreen, color, kGREEN);338 CheckAndSet(proj, "3led[s S]?gree", fPattern, k3LedGreen, color, kGREEN);339 CheckAndSet(proj, "5led[s S]?gree", fPattern, k5LedGreen, color, kGREEN);340 CheckAndSet(proj, "6led[s S]?gree", fPattern, k6LedGreen, color, kGREEN);341 CheckAndSet(proj, "7led[s S]?gree", fPattern, k7LedGreen, color, kGREEN);342 CheckAndSet(proj, "8led[s S]?gree", fPattern, k8LedGreen, color, kGREEN);353 CheckAndSet(proj, "0.1led[s]?gree", fPattern, k01LedGreen, color, kGREEN); 354 CheckAndSet(proj, "1led[s]?gree", fPattern, k1LedGreen, color, kGREEN); 355 CheckAndSet(proj, "2led[s]?gree", fPattern, k2LedGreen, color, kGREEN); 356 CheckAndSet(proj, "3led[s]?gree", fPattern, k3LedGreen, color, kGREEN); 357 CheckAndSet(proj, "5led[s]?gree", fPattern, k5LedGreen, color, kGREEN); 358 CheckAndSet(proj, "6led[s]?gree", fPattern, k6LedGreen, color, kGREEN); 359 CheckAndSet(proj, "7led[s]?gree", fPattern, k7LedGreen, color, kGREEN); 360 CheckAndSet(proj, "8led[s]?gree", fPattern, k8LedGreen, color, kGREEN); 343 361 344 362 // Possible blue combinations 345 CheckAndSet(proj, "0.1led[s S]?blue", fPattern, k01LedBlue, color, kBLUE);346 CheckAndSet(proj, "1led[s S]?blue", fPattern, k1LedBlue, color, kBLUE);347 CheckAndSet(proj, "2led[s S]?blue", fPattern, k2LedBlue, color, kBLUE);348 CheckAndSet(proj, "3led[s S]?blue", fPattern, k3LedBlue, color, kBLUE);349 CheckAndSet(proj, "5led[s S]?blue", fPattern, k5LedBlue1, color, kBLUE);350 CheckAndSet(proj, "6led[s S]?blue", fPattern, k6LedBlue, color, kBLUE);351 CheckAndSet(proj, "7led[s S]?blue", fPattern, k7LedBlue, color, kBLUE);352 CheckAndSet(proj, "8led[s S]?blue", fPattern, k8LedBlue, color, kBLUE);353 CheckAndSet(proj, "10led[s S]?blue", fPattern, k10LedBlue, color, kBLUE);354 CheckAndSet(proj, "15led[s S]?blue", fPattern, k15LedBlue, color, kBLUE);355 CheckAndSet(proj, "20led[s S]?blue", fPattern, k20LedBlue, color, kBLUE);356 CheckAndSet(proj, "21led[s S]?blue", fPattern, k21LedBlue, color, kBLUE);357 CheckAndSet(proj, "22led[s S]?blue", fPattern, k22LedBlue, color, kBLUE);358 CheckAndSet(proj, "23led[s S]?blue", fPattern, k23LedBlue, color, kBLUE);363 CheckAndSet(proj, "0.1led[s]?blue", fPattern, k01LedBlue, color, kBLUE); 364 CheckAndSet(proj, "1led[s]?blue", fPattern, k1LedBlue, color, kBLUE); 365 CheckAndSet(proj, "2led[s]?blue", fPattern, k2LedBlue, color, kBLUE); 366 CheckAndSet(proj, "3led[s]?blue", fPattern, k3LedBlue, color, kBLUE); 367 CheckAndSet(proj, "5led[s]?blue", fPattern, k5LedBlue1, color, kBLUE); 368 CheckAndSet(proj, "6led[s]?blue", fPattern, k6LedBlue, color, kBLUE); 369 CheckAndSet(proj, "7led[s]?blue", fPattern, k7LedBlue, color, kBLUE); 370 CheckAndSet(proj, "8led[s]?blue", fPattern, k8LedBlue, color, kBLUE); 371 CheckAndSet(proj, "10led[s]?blue", fPattern, k10LedBlue, color, kBLUE); 372 CheckAndSet(proj, "15led[s]?blue", fPattern, k15LedBlue, color, kBLUE); 373 CheckAndSet(proj, "20led[s]?blue", fPattern, k20LedBlue, color, kBLUE); 374 CheckAndSet(proj, "21led[s]?blue", fPattern, k21LedBlue, color, kBLUE); 375 CheckAndSet(proj, "22led[s]?blue", fPattern, k22LedBlue, color, kBLUE); 376 CheckAndSet(proj, "23led[s]?blue", fPattern, k23LedBlue, color, kBLUE); 359 377 360 378 // Possible UV combinations 361 CheckAndSet(proj, "1led[s S]?uv", fPattern, k1LedUV, color, kUV);362 CheckAndSet(proj, "2led[s S]?uv", fPattern, k2LedUV, color, kUV);363 CheckAndSet(proj, "3led[s S]?uv", fPattern, k3LedUV, color, kUV);364 CheckAndSet(proj, "5led[s S]?uv", fPattern, k5LedUV1, color, kUV);365 CheckAndSet(proj, "6led[s S]?uv", fPattern, k6LedUV, color, kUV);366 CheckAndSet(proj, "7led[s S]?uv", fPattern, k7LedUV, color, kUV);367 CheckAndSet(proj, "8led[s S]?uv", fPattern, k8LedUV, color, kUV);368 CheckAndSet(proj, "10led[s S]?uv", fPattern, k10LedUV, color, kUV);369 CheckAndSet(proj, "11led[s S]?uv", fPattern, k11LedUV, color, kUV);370 CheckAndSet(proj, "12led[s S]?uv", fPattern, k12LedUV, color, kUV);371 CheckAndSet(proj, "13led[s S]?uv", fPattern, k13LedUV, color, kUV);379 CheckAndSet(proj, "1led[s]?uv", fPattern, k1LedUV, color, kUV); 380 CheckAndSet(proj, "2led[s]?uv", fPattern, k2LedUV, color, kUV); 381 CheckAndSet(proj, "3led[s]?uv", fPattern, k3LedUV, color, kUV); 382 CheckAndSet(proj, "5led[s]?uv", fPattern, k5LedUV1, color, kUV); 383 CheckAndSet(proj, "6led[s]?uv", fPattern, k6LedUV, color, kUV); 384 CheckAndSet(proj, "7led[s]?uv", fPattern, k7LedUV, color, kUV); 385 CheckAndSet(proj, "8led[s]?uv", fPattern, k8LedUV, color, kUV); 386 CheckAndSet(proj, "10led[s]?uv", fPattern, k10LedUV, color, kUV); 387 CheckAndSet(proj, "11led[s]?uv", fPattern, k11LedUV, color, kUV); 388 CheckAndSet(proj, "12led[s]?uv", fPattern, k12LedUV, color, kUV); 389 CheckAndSet(proj, "13led[s]?uv", fPattern, k13LedUV, color, kUV); 372 390 373 391 // Possible slot combinations … … 413 431 if (proj.Contains("cl",TString::kIgnoreCase)) 414 432 { 415 *fLog << warn;433 *fLog << err; 416 434 *fLog << "This run has been taken with the continuous light source." << endl; 417 435 *fLog << "It cannot be used for calibration. Try to run a pedestal extraction on it." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.