]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
11-oct-2005 NvE SetMJD invoked at the end of AliTimestamp::Add instead of just updati...
authornick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Oct 2005 14:42:36 +0000 (14:42 +0000)
committernick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Oct 2005 14:42:36 +0000 (14:42 +0000)
                various datamembers. In this way the TTimeStamp parameters are brought in sync
                with the (modified) AliTimestamp values.

RALICE/AliTimestamp.cxx
RALICE/history.txt

index dc346e83abd04570849ddd8dbad796298f3f917b..bfba2c1fe395f8ba7b2585627f6b8888ffb1d0b1 100644 (file)
@@ -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)
index b9a7ddd3caacfc6b8df44913a3c71359fc2760e1..a7f981923b1a9769c697cd3a6db3e7bf7053d931 100644 (file)
                 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.