Changeset 3217 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
02/17/04 18:14:30 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3215 r3217  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6
     7 2004/01/17: Abelardo Moralejo
     8
     9   * macros/readrfl.C
     10     - Added missing gPad->cd(1), otherwise the display of events was
     11       not updated.
    612
    713 2004/01/17: Raquel de los Reyes
  • trunk/MagicSoft/Mars/macros/readrfl.C

    r2229 r3217  
    5353}
    5454
    55 void readrfl(int runno=-1, int evtno=-1, const char *fname="Gamma_zbin1_0_7_1140_w0.rfl")
     55void readrfl(int runno=-1, int evtno=-1, const char *fname="Gamma_zbin0_90_7_50700to50704_w0.rfl")
    5656{
    5757    MParList plist;
     
    8282    event.Draw();
    8383
     84    gPad->cd(1);
     85
     86
    8487    cout << "Runno: " << runno << "  Eventno: " << evtno << endl;
    8588
     
    9194        cout << "Event #" << evthead.GetEvtNumber() << endl;
    9295
    93         display.SetCamContent(event);
    94         gPad->Modified();
    95         gPad->Update();
     96        display.SetCamContent(event);
     97
     98        gPad->Modified();
     99        gPad->Update();
     100       
    96101        if (!HandleInput())
    97102            break;
Note: See TracChangeset for help on using the changeset viewer.