Ignore:
Timestamp:
10/22/18 20:50:24 (6 years ago)
Author:
tbretz
Message:
Fixed some minor issues with the cling based interpreter - this should not have any effect at runtime maybe except stability
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/processing/fillratescan.C

    r18204 r19266  
    299299    }
    300300    vars += Form("fNight=%d, ",           MTime(tbeg.GetMjd()-1).GetNightAsInt());
    301     vars += Form("fRatescanID=%d, ",      d.id);
     301    vars += Form("fRatescanID=%lld, ",    d.id);
    302302    vars += Form("fTimeBegin='%s', ",     beg.Data());
    303303    vars += Form("fTimeEnd='%s', ",       end.Data());
     
    340340        return -1;
    341341        */
    342     Double_t  *ptime   = file.SetPtrAddress("Time");
    343     ULong64_t *pid     = file.SetPtrAddress(old ? "Data0" : "Id");
    344     UInt_t    *pth     = file.SetPtrAddress(old ? "Data1" : "Threshold");
    345     Float_t   *ptrig   = file.SetPtrAddress(old ? "Data4" : "TriggerRate");
    346     Float_t   *pontime = file.SetPtrAddress(old ? "Data3" : "RelOnTime");
     342    Double_t  *ptime   = (Double_t*) file.SetPtrAddress("Time");
     343    ULong64_t *pid     = (ULong64_t*)file.SetPtrAddress(old ? "Data0" : "Id");
     344    UInt_t    *pth     = (UInt_t*)   file.SetPtrAddress(old ? "Data1" : "Threshold");
     345    Float_t   *ptrig   = (Float_t*)  file.SetPtrAddress(old ? "Data4" : "TriggerRate");
     346    Float_t   *pontime = (Float_t*)  file.SetPtrAddress(old ? "Data3" : "RelOnTime");
    347347
    348348    if (!ptime || !pid || !pth || !ptrig || !pontime)
    349         return;
     349        return kFALSE;
    350350
    351351    Double_t  &time   = *ptime;
Note: See TracChangeset for help on using the changeset viewer.