Changeset 3862 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 04/28/04 11:15:08 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/bootcampstandardanalysis.C
r3832 r3862 60 60 { 61 61 62 MExtractSlidingWindow extractor; 63 62 64 MRunIter pruns; 63 65 MRunIter cruns; … … 118 120 MJCalibration calloop; 119 121 calloop.SetInput(&cruns); 120 // 121 // Use as signal extractor MExtractSignal: 122 // 123 calloop.SetExtractorLevel(1); 122 calloop.SetExtractor(&extractor); 124 123 // 125 124 // Set the corr. cams: … … 186 185 static_cast<MRead&>(read3).AddFiles(pruns); 187 186 188 MExtractSignal extsig;189 187 MCalibrate photcalc; 190 188 photcalc.SetCalibrationMode(MCalibrate::kFfactor); … … 193 191 tlist3.AddToList(&read3); 194 192 tlist3.AddToList(&geomapl); 195 tlist3.AddToList(&ext sig);193 tlist3.AddToList(&extractor); 196 194 tlist3.AddToList(&photcalc); 197 195 // tlist3.AddToList(&photrmscalc); … … 252 250 tlist4.AddToList(&read4); 253 251 tlist4.AddToList(&geomapl); 254 tlist4.AddToList(&ext sig);252 tlist4.AddToList(&extractor); 255 253 tlist4.AddToList(&timecalc); 256 254 tlist4.AddToList(&photcalc); … … 264 262 265 263 if (!evtloop4.PreProcess()) 266 267 264 return; 268 265 -
trunk/MagicSoft/Mars/macros/calibration.C
r3855 r3862 63 63 { 64 64 65 MExtractFixedWindowPeakSearch extractor; 65 66 66 67 MRunIter pruns; … … 120 121 // 121 122 // calloop.SetRelTimeCalibration(); 123 calloop.SetExtractor(&extractor); 122 124 calloop.SetInput(&cruns); 123 125 calloop.SetDisplay(display); … … 134 136 MJExtractCalibTest testloop; 135 137 138 testloop.SetExtractor(&extractor); 136 139 testloop.SetInput(&cruns); 137 140 testloop.SetDisplay(display); -
trunk/MagicSoft/Mars/macros/pedphotcalc.C
r3832 r3862 65 65 #include "MCalibrationQEPix.h" 66 66 #include "MExtractedSignalCam.h" 67 #include "MExtractSignal.h" 67 #include "MExtractSlidingWindow.h" 68 #include "MExtractFixedWindow.h" 68 69 #include "MCerPhotEvt.h" 69 70 #include "MCalibrate.h" … … 210 211 ) 211 212 { 213 214 MExtractFixedWindow extractor; 212 215 213 216 MRunIter pruns; … … 266 269 // Use as signal extractor MExtractSignal: 267 270 // 268 calloop.SetExtractor Level(1);271 calloop.SetExtractor(&extractor); 269 272 // 270 273 // The next two commands are for the display: … … 313 316 static_cast<MRead&>(read3).AddFiles(pruns); 314 317 315 MExtractSignal sigcalc;316 318 MCalibrate photcalc; 317 319 photcalc.SetCalibrationMode(MCalibrate::kFfactor); … … 320 322 tlist3.AddToList(&read3); 321 323 tlist3.AddToList(&geomapl); 322 tlist3.AddToList(& sigcalc);324 tlist3.AddToList(&extractor); 323 325 tlist3.AddToList(&photcalc); 324 326 tlist3.AddToList(&pedphotcalc);
Note:
See TracChangeset
for help on using the changeset viewer.