Changeset 6056
- Timestamp:
- 01/27/05 18:20:16 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationPatternDecode.cc
r6054 r6056 109 109 fPattern->fCLColor = (MCalibrationPattern::CLColor_t)((pattern>>8)&0xf); 110 110 111 const UInt_t pulserpattern = (pattern >> 16) & 0x 1ffff;111 const UInt_t pulserpattern = (pattern >> 16) & 0xffff; 112 112 113 fPattern->fPulser Strength= MCalibrationCam::kNONE;113 fPattern->fPulserColor = MCalibrationCam::kNONE; 114 114 115 115 if ((pulserpattern & kGreenAndBlue) || (pulserpattern & kBlueAndUV) || (pulserpattern & kGreenAndUV)) … … 131 131 break; 132 132 case MCalibrationCam::kGREEN: 133 if (p attern & kSlot1Green)133 if (pulserpattern & kSlot1Green) 134 134 strength += 5.; 135 if (p attern & kSlot2Green)135 if (pulserpattern & kSlot2Green) 136 136 strength += 2.; 137 if (p attern & kSlot15Green)137 if (pulserpattern & kSlot15Green) 138 138 strength += 1.; 139 if (p attern & kSlot16AttGreen)139 if (pulserpattern & kSlot16AttGreen) 140 140 strength += 0.2; 141 141 break; 142 142 case MCalibrationCam::kBLUE: 143 if (p attern & kSlot3Blue)144 strength += 5. ;145 if (p attern & kSlot6Blue)146 strength += 5. ;147 if (p attern & kSlot7Blue)148 strength += 5. ;149 if (p attern & kSlot8Blue)143 if (pulserpattern & kSlot3Blue) 144 strength += 5.1; 145 if (pulserpattern & kSlot6Blue) 146 strength += 5.2; 147 if (pulserpattern & kSlot7Blue) 148 strength += 5.4; 149 if (pulserpattern & kSlot8Blue) 150 150 strength += 2.; 151 if (p attern & kSlot9AttBlue)152 strength += 0.2 ;153 if (p attern & kSlot10Blue)151 if (pulserpattern & kSlot9AttBlue) 152 strength += 0.25; 153 if (pulserpattern & kSlot10Blue) 154 154 strength += 0.; 155 if (p attern & kSlot11Blue)155 if (pulserpattern & kSlot11Blue) 156 156 strength += 1.; 157 if (p attern & kSlot14Blue)158 strength += 5. ;157 if (pulserpattern & kSlot14Blue) 158 strength += 5.8; 159 159 break; 160 160 case MCalibrationCam::kUV: 161 if (p attern & kSlot4UV)161 if (pulserpattern & kSlot4UV) 162 162 strength += 1.; 163 if (p attern & kSlot5UV)163 if (pulserpattern & kSlot5UV) 164 164 strength += 2.; 165 if (p attern & kSlot12UV)166 strength += 5. ;167 if (p attern & kSlot13UV)168 strength += 5. ;169 165 if (pulserpattern & kSlot12UV) 166 strength += 5.1; 167 if (pulserpattern & kSlot13UV) 168 strength += 5.2; 169 break; 170 170 case MCalibrationCam::kCT1: 171 171 strength = 20.;
Note:
See TracChangeset
for help on using the changeset viewer.