Changeset 7043 for trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.cc
- Timestamp:
- 05/17/05 12:08:31 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.cc
r4984 r7043 150 150 fSqrtHiGainSamples = TMath::Sqrt(fNumHiGainSamples); 151 151 fSqrtLoGainSamples = TMath::Sqrt(fNumLoGainSamples); 152 152 153 const Int_t wshigain = fHiGainLast-fHiGainFirst+1; 154 const Int_t wslogain = fLoGainLast-fLoGainFirst+1; 155 156 switch (wshigain) 157 { 158 case 2: 159 SetResolutionPerPheHiGain(0.021); 160 break; 161 case 4: 162 case 6: 163 case 8: 164 case 10: 165 case 12: 166 case 14: 167 SetResolutionPerPheHiGain(0.011); 168 break; 169 default: 170 *fLog << warn << GetDescriptor() << ": Could not set the hi-gain extractor resolution/phe for window size " << wshigain << endl; 171 } 172 173 switch (wslogain) 174 { 175 case 4: 176 SetResolutionPerPheLoGain(0.063); 177 break; 178 case 6: 179 SetResolutionPerPheLoGain(0.017); 180 break; 181 case 8: 182 case 10: 183 SetResolutionPerPheLoGain(0.011); 184 break; 185 default: 186 *fLog << warn << GetDescriptor() << ": Could not set the lo-gain extractor resolution/phe for window size " << wslogain << endl; 187 } 153 188 } 154 189
Note:
See TracChangeset
for help on using the changeset viewer.