Changeset 2853
- Timestamp:
- 01/19/04 23:04:26 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2852 r2853 30 30 31 31 * mcalib/MCalibrationCalc.[h,cc] 32 - Modified way to change the fit function 33 - incorporate option to exclude pixels from configuration file 34 35 * macros/calibration.C 32 36 - Modified way to change the fit function 33 37 - incorporate option to exclude pixels from configuration file -
trunk/MagicSoft/Mars/macros/calibration.C
r2823 r2853 89 89 plist2.AddToList(&tlist2); 90 90 91 MExtractedSignalCam sigcam; 92 MCalibrationCam calcam; 91 93 // 92 94 // Get the previously created MPedestalCam into the new Parameter List 93 95 // 94 plist2.AddToList((MPedestalCam*)plist.FindObject("MPedestalCam")); 96 plist2.AddToList(&pedcam); 97 plist2.AddToList(&sigcam); 98 plist2.AddToList(&calcam); 95 99 96 100 // … … 108 112 read2.DisableAutoScheme(); 109 113 110 MExtractSignal 114 MExtractSignal sigsig; 111 115 MCalibrationCalc calcalc; 116 117 // 118 // In case, we want to exclude a pre-defined list of bad pixels: 119 // (This is a preliminary feature) 120 // 121 // calcalc.ExcludePixelsFromAsciiFile("badpixels.dat"); 122 112 123 // 113 124 // As long, as we don't have digital modules, … … 115 126 // 116 127 calcalc.SetPulserColor(MCalibrationCalc::kECT1); 128 129 // 130 // In case, we want to apply another fit function to the 131 // blind pixel 132 // 133 MCalibrationBlindPix *bp = calcam.GetBlindPixel(); 134 bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPoisson5); 117 135 118 136 tlist2.AddToList(&read2); 119 137 tlist2.AddToList(&sigsig); 120 138 tlist2.AddToList(&calcalc); 121 122 MExtractedSignalCam sigcam;123 plist2.AddToList(&sigcam);124 139 125 140 // … … 219 234 220 235 CamDraw(c1,disp1,cam,1,2,1); 221 CamDraw(c1,disp3,cam,2,2, 3);236 CamDraw(c1,disp3,cam,2,2,2); 222 237 223 238 // Fit Probability
Note:
See TracChangeset
for help on using the changeset viewer.