Changeset 3084 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 02/10/04 22:45:23 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/calibration.C
r3060 r3084 219 219 MArrivalTimeCalc timecalc; 220 220 MCalibrationCalc calcalc; 221 222 // 223 // Apply a filter against cosmics 224 // (was directly in MCalibrationCalc in earlier versions) 225 // 226 MFCosmics cosmics; 227 MContinue cont(&cosmics); 221 228 222 229 // … … 241 248 // (This is a preliminary feature) 242 249 // 243 //calcalc.ExcludePixelsFromAsciiFile("badpixels_all.dat");250 calcalc.ExcludePixelsFromAsciiFile("badpixels.dat"); 244 251 245 252 // … … 248 255 // 249 256 // calcalc.SkipBlindPixelFit(); 250 251 //252 // In case, you want to skip the cosmics rejection253 // (NOT RECOMMENDED!!!)254 //255 // calcalc.SkipCosmicsRejection();256 257 257 258 // … … 276 277 // 277 278 // tlist2.AddToList(&timecalc); 279 tlist2.AddToList(&cont); 278 280 tlist2.AddToList(&calcalc); 279 281 … … 301 303 // just one example how to get the plots of individual pixels 302 304 // 303 calcam[ 356].DrawClone();305 calcam[543].DrawClone(); 304 306 305 307 // Create histograms to display … … 312 314 MHCamera disp7 (geomcam, "Cal;FFactorConv", "Conversion Factor (F-Factor Method)"); 313 315 MHCamera disp8 (geomcam, "Cal;FFactorFFactor", "Total F-Factor (F-Factor Method)"); 314 MHCamera disp9 (geomcam, "Cal;BlindPixPh", " Nr. of Photonsinside plexiglass (Blind Pixel Method)");316 MHCamera disp9 (geomcam, "Cal;BlindPixPh", "Photon flux inside plexiglass (Blind Pixel Method)"); 315 317 MHCamera disp10 (geomcam, "Cal;BlindPixConv", "Conversion Factor (Blind Pixel Method)"); 316 318 MHCamera disp11 (geomcam, "Cal;BlindPixFFactor","Total F-Factor (Blind Pixel Method)"); 317 MHCamera disp12 (geomcam, "Cal;PINDiodePh", " Nr. of Photonsoutside plexiglass (PIN Diode Method)");319 MHCamera disp12 (geomcam, "Cal;PINDiodePh", "Photon flux outside plexiglass (PIN Diode Method)"); 318 320 MHCamera disp13 (geomcam, "Cal;PINDiodeConv", "Conversion Factor (PIN Diode Method)"); 319 321 MHCamera disp14 (geomcam, "Cal;PINDiodeFFactor","Total F-Factor (PIN Diode Method)"); … … 416 418 disp8.SetYTitle("\\sqrt{N_{PhE}}*\\sigma_{Charge}/\\mu_{Charge} [1]"); 417 419 418 disp9.SetYTitle(" Nr. Photons [1]");420 disp9.SetYTitle("Photon flux [ph/mm^2]"); 419 421 disp10.SetYTitle("Conversion Factor [Phot/FADC Count]"); 420 422 disp11.SetYTitle("\\sqrt{N_{Ph}}*\\sigma_{Charge}/\\mu_{Charge} [1]"); 421 423 422 disp12.SetYTitle(" Nr. Photons [1]");424 disp12.SetYTitle("Photon flux [ph/mm^2]"); 423 425 disp13.SetYTitle("Conversion Factor [Phot/FADC Count]"); 424 426 disp14.SetYTitle("\\sqrt{N_{Ph}}*\\sigma_{Charge}/\\mu_{Charge} [1]"); … … 465 467 // F-Factor Method 466 468 TCanvas &c4 = display->AddTab("F-Factor"); 467 c4.Divide( 3,3);468 469 CamDraw(c4, disp6,calcam,1, 3, 2);470 CamDraw(c4, disp7,calcam,2, 3, 2);471 CamDraw(c4, disp8,calcam,3, 3 , 2);469 c4.Divide(2,3); 470 471 CamDraw(c4, disp6,calcam,1, 2 , 2); 472 CamDraw(c4, disp7,calcam,2, 2 , 2); 473 // CamDraw(c4, disp8,calcam,3, 3 , 2); 472 474 473 475 // Blind Pixel Method
Note:
See TracChangeset
for help on using the changeset viewer.