Ignore:
Timestamp:
01/14/09 12:31:37 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmain/MEventDisplay.cc

    r9017 r9219  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MEventDisplay.cc,v 1.65 2008-07-20 14:21:39 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MEventDisplay.cc,v 1.66 2009-01-14 12:31:36 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    334334        MCalibrationPatternDecode *decode = new MCalibrationPatternDecode;
    335335
    336         MPedestalSubtract *pedsub1  = new MPedestalSubtract;
    337         MPedestalSubtract *pedsub2  = new MPedestalSubtract;
     336        MPedestalSubtract *pedsub1  = new MPedestalSubtract("PedSubstract1");
     337        MPedestalSubtract *pedsub2  = new MPedestalSubtract("PedSubstract2");
    338338        pedsub2->SetNamePedestalCam();
    339339
     
    678678void MEventDisplay::ShowHide()
    679679{
    680     TGCheckButton *but1 = (TGCheckButton*)fList->FindWidget(kShowMuon);
    681     TGCheckButton *but2 = (TGCheckButton*)fList->FindWidget(kShowImgPar);
     680    TGCheckButton *but1 = (TGCheckButton*)fList->FindWidget(kShowImgPar);
     681    TGCheckButton *but2 = (TGCheckButton*)fList->FindWidget(kShowMuon);
    682682
    683683    const Bool_t imgpar = but1 && but1->IsDown();
     
    722722        for (int j=0;j<n; j++)
    723723            if (obj[j])
     724            {
    724725                if (state[j] && !list->FindObject(obj[j]))
    725726                    list->Add(obj[j]);
    726                 else
     727                if (!state[j] && list->FindObject(obj[j]))
    727728                    list->Remove(obj[j]);
     729            }
    728730
    729731        gPad->Modified(kTRUE);
     
    744746
    745747    //
    746     // Add Geometry tab
     748    // Now read event...
     749    //
     750    // FIXME: Can we safely replace ReadinEvent() by RedinEvent(1)?
     751    ReadinEvent();
     752
     753    //
     754    // After ReInit (MGeomCam might be read from RunHeaders): Add Geometry tab
    747755    //
    748756    AddGeometryTabs();
    749 
    750     //
    751     // Now read event...
    752     //
    753     // FIXME: Can we safly replace ReadinEvent() by RedinEvent(1)?
    754     ReadinEvent();
    755 
    756757
    757758    MReadTree *reader = (MReadTree*)fEvtLoop->FindTask("MRead");
Note: See TracChangeset for help on using the changeset viewer.