Changeset 19266 for trunk/Mars/fact/processing/fillratescan.C
- Timestamp:
- 10/22/18 20:50:24 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/processing/fillratescan.C
r18204 r19266 299 299 } 300 300 vars += Form("fNight=%d, ", MTime(tbeg.GetMjd()-1).GetNightAsInt()); 301 vars += Form("fRatescanID=% d, ",d.id);301 vars += Form("fRatescanID=%lld, ", d.id); 302 302 vars += Form("fTimeBegin='%s', ", beg.Data()); 303 303 vars += Form("fTimeEnd='%s', ", end.Data()); … … 340 340 return -1; 341 341 */ 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"); 347 347 348 348 if (!ptime || !pid || !pth || !ptrig || !pontime) 349 return ;349 return kFALSE; 350 350 351 351 Double_t &time = *ptime;
Note:
See TracChangeset
for help on using the changeset viewer.