Changeset 9329 for trunk/MagicSoft
- Timestamp:
- 02/12/09 20:14:44 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9328 r9329 71 71 - removed CamShadow container 72 72 - search Reflector instead of MReflector 73 74 * Makefile: 75 - removed mreflector 76 77 * mcalib/MCalibrationPatternDecode.cc: 78 - in case of pattern==0 and MCs set the color to CT1. This is 79 a workaround because the bits don't allow to set is explicitly 80 - removed the check for the kCT1Pulser bit. It can never be true 81 - consequently removed the kCT1Pulser bit 73 82 74 83 -
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.