Changeset 6839


Ignore:
Timestamp:
03/16/05 19:15:26 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6838 r6839  
    3535     - rearanged the too MWriteRootFile instantiations otherwise
    3636       callisto crashes in MWriteRootFile::ChangeFile
     37     - removed some obsolete comments about an old MC workaround
    3738
    3839   * mdata/MDataChain.cc:
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r6838 r6839  
    543543
    544544    //
    545     // This is new calibration to eff. photo-electrons, hard-coded as decided
    546     // at the Wuerzburg software meeting 26.01.05
     545    // This is new calibration to photo-electrons, hard-coded
     546    // as decided at the Wuerzburg software meeting 26.01.05
    547547    //
    548548    MCalibrateData calib;
    549549    calib.SetSignalType(MCalibrateData::kPhe);
    550     //----- WORKAROUND: Currently MC has no lo-gain switch ------
    551     //if (IsUseMC()) // MC file
    552     //{
    553     //    calib.SetCalibrationMode(MCalibrateData::kFfactor);
    554     //    calib.SetPedestalFlag(MCalibrateData::kRun);
    555     //    // FIXME: What to do for MC files???
    556     //    calib.AddPedestal("MPedestalCam", "MPedPhotFundamental");
    557     //    calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractor");
    558     //    calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractorRndm");
    559     //}
    560     //else
    561     //{
    562         calib.AddPedestal("Fundamental");
    563         calib.AddPedestal("FromExtractor");
    564         calib.AddPedestal("FromExtractorRndm");
    565         calib.SetPedestalFlag(MCalibrateData::kEvent);
    566     //}
     550    calib.AddPedestal("Fundamental");
     551    calib.AddPedestal("FromExtractor");
     552    calib.AddPedestal("FromExtractorRndm");
     553    calib.SetPedestalFlag(MCalibrateData::kEvent);
    567554    //----------------------------------------------------------
    568555
     
    625612    MHCamEvent evt7(0, "Times",      "Calibrated Arrival Time;;T [fadc sl]");
    626613    MHCamEvent evt8(0, "Conv",       "Calibration Conv. Factors;;[phe/fadc cnts]");
     614    //MHCamEvent evt9(0, "PulsePos",   "Pulse Position of cosmics"); //Calibration Conv. Factors;;[phe/fadc cnts]
    627615
    628616    evt0.EnableSqrtVariance();
     
    644632    MFillH fill7(&evt7, "MArrivalTime",            "FillTimes");
    645633    MFillH fill8(&evt8, "MCalibConstCam",          "FillConv");
     634    //MFillH fill9(&evt9, "MCalibConstCam",          "FillPulse");
    646635
    647636    MTaskEnv fillflorian("FinalFantasy");
     
    707696    tlist2.AddToList(&apply);
    708697    tlist2.AddToList(&merge);
    709     //----- WORKAROUND: Currently MC has no lo-gain switch ------
    710     //if (IsUseMC())
    711     //    tlist2.AddToList(&pcopy);
    712     //else
    713     //{
    714         tlist2.AddToList(&pedlo1);
    715         tlist2.AddToList(&pedlo2);
    716         tlist2.AddToList(&pedlo3);
    717     //}
     698    tlist2.AddToList(&pedlo1);
     699    tlist2.AddToList(&pedlo2);
     700    tlist2.AddToList(&pedlo3);
    718701    //-----------------------------------------------------------
    719702    if (fIsInterlaced)
     
    870853        return;
    871854
     855    MGeomCam &geomcam = *(MGeomCam*)plist.FindObject("MGeomCam");
     856
    872857    //
    873858    // Get container from list
    874859    //
    875     MGeomCam        &geomcam       = *(MGeomCam*)plist.FindObject("MGeomCam");
    876860    MCalibrationPulseTimeCam *pcam = (MCalibrationPulseTimeCam*)plist.FindObject("MCalibrationPulseTimeCam");
    877861
Note: See TracChangeset for help on using the changeset viewer.