From 6a7b0c733548f3360a8093e99c48fabada80378b Mon Sep 17 00:00:00 2001 From: nick Date: Tue, 11 Oct 2005 14:42:36 +0000 Subject: [PATCH] 11-oct-2005 NvE SetMJD invoked at the end of AliTimestamp::Add instead of just updating the various datamembers. In this way the TTimeStamp parameters are brought in sync with the (modified) AliTimestamp values. --- RALICE/AliTimestamp.cxx | 10 +--------- RALICE/history.txt | 3 +++ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/RALICE/AliTimestamp.cxx b/RALICE/AliTimestamp.cxx index dc346e83abd..bfba2c1fe39 100644 --- a/RALICE/AliTimestamp.cxx +++ b/RALICE/AliTimestamp.cxx @@ -873,11 +873,6 @@ void AliTimestamp::Add(Int_t d,Int_t s,Int_t ns,Int_t ps) // // Note : ps=0 is the default value. -// Int_t days=fMJD; -// Int_t secs=fJsec; -// Int_t nsec=fJns; -// Int_t psec=fJps; - Int_t days=0; Int_t secs=0; Int_t nsec=0; @@ -923,10 +918,7 @@ void AliTimestamp::Add(Int_t d,Int_t s,Int_t ns,Int_t ps) days+=d; - fMJD=days; - fJsec=secs; - fJns=nsec; - fJps=psec; + SetMJD(days,secs,nsec,psec); } /////////////////////////////////////////////////////////////////////////// Int_t AliTimestamp::GetDifference(AliTimestamp* t,Int_t& d,Int_t& s,Int_t& ns,Int_t& ps) diff --git a/RALICE/history.txt b/RALICE/history.txt index b9a7ddd3caa..a7f981923b1 100644 --- a/RALICE/history.txt +++ b/RALICE/history.txt @@ -642,3 +642,6 @@ Note : For DisplayHits this new signal correction mode replaces the marker style specification parameter. Also new memberfunction GetDevices introduced in AliEvent. +11-oct-2005 NvE SetMJD invoked at the end of AliTimestamp::Add instead of just updating the + various datamembers. In this way the TTimeStamp parameters are brought in sync + with the (modified) AliTimestamp values. -- 2.43.0