diff --git a/reco/base/CbmRecoUnpackAlgo.tmpl b/reco/base/CbmRecoUnpackAlgo.tmpl index 639dfd15534f99001859b6d07363ff2e8d6f187b..594075b390ea06eb851df329ac9b68292cfea08e 100644 --- a/reco/base/CbmRecoUnpackAlgo.tmpl +++ b/reco/base/CbmRecoUnpackAlgo.tmpl @@ -347,7 +347,7 @@ public: void SetParFilesBasePath(std::string value) { fParFilesBasePath = value; } /** @brief Set the global system time offset @remark in princible this should go to parameters */ - void SetSystemTimeOffset(size_t value) { fSystemTimeOffset = value; } + void SetSystemTimeOffset(int32_t value) { fSystemTimeOffset = value; } /** @brief Set the start time of the current TS */ void SetTsStartTime(size_t value) { fTsStartTime = value; } diff --git a/reco/base/CbmRecoUnpackConfig.tmpl b/reco/base/CbmRecoUnpackConfig.tmpl index 9f16717fe200858b75e65da19257b4fbc7014910..421c709ec82d165e4f30197f9df978c24b4597bb 100644 --- a/reco/base/CbmRecoUnpackConfig.tmpl +++ b/reco/base/CbmRecoUnpackConfig.tmpl @@ -101,7 +101,11 @@ protected: /** @brief Decision if the info msgs are supposed to be stored to a branch. */ bool fIsMC = false; - size_t fSystemTimeOffset = 0; + /** + * @brief Time offset for the system + * @todo This should be module and channel dependent and included into the asic parameters + */ + int32_t fSystemTimeOffset = 0; /** @brief Use this function to implement additional actions to be called once per TS, e.g. needed if more than the default output vector is used. */ virtual void reset() { return; }; @@ -156,7 +160,7 @@ public: void Init(FairRootManager* ioman) { LOG(info) << fName << "::Init() ---------------------------------"; - + if (fDoWriteOutput) { fOutputVec = new std::vector<TOutput>(); @@ -269,7 +273,7 @@ public: void SetParFilesBasePath(std::string value) { fParFilesBasePath = value; } /** @brief Set the global system time offset @remark in princible this should go to parameters */ - void SetSystemTimeOffset(size_t value) { fSystemTimeOffset = value; } + void SetSystemTimeOffset(int32_t value) { fSystemTimeOffset = value; } protected: /**