Changeset 3519 for trunk/MagicSoft


Ignore:
Timestamp:
03/16/04 10:59:07 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mastro
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mastro/MAstroCamera.cc

    r3518 r3519  
    316316        }
    317317
    318     MAstroCatalog::ExecuteEvent(event, mp1, mp2);
    319 }
     318    MAstroCatalog::EventInfo(event, mp1, mp2);
     319    //MAstroCatalog::ExecuteEvent(event, mp1, mp2);
     320}
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc

    r3487 r3519  
    561561void MAstroCatalog::Paint(Option_t *o)
    562562{
    563     if (!gPad->IsBatch())
    564         gVirtualX->ClearWindow();
     563//    if (!gPad->IsBatch())
     564//        gVirtualX->ClearWindow();
    565565
    566566    if (TestBit(kHasChanged))
     
    643643     gPad->Range(-edge, -edge, edge, edge);
    644644
    645      cout << gPad->GetWw() << " " << gPad->GetWh() << endl;
    646 
    647645     const Float_t w = gPad->GetWw();
    648646     const Float_t h = gPad->GetWh();
     
    666664    clk.Print();
    667665
     666    // Append to a possible second pad
     667    if (!gPad->GetListOfPrimitives()->FindObject(this))
     668        AppendPad(o);
     669
    668670    // Append all objects to pad
    669671    DrawMap();
     
    674676void MAstroCatalog::Draw(Option_t *o)
    675677{
    676     TObject::Draw(o);
     678    // Append to first pad
     679    AppendPad(o);
    677680
    678681    if (!TestBit(kHasChanged))
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.h

    r3487 r3519  
    193193    void Draw(Option_t *o="");
    194194
    195     void EventInfo(Int_t event, Int_t px, Int_t py, TObject *selected);
     195    void EventInfo(Int_t event, Int_t px, Int_t py, TObject *selected=0);
    196196
    197197    ClassDef(MAstroCatalog, 1)
Note: See TracChangeset for help on using the changeset viewer.