From 1a61a6565d188db3a8412d3e279d122a86f315d9 Mon Sep 17 00:00:00 2001 From: nemu Date: Fri, 14 Mar 2008 14:05:28 +0000 Subject: [PATCH] adopted to the new TLemRunHeader --- src/classes/PRunDataHandler.cpp | 2 +- src/include/PMusr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/PRunDataHandler.cpp b/src/classes/PRunDataHandler.cpp index 628871ed..dbdcfe61 100644 --- a/src/classes/PRunDataHandler.cpp +++ b/src/classes/PRunDataHandler.cpp @@ -332,7 +332,7 @@ bool PRunDataHandler::ReadRootFile() int noOfHistos = runHeader->GetNHist(); // get t0's - Int_t *t0 = runHeader->GetTimeZero(); + Double_t *t0 = runHeader->GetTimeZero(); // check if t0's are there if (t0[0] != -1) { // ugly, but at the moment there is no other way // copy t0's so they are not lost diff --git a/src/include/PMusr.h b/src/include/PMusr.h index a7f7e15b..ea2586b2 100644 --- a/src/include/PMusr.h +++ b/src/include/PMusr.h @@ -132,7 +132,7 @@ typedef struct { double fField; ///< magnetic field value double fTemp; ///< temperature during the run double fTimeResolution; ///< time resolution of the run - vector fT0s; ///< vector of t0's of a run + PDoubleVector fT0s; ///< vector of t0's of a run vector fDataBin; ///< vector of all histos of a run } PRawRunData;