Changeset 6037 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/27/05 10:29:40 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6034 r6037  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22 2005/01/27 Daniel Mazin and Markus Gaug
     23
     24   * mpointing/MInterpolatePointingPos.[h,cc]
     25     new class to interpolate pointing positions, adapted from a class
     26     by Marcos Lopez
     27
     28   * mjobs/MJCalibrateSignal.[h,cc]
     29     enabled the calibration of data with interlaced calibration events     
     30
     31
    2232 2005/01/27 Thomas Bretz
    2333
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r6035 r6037  
    269269    MHCalibrationRelTimeCam     hrelcam;
    270270
    271     hchacam.SetLoGain(kTRUE);
    272     hchacam.SetOscillations(kFALSE);
    273     hrelcam.SetOscillations(kFALSE);
    274 
    275271    interlacedcont.Add(&hchacam);
    276272    interlacedcont.Add(&hbndcam);
     
    305301    if (!ReadCalibration(calibcont, badpix, extractor1, extractor2, geom))
    306302        return kFALSE;
    307 
    308     badpix.Print();
    309303
    310304    *fLog << all;
     
    383377
    384378    MInterpolatePointingPos pextr;
    385 //    pextr.SetDebug();  // take it out
    386379    pextr.AddFiles(&iter);
    387380   
     
    404397    MFTriggerPattern ftp;
    405398    ftp.RequireCalibration();
    406     //    ftp.RequireCalibration(kTRUE);
    407399    //    ftp.DenyCalibration();
    408400    //    ftp.DenyPedestal();
     
    539531    MHCamEvent evt1(2, "PedRmsFLG",   "Pedestal RMS from Lo Gain;;\\sigma_{p} [fadc/sl]");
    540532    MHCamEvent evt2(0, "Extra'd",     "Extracted Signal;;S [fadc/sl]");
    541     MHCamEvent evt3(4, "PedPhot",     "Calibrated Pedestal;;P [\\gamma]");
     533    //    MHCamEvent evt3(4, "PedPhot",     "Calibrated Pedestal;;P [\\gamma]");
    542534    MHCamEvent evt4(5, "PedRMS",      "Calibrated Pedestal RMS;;\\sigma_{p} [\\gamma]");
    543535    MHCamEvent evt5(0, "Interp'd",    "Interpolated Signal;;S [\\gamma]");
    544     MHCamEvent evt6(2, "Unsuitable",  "Unsuitable event ratio;;%");
     536    MHCamEvent evt6(2, "Unsuitable",  "Fraction of unsuitable events per Pixel;;[1]");
    545537    MHCamEvent evt7(0, "Times",       "Arrival Time;;T [slice]");
    546538    //    MHCamEvent evt8(0, "HiLoConv",    "Ratio Hi-Lo Gain Signal;;Ratio [1]");
     
    550542    evt1.EnableVariance();
    551543    evt2.EnableVariance();
    552     evt3.EnableVariance();
     544    // evt3.EnableVariance();
    553545    evt4.EnableVariance();
    554546    evt5.EnableVariance();
     
    560552    MFillH fill1(&evt1, "MPedestalFromExtractor", "FillPedRmsFLG");
    561553    MFillH fill2(&evt2, "MExtractedSignalCam",    "FillExtracted");
    562     MFillH fill3(&evt3, "MPedPhotFundamental",    "FillPedPhot");
     554    // MFillH fill3(&evt3, "MPedPhotFundamental",    "FillPedPhot");
    563555    MFillH fill4(&evt4, "MPedPhotFromExtractor",  "FillPedRMS");
    564556    MFillH fill5(&evt5, "MCerPhotEvt",            "FillInterpolated");
    565557    MFillH fill6(&evt6, "MBadPixelsCam",          "FillUnsuitable");
    566558    MFillH fill7(&evt7, "MArrivalTime",           "FillTimes");
    567     //    MFillH fill8(&evt8, "MCalibrationHiLoCam",    "FillRatio");
    568     //    MFillH fill9(&evt9, "MCalibrationHiLoCam",    "FillDiff");
    569559
    570560    // The second rule is for the case reading raw-files!
     
    673663    tlist2.AddToList(&treat);
    674664    tlist2.AddToList(&fill6);
    675     tlist2.AddToList(&fill3);
     665    //    tlist2.AddToList(&fill3);
    676666    tlist2.AddToList(&fill4);
    677667    tlist2.AddToList(&fill5);
     
    679669        tlist2.AddToList(&fill7);
    680670
    681     if (fIsHiLoCalibration)
    682       {
    683         //      tlist2.AddToList(&fill8);
    684         //      tlist2.AddToList(&fill9);
    685       }
    686671    // Setup List for Drive-tree
    687     MPointingPosCalc pcalc;
     672    //    MPointingPosCalc pcalc;
    688673
    689674    // Now setup main tasklist
    690675    tlist.AddToList(IsDataCheck() ? (MTask*)&rawread : (MTask*)&readreal);
    691     tlist2.AddToList(&pextr);
     676    if (!IsDataCheck())
     677      tlist2.AddToList(&pextr);
    692678    tlist.AddToList(&tlist2, IsDataCheck()?"All":"Events");
    693679
  • trunk/MagicSoft/Mars/mpointing/Makefile

    r4826 r6037  
    2020#
    2121INCLUDES = -I. -I../mbase -I../mraw -I../mreport -I../mmc \
    22            -I../mastro -I../mgeom
     22           -I../mastro -I../mgeom -I../mfileio
    2323
    2424SRCFILES = MPointing.cc \
    2525           MPointingPos.cc \
    2626           MPointingPosCalc.cc \
     27           MInterpolatePointingPos.cc \
    2728           MSrcPosCam.cc \
    2829           MSrcPosCalc.cc \
  • trunk/MagicSoft/Mars/mpointing/PointingLinkDef.h

    r4966 r6037  
    99#pragma link C++ class MPointingPos+;
    1010#pragma link C++ class MPointingPosCalc+;
     11#pragma link C++ class MInterpolatePointingPos+;
    1112
    1213#pragma link C++ class MSrcPosCam+;
Note: See TracChangeset for help on using the changeset viewer.