Ignore:
Timestamp:
01/30/04 14:27:46 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2974 r2983  
    9595    MHCamera dispped7   (geomcam, "MPedestalPix;SigmaErr", "Fitted Error of Sigma per Slice");
    9696    MHCamera dispped8   (geomcam, "MPedestalPix;Prob", "Probability of Fit");
    97     MHCamera dispped9   (geomcam, "MPedestalPix;DeltaPedestalMean", "Pedestal minus Fitted Mean per Slice");
    98     MHCamera dispped10  (geomcam, "MPedestalPix;DeltaPedestalMeanError", "Pedestal minus Fitted Mean (Error)");
    99     MHCamera dispped11  (geomcam, "MPedestalPix;DeltaRmsSigma", "Pedestal RMS minus Fitted Sigma per Slice");
    100     MHCamera dispped12  (geomcam, "MPedestalPix;DeltaRmsSigmaError", "Pedestal RMS minus Fitted Sigma (Error)");
     97    MHCamera dispped9   (geomcam, "MPedestalPix;DeltaPedestalMean", "Rel. Diff. Mean per Slice (Calc.-Fitte)");
     98    MHCamera dispped11  (geomcam, "MPedestalPix;DeltaPedestalMeanError", "Rel. Diff. Mean Error per Slice (Calc.-Fitted)");
     99    MHCamera dispped12  (geomcam, "MPedestalPix;DeltaRmsSigma", "Rel. Diff. RMS per Slice (Calc.-Fitted)");
     100    MHCamera dispped14  (geomcam, "MPedestalPix;DeltaRmsSigmaError", "Rel. Diff. RMS Error per Slice (Calc.-Fitted)");
    101101
    102102    dispped0.SetCamContent(pedcam, 0);
     
    115115    dispped9.SetCamContent(pedcam, 9);
    116116    dispped9.SetCamError(pedcam, 10);
    117     dispped10.SetCamContent(pedcam, 10);
    118117    dispped11.SetCamContent(pedcam, 11);
    119     dispped11.SetCamError(pedcam, 12);
    120118    dispped12.SetCamContent(pedcam, 12);
    121 
    122     dispped0.SetYTitle("Pedestal per slice [FADC counts]");
    123     dispped1.SetYTitle("Pedestal Error per slice [FADC counts]");
    124     dispped2.SetYTitle("Pedestal RMS per slice [FADC counts]");
    125     dispped3.SetYTitle("Pedestal RMS Error per slice [FADC counts]");
    126     dispped4.SetYTitle("Mean Pedestal per slice [FADC counts]");
    127     dispped5.SetYTitle("Error of Mean Pedestal per slice [FADC counts]");
    128     dispped6.SetYTitle("Sigma Pedestal per slice [FADC counts]");
    129     dispped7.SetYTitle("Error of Sigma Pedestal per slice [FADC counts]");
     119    dispped12.SetCamError(pedcam, 13);
     120    dispped14.SetCamContent(pedcam, 14);
     121
     122    dispped0.SetYTitle("Calc. Pedestal per slice [FADC counts]");
     123    dispped1.SetYTitle("Calc. Pedestal Error per slice [FADC counts]");
     124    dispped2.SetYTitle("Calc. Pedestal RMS per slice [FADC counts]");
     125    dispped3.SetYTitle("Calc. Pedestal RMS Error per slice [FADC counts]");
     126    dispped4.SetYTitle("Fitted Mean per slice [FADC counts]");
     127    dispped5.SetYTitle("Error of Fitted Mean per slice [FADC counts]");
     128    dispped6.SetYTitle("Fitted Sigma per slice [FADC counts]");
     129    dispped7.SetYTitle("Error of Fitted Sigma per slice [FADC counts]");
    130130    dispped8.SetYTitle("Fit Probability [1]");
    131     dispped9.SetYTitle("Pedestal-Mean per slice [FADC counts]");
    132     dispped10.SetYTitle("Pedestal-Mean Error per slice [FADC counts]");
    133     dispped11.SetYTitle("RMS-Sigma per slice [FADC counts]");
    134     dispped12.SetYTitle("RMS-Sigma Error per slice [FADC counts]");
     131    dispped9.SetYTitle("Rel. Diff. Pedestal Calc.-Fitted per slice [1]");
     132    dispped11.SetYTitle("Rel. Diff. Pedestal Error Calc.-Fitted per slice [1]");
     133    dispped12.SetYTitle("Rel. Diff. Pedestal RMS Calc.-Fitted per slice [1]");
     134    dispped14.SetYTitle("Rel. Diff. Pedestal RMS Error Calc.-Fitted per slice [1]");
    135135
    136136    gStyle->SetOptStat(1111);
     
    138138   
    139139    // Histogram values
    140     TCanvas &b1 = d1->AddTab("Pedestals");
     140    TCanvas &b1 = d1->AddTab("Direct Calculation");
    141141    b1.Divide(4,3);
    142142
    143143    CamDraw(b1,dispped0,pedcam,1,4,0);
    144     CamDraw(b1,dispped1,pedcam,2,4,1);
    145     CamDraw(b1,dispped2,pedcam,3,4,1);
    146     CamDraw(b1,dispped3,pedcam,4,4,1);
     144    CamDraw(b1,dispped1,pedcam,2,4,2);
     145    CamDraw(b1,dispped2,pedcam,3,4,2);
     146    CamDraw(b1,dispped3,pedcam,4,4,2);
    147147
    148148    // Fitted values
    149     TCanvas &b2 = d1->AddTab("Means");
     149    TCanvas &b2 = d1->AddTab("Fits");
    150150    b2.Divide(4,3);
    151151
     
    163163
    164164    // Differences
    165     TCanvas &c4 = d1->AddTab("Differences");
     165    TCanvas &c4 = d1->AddTab("Relative Difference Calculation-Fits");
    166166    c4.Divide(4,3);
    167167
    168168    CamDraw(c4,dispped9,pedcam,1,4,1);
    169     CamDraw(c4,dispped10,pedcam,2,4,1);
    170     CamDraw(c4,dispped11,pedcam,3,4,1);
    171     CamDraw(c4,dispped12,pedcam,4,4,1);
     169    CamDraw(c4,dispped11,pedcam,2,4,1);
     170    CamDraw(c4,dispped12,pedcam,3,4,1);
     171    CamDraw(c4,dispped14,pedcam,4,4,1);
    172172
    173173    //
     
    247247    MCalibrationBlindPix *bp = calcam.GetBlindPixel();
    248248    //    bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPolya);
    249     bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPoisson5);
     249    //    bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPoisson4);
    250250
    251251    tlist2.AddToList(&read2);
Note: See TracChangeset for help on using the changeset viewer.