Changeset 8363


Ignore:
Timestamp:
03/04/07 13:49:06 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r8360 r8363  
    625625    MFillH fillR(&evtR, "MExtractedSignalCam",           "FillHiLoCal");
    626626    MFillH fillO(&evtO, "MArrivalTimeCam",               "FillHiLoOff");
     627
     628    if (!extractor1->HasLoGain())
     629    {
     630        fill0.SetFilter(&ftp2);
     631        fill1.SetFilter(&ftp2);
     632    }
    627633
    628634    MTaskEnv fillflorian("FinalFantasy");
  • trunk/MagicSoft/Mars/mmain/MEventDisplay.cc

    r8339 r8363  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MEventDisplay.cc,v 1.58 2007-03-01 17:39:59 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MEventDisplay.cc,v 1.59 2007-03-04 13:49:05 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    225225    MHEvent *evt06a= new MHEvent(MHEvent::kEvtCleaningData);
    226226    MHEvent *evt06b= new MHEvent(MHEvent::kEvtCleaningLevels);
    227     MHEvent *evt07 = new MHEvent(MHEvent::kEvtIdxMax);
     227    //MHEvent *evt07 = new MHEvent(MHEvent::kEvtIdxMax);
    228228    MHEvent *evt08 = new MHEvent(MHEvent::kEvtArrTime);
    229229    MHEvent *evt09 = new MHEvent(MHEvent::kEvtArrTimeCleaned);
     
    237237    evt06a->SetName("CleanData");
    238238    evt06b->SetName("Levels");
    239     evt07->SetName("MaxSliceIdx");
     239    //evt07->SetName("MaxSliceIdx");
    240240    evt08->SetName("ArrTime");
    241241    evt09->SetName("Time");
     
    254254    plist->AddToList(evt06a);
    255255    plist->AddToList(evt06b);
    256     plist->AddToList(evt07);
     256    //plist->AddToList(evt07);
    257257    plist->AddToList(evt08);
    258258    plist->AddToList(evt09);
     
    300300        MCalibrationPatternDecode *decode = new MCalibrationPatternDecode;
    301301
     302        MPedestalSubtract *pedsub1  = new MPedestalSubtract;
     303        MPedestalSubtract *pedsub2  = new MPedestalSubtract;
     304        pedsub2->SetNamePedestalCam();
     305
    302306        MMcCalibrationUpdate* mcupd = new MMcCalibrationUpdate;
    303307        mcupd->SetOuterPixelsGainScaling(kFALSE);
     
    307311        calib->SetPedestalFlag(MCalibrateData::kEvent);
    308312
    309         MPedestalSubtract *pedsub = new MPedestalSubtract;
    310         pedsub->SetNamePedestalCam();
    311         //MCalibrationRelTimeCalc *tcalc = new MCalibrationRelTimeCalc;
     313        // MPedestalCam is extracted using the simple MSignalCalc!
    312314
    313315        // MC
     
    322324        tlist->AddToList(decode);
    323325
    324         tlist->AddToList(pedsub);
    325 
    326         tlist->AddToList(nanal);    // Calculated MPedPhotCam
     326        tlist->AddToList(pedsub1);   // Produce arrays
     327        tlist->AddToList(nanal);     // Estimate pedestal!
     328        tlist->AddToList(pedsub2);   // subtract pedestal
     329
    327330        tlist->AddToList(taskenv1); // Calculates MExtractedSignalCam, MArrivalTimeCam
    328331        tlist->AddToList(mcupd);
     
    344347    if (type==2)
    345348    {
    346         MFillH *fill07 = new MFillH(evt07, "MRawEvtData",     "MFillH7");
     349        //MFillH *fill07 = new MFillH(evt07, "MRawEvtData",     "MFillH7");
    347350        MFillH *fill08 = new MFillH(evt08, "MArrivalTimeCam", "MFillH8");
    348         tlist->AddToList(fill07);
     351        //tlist->AddToList(fill07);
    349352        tlist->AddToList(fill08);
    350353
Note: See TracChangeset for help on using the changeset viewer.