Changeset 9329 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 02/12/09 20:14:44 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationPatternDecode.cc
r9314 r9329 115 115 fPattern->fPulserColor = MCalibrationCam::kNONE; 116 116 117 // This is a MC workaround because the CT1 bit cannot be set 118 // It would be bit 33 in the pattern which simple 119 // doesn't exist in a 32 bit integer. 120 if (fRunHeader->IsMonteCarloRun() && pat==0) 121 fPattern->fPulserColor = MCalibrationCam::kCT1; 122 117 123 // Check the pattern 118 124 if ((pat & kGreenAndBlue) || (pat & kBlueAndUV) || (pat & kGreenAndUV)) 119 125 fPattern->fPulserColor = MCalibrationCam::kNONE; 120 126 121 if (pat & kCT1Pulser) 122 fPattern->fPulserColor = MCalibrationCam::kCT1; 127 // FIXME: This condition can never be true! 128 //if (pat & kCT1Pulser) 129 // fPattern->fPulserColor = MCalibrationCam::kCT1; 123 130 124 131 if (pat & kAnyUV) -
trunk/MagicSoft/Mars/mcalib/MCalibrationPatternDecode.h
r6004 r9329 33 33 kSlot15Green = BIT(14), 34 34 kSlot16AttGreen = BIT(15), 35 kCT1Pulser = BIT(16),35 // kCT1Pulser = BIT(16), 36 36 kAnyGreen = kSlot1Green | kSlot2Green | kSlot15Green | kSlot16AttGreen, 37 37 kAnyUV = kSlot4UV | kSlot5UV | kSlot12UV | kSlot13UV, … … 41 41 kBlueAndUV = kAnyBlue & kAnyUV, 42 42 kGreenAndUV = kAnyGreen & kAnyUV, 43 kIFAEPulser = kAnyGreen | kAnyBlue | kAnyUV ,44 kAny = kAnyGreen | kAnyBlue | kAnyUV | kCT1Pulser 43 kIFAEPulser = kAnyGreen | kAnyBlue | kAnyUV/*, 44 kAny = kAnyGreen | kAnyBlue | kAnyUV | kCT1Pulser*/ 45 45 }; 46 46
Note:
See TracChangeset
for help on using the changeset viewer.