Ignore:
Timestamp:
02/10/04 22:45:23 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/calibration.C

    r3060 r3084  
    219219    MArrivalTimeCalc     timecalc;
    220220    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);
    221228
    222229    //
     
    241248    // (This is a preliminary feature)
    242249    //
    243     //calcalc.ExcludePixelsFromAsciiFile("badpixels_all.dat");
     250   calcalc.ExcludePixelsFromAsciiFile("badpixels.dat");
    244251   
    245252    //
     
    248255    //
    249256    // calcalc.SkipBlindPixelFit();
    250 
    251     //
    252     // In case, you want to skip the cosmics rejection
    253     // (NOT RECOMMENDED!!!)
    254     //
    255     // calcalc.SkipCosmicsRejection();
    256257
    257258    //
     
    276277    //
    277278    //    tlist2.AddToList(&timecalc);
     279    tlist2.AddToList(&cont);
    278280    tlist2.AddToList(&calcalc);
    279281
     
    301303    // just one example how to get the plots of individual pixels
    302304    //
    303     calcam[356].DrawClone();
     305    calcam[543].DrawClone();
    304306
    305307    // Create histograms to display
     
    312314    MHCamera disp7  (geomcam, "Cal;FFactorConv",    "Conversion Factor (F-Factor Method)");
    313315    MHCamera disp8  (geomcam, "Cal;FFactorFFactor", "Total F-Factor (F-Factor Method)");
    314     MHCamera disp9  (geomcam, "Cal;BlindPixPh",     "Nr. of Photons inside plexiglass (Blind Pixel Method)");
     316    MHCamera disp9  (geomcam, "Cal;BlindPixPh",     "Photon flux inside plexiglass (Blind Pixel Method)");
    315317    MHCamera disp10 (geomcam, "Cal;BlindPixConv",   "Conversion Factor (Blind Pixel Method)");
    316318    MHCamera disp11 (geomcam, "Cal;BlindPixFFactor","Total F-Factor (Blind Pixel Method)");
    317     MHCamera disp12 (geomcam, "Cal;PINDiodePh",     "Nr. of Photons outside plexiglass (PIN Diode Method)");
     319    MHCamera disp12 (geomcam, "Cal;PINDiodePh",     "Photon flux outside plexiglass (PIN Diode Method)");
    318320    MHCamera disp13 (geomcam, "Cal;PINDiodeConv",   "Conversion Factor (PIN Diode Method)");
    319321    MHCamera disp14 (geomcam, "Cal;PINDiodeFFactor","Total F-Factor (PIN Diode Method)");
     
    416418    disp8.SetYTitle("\\sqrt{N_{PhE}}*\\sigma_{Charge}/\\mu_{Charge} [1]");
    417419
    418     disp9.SetYTitle("Nr. Photons [1]");
     420    disp9.SetYTitle("Photon flux [ph/mm^2]");
    419421    disp10.SetYTitle("Conversion Factor [Phot/FADC Count]");
    420422    disp11.SetYTitle("\\sqrt{N_{Ph}}*\\sigma_{Charge}/\\mu_{Charge} [1]");
    421423
    422     disp12.SetYTitle("Nr. Photons [1]");
     424    disp12.SetYTitle("Photon flux [ph/mm^2]");
    423425    disp13.SetYTitle("Conversion Factor [Phot/FADC Count]");
    424426    disp14.SetYTitle("\\sqrt{N_{Ph}}*\\sigma_{Charge}/\\mu_{Charge} [1]");
     
    465467    // F-Factor Method
    466468    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);
    472474
    473475    // Blind Pixel Method
Note: See TracChangeset for help on using the changeset viewer.