Changeset 20000 for trunk


Ignore:
Timestamp:
11/13/20 03:43:08 (4 years ago)
Author:
tbretz
Message:
A fix for root 6.14
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/hawc/ratescan.C

    r19730 r20000  
    44
    55MStatusDisplay *d = new MStatusDisplay;
    6 TList list[11];
     6TList runlist[11];
    77
    88void plot(const char *tab, const char *title="")
     
    2828    for (int i=0; i<8; i++)
    2929    {
    30         TGraph *g = (TGraph*)list[i+3].FindObject(id);
     30        TGraph *g = (TGraph*)runlist[i+3].FindObject(id);
    3131        if (!g)
    3232        {
     
    4747    for (int i=0; i<2; i++)
    4848    {
    49         TGraph *g = (TGraph*)list[i+1].FindObject(id);
     49        TGraph *g = (TGraph*)runlist[i+1].FindObject(id);
    5050        if (!g)
    5151        {
     
    6565
    6666
    67     TGraph *g001 = (TGraph*)list[0].FindObject(id);
     67    TGraph *g001 = (TGraph*)runlist[0].FindObject(id);
    6868    if (!g001)
    6969    {
     
    128128                g[i]->SetTitle(t.GetStringFmt("%H:%M:%S"));
    129129
    130                 list[i].Add(g[i]);
     130                runlist[i].Add(g[i]);
    131131            }
    132132        }
Note: See TracChangeset for help on using the changeset viewer.