Changeset 5579 for trunk/MagicSoft/Mars
- Timestamp:
- 12/10/04 18:27:19 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/getExtractor.C
r5531 r5579 34 34 // as specified in the TDAS-Extractor with the following meaning: 35 35 // 36 // Nr. Extractor Parameters "<< endl;37 // 38 // MExtractFixedWindow: "<< endl;39 // with the following parameters, if 'maxbin' defines the mean position "<< endl;40 // of the High-Gain FADC slice carrying the pulse maximum: "<< endl;41 // 1: SetRange('maxbin }}-1,'maxbin}}+2,'maxbin}}+0.5,'maxbin}}+3.5) "<< endl;42 // 2: SetRange('maxbin'-1,'maxbin'+2,'maxbin'-0.5,'maxbin'+4.5) "<< endl;43 // 3: SetRange('maxbin'-2,'maxbin'+3,'maxbin'-0.5,'maxbin'+4.5) "<< endl;44 // 4: SetRange('maxbin'-3,'maxbin'+4,'maxbin'-1.5,'maxbin'+5.5) "<< endl;45 // 5: SetRange('maxbin'-5,'maxbin'+8,'maxbin'-1.5,'maxbin'+7.5) "<< endl;46 // MExtractFixedWindowSpline: "<< endl;47 // 6: SetRange('maxbin'-1,'maxbin'+2,'maxbin'+0.5,'maxbin'+3.5) "<< endl;48 // 7: SetRange('maxbin'-1,'maxbin'+2,'maxbin'-0.5,'maxbin'+4.5) "<< endl;49 // 8: SetRange('maxbin'-2,'maxbin'+3,'maxbin'-0.5,'maxbin'+4.5) "<< endl;50 // 9: SetRange('maxbin'-3,'maxbin'+4,'maxbin'-1.5,'maxbin'+5.5) "<< endl;51 // 10: SetRange('maxbin'-5,'maxbin'+8,'maxbin'-1.5,'maxbin'+7.5) "<< endl;52 // MExtractFixedWindowPeakSearch: "<< endl;53 // SetRange(0,18,2,14) and the following parameters: "<< endl;54 // 11: SetWindows(2,2,2) "<< endl;55 // 12: SetWindows(4,4,2) "<< endl;56 // 13: SetWindows( 6,6,4)"<< endl;57 // 14: SetWindows( 4,6,4)"<< endl;58 // 15: SetWindows(8,8,4) "<< endl;59 // 16: SetWindows(14,10,4) "<< endl;60 // MExtractTimeAndChargeSlidingWindow: "<< endl;61 // SetRange(0,18,2,14) and the following parameters: "<< endl;62 // 17: SetWindowSize(2,2) "<< endl;63 // 18: SetWindowSize(4,4) "<< endl;64 // 19: SetWindowSize(6,6) "<< endl;65 // 20: SetWindowSize(4,6) "<< endl;66 // 21: SetWindowSize(8,8) "<< endl;67 // 22: SetWindowSize(14,10) "<< endl;68 // MExtractTimeAndChargeSpline: "<< endl;69 // SetChargeType(MExtractTimeAndChargeSpline::kIntegral) and: "<< endl;70 // SetRange(0,18,2,14) and the following parameters: "<< endl;71 // 23: SetRiseTime(1.5); SetFallTime(4.5) "<< endl;72 // 24: SetRiseTime(0.5); SetFallTime(2.5) "<< endl;73 // 25: SetRiseTime(0.5); SetFallTime(1.5) "<< endl;74 // 26: SetRiseTime(0.5); SetFallTime(0.5) "<< endl;75 // 27: SetChargeType(MExtractTimeAndChargeSpline::kAmplitude "<< endl;76 // SetRange(0,10,4,11) "<< endl;77 // MExtractTimeAndChargeDigitalFilter "<< endl;78 // SetRange(0,18,2,14) and the following parameters: "<< endl;79 // 28: SetNameWeightsFile('msignal/cosmics_weights.dat') "<< endl;80 // 29: SetNameWeightsFile('msignal/cosmics_weights4.dat') "<< endl;81 // 30: SetNameWeightsFile('msignal/cosmics_weights_logain.dat') "<< endl;82 // 31: SetNameWeightsFile('msignal/cosmics_weights4_logain.dat') "<< endl;83 // 32: SetNameWeightsFile('msignal/calibration_weights_UV.dat') "<< endl;84 // 33: SetNameWeightsFile('msignal/calibration_weights_UV_logain.dat') "<< endl;85 // 34: Real Fit: (not yet implemented) "<< endl;36 // Nr. Extractor Parameters << endl; 37 // 38 // MExtractFixedWindow: << endl; 39 // with the following parameters, if 'maxbin' defines the mean position << endl; 40 // of the High-Gain FADC slice carrying the pulse maximum: << endl; 41 // 1: SetRange('maxbin'-1,'maxbin'+2,'maxbin'+0.5,'maxbin'+3.5) << endl; 42 // 2: SetRange('maxbin'-1,'maxbin'+2,'maxbin'-0.5,'maxbin'+4.5) << endl; 43 // 3: SetRange('maxbin'-2,'maxbin'+3,'maxbin'-0.5,'maxbin'+4.5) << endl; 44 // 4: SetRange('maxbin'-3,'maxbin'+4,'maxbin'-1.5,'maxbin'+5.5) << endl; 45 // 5: SetRange('maxbin'-5,'maxbin'+8,'maxbin'-1.5,'maxbin'+7.5) << endl; 46 // MExtractFixedWindowSpline: << endl; 47 // 6: SetRange('maxbin'-1,'maxbin'+2,'maxbin'+0.5,'maxbin'+3.5) << endl; 48 // 7: SetRange('maxbin'-1,'maxbin'+2,'maxbin'-0.5,'maxbin'+4.5) << endl; 49 // 8: SetRange('maxbin'-2,'maxbin'+3,'maxbin'-0.5,'maxbin'+4.5) << endl; 50 // 9: SetRange('maxbin'-3,'maxbin'+4,'maxbin'-1.5,'maxbin'+5.5) << endl; 51 // 10: SetRange('maxbin'-5,'maxbin'+8,'maxbin'-1.5,'maxbin'+7.5) << endl; 52 // MExtractFixedWindowPeakSearch: << endl; 53 // SetRange(0,18,2,14) and the following parameters: << endl; 54 // 11: SetWindows(2,2,2) << endl; 55 // 12: SetWindows(4,4,2) << endl; 56 // 13: SetWindows(4,6,4) << endl; 57 // 14: SetWindows(6,6,4) << endl; 58 // 15: SetWindows(8,8,4) << endl; 59 // 16: SetWindows(14,10,4) << endl; 60 // MExtractTimeAndChargeSlidingWindow: << endl; 61 // SetRange(0,18,2,14) and the following parameters: << endl; 62 // 17: SetWindowSize(2,2) << endl; 63 // 18: SetWindowSize(4,4) << endl; 64 // 19: SetWindowSize(6,6) << endl; 65 // 20: SetWindowSize(4,6) << endl; 66 // 21: SetWindowSize(8,8) << endl; 67 // 22: SetWindowSize(14,10) << endl; 68 // MExtractTimeAndChargeSpline: << endl; 69 // SetChargeType(MExtractTimeAndChargeSpline::kIntegral) and: << endl; 70 // SetRange(0,18,2,14) and the following parameters: << endl; 71 // 23: SetRiseTime(1.5); SetFallTime(4.5) << endl; 72 // 24: SetRiseTime(0.5); SetFallTime(2.5) << endl; 73 // 25: SetRiseTime(0.5); SetFallTime(1.5) << endl; 74 // 26: SetRiseTime(0.5); SetFallTime(0.5) << endl; 75 // 27: SetChargeType(MExtractTimeAndChargeSpline::kAmplitude << endl; 76 // SetRange(0,10,4,11) << endl; 77 // MExtractTimeAndChargeDigitalFilter << endl; 78 // SetRange(0,18,2,14) and the following parameters: << endl; 79 // 28: SetNameWeightsFile('msignal/cosmics_weights.dat') << endl; 80 // 29: SetNameWeightsFile('msignal/cosmics_weights4.dat') << endl; 81 // 30: SetNameWeightsFile('msignal/cosmics_weights_logain.dat') << endl; 82 // 31: SetNameWeightsFile('msignal/cosmics_weights4_logain.dat') << endl; 83 // 32: SetNameWeightsFile('msignal/calibration_weights_UV.dat') << endl; 84 // 33: SetNameWeightsFile('msignal/calibration_weights_UV_logain.dat') << endl; 85 // 34: Real Fit: (not yet implemented) << endl; 86 86 // 87 87 // The extractor will also carry a meaningful name, storing all information about its … … 236 236 break; 237 237 case 13: 238 ((MExtractFixedWindowPeakSearch*)extractor)->SetWindows(4,6,4); 239 break; 240 case 14: 238 241 ((MExtractFixedWindowPeakSearch*)extractor)->SetWindows(6,6,4); 239 break;240 case 14:241 ((MExtractFixedWindowPeakSearch*)extractor)->SetWindows(4,6,4);242 242 break; 243 243 case 15:
Note:
See TracChangeset
for help on using the changeset viewer.