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

Legend:

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

    r2983 r3007  
    2424
    2525const TString pedfile = "/mnt/Data/rootdata/CrabNebula/2004_01_27/20040126_12149_P_Cab-On_E.root";
    26 const TString calfile = "/mnt/Data/rootdata/CrabNebula/2004_01_27/20040126_1252*_C_Cab-On_E.root";
     26const TString calfile = "/mnt/Data/rootdata/CrabNebula/2004_01_27/20040126_12525_C_Cab-On_E.root";
    2727
    2828//const TString pedfile = "/mnt/Data/rootdata/Miscellaneous/2003_12_19/20031218_03522_P_Park_E.root";
     
    5252    MGeomApply     geomapl;
    5353    MExtractSignal sigcalc;
     54    //
     55    // We saw that the signal jumps between slices,
     56    // thus set the extraction range as high as possible
     57    // Sliding window will be implemented asap.
     58    //         
    5459    sigcalc.SetRange(1,14,1,14);
     60
    5561    MPedCalcPedRun pedcalc;
    5662    pedcalc.SetUseHists();
     
    209215    // faster results
    210216    //
    211     timecalc.SetStepSize(0.5);
     217    //    timecalc.SetStepSize(0.02);
    212218
    213219    //
     
    246252    //
    247253    MCalibrationBlindPix *bp = calcam.GetBlindPixel();
    248     //    bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPolya);
     254//    bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPolya);
    249255    //    bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPoisson4);
    250256
     
    285291    MHCamera disp3   (geomcam, "MCalibrationPix;SigmaCharge", "Sigma of Fitted Charges");
    286292    MHCamera disp5   (geomcam, "MCalibrationPix;ChargeProb", "Probability of Fit");
    287     MHCamera disp6   (geomcam, "MCalibrationPix;Time", "Arrival Times");
    288     MHCamera disp7   (geomcam, "MCalibrationPix;SigmaTime", "Sigma of Arrival Times");
    289     MHCamera disp8   (geomcam, "MCalibrationPix;TimeChiSquare", "Chi Square of Time Fit");
     293    MHCamera disp6   (geomcam, "MCalibrationPix;Time", "Rel. Arrival Times");
     294    MHCamera disp7   (geomcam, "MCalibrationPix;SigmaTime", "Sigma of Rel. Arrival Times");
     295    MHCamera disp8   (geomcam, "MCalibrationPix;TimeProb", "Probability of Time Fit");
    290296    MHCamera disp9   (geomcam, "MCalibrationPix;Ped", "Pedestals");
    291297    MHCamera disp10  (geomcam, "MCalibrationPix;PedRms", "Pedestal RMS");
     
    333339    disp3.SetYTitle("\\sigma_{Charge} [FADC counts]");
    334340    disp5.SetYTitle("P_{Charge} [1]");
    335     disp6.SetYTitle("Arr. Time [Time Slice Nr.]");
    336     disp7.SetYTitle("\\sigma_{Time} [Time Slices]");
    337     disp8.SetYTitle("\\chi^{2}_{Time} [1]");
     341    disp6.SetYTitle("Arr. Time [ns]");
     342    disp7.SetYTitle("\\sigma_{Time} [ns]");
     343    disp8.SetYTitle("P_{Time} [1]");
    338344    disp9.SetYTitle("Ped [FADC Counts ]");
    339345    disp10.SetYTitle("RMS_{Ped} [FADC Counts ]");
     
    366372
    367373    // Times
    368     TCanvas &c3 = d3->AddTab("Fitted Times");
     374    TCanvas &c3 = d3->AddTab("Fitted Rel. Times");
    369375    c3.Divide(3,3);
    370376
    371377    CamDraw(c3,disp6,calcam,1,3,1);
    372     CamDraw(c3,disp7,calcam,2,3,0);
     378    CamDraw(c3,disp7,calcam,2,3,1);
    373379    CamDraw(c3,disp8,calcam,3,3,0);
    374380
Note: See TracChangeset for help on using the changeset viewer.