- Timestamp:
- 05/17/05 12:08:31 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSlidingWindow.cc
r6840 r7043 76 76 const Byte_t MExtractTimeAndChargeSlidingWindow::fgHiGainWindowSize = 6; 77 77 const Byte_t MExtractTimeAndChargeSlidingWindow::fgLoGainWindowSize = 6; 78 78 79 // -------------------------------------------------------------------------- 79 80 // … … 176 177 fSqrtLoGainSamples = TMath::Sqrt(fNumLoGainSamples); 177 178 179 switch (fWindowSizeHiGain) 180 { 181 case 2: 182 SetResolutionPerPheHiGain(0.050); 183 break; 184 case 4: 185 SetResolutionPerPheHiGain(0.039); 186 break; 187 case 6: 188 case 8: 189 SetResolutionPerPheHiGain(0.011); 190 break; 191 case 14: 192 SetResolutionPerPheHiGain(0.009); 193 break; 194 default: 195 *fLog << warn << GetDescriptor() << ": Could not set the high-gain extractor resolution per phe for window size " 196 << fWindowSizeHiGain << endl; 197 } 198 199 switch (fWindowSizeLoGain) 200 { 201 case 2: 202 SetResolutionPerPheLoGain(0.028); 203 break; 204 case 4: 205 SetResolutionPerPheLoGain(0.013); 206 break; 207 case 6: 208 SetResolutionPerPheLoGain(0.008); 209 break; 210 case 8: 211 case 10: 212 SetResolutionPerPheLoGain(0.005); 213 break; 214 default: 215 *fLog << warn << GetDescriptor() << ": Could not set the low-gain extractor resolution per phe for window size " 216 << fWindowSizeLoGain << endl; 217 } 178 218 } 179 219
Note:
See TracChangeset
for help on using the changeset viewer.