Hi, you could just write a TDatime to your file and set this object to any date you want. Have a look at http://root.cern.ch/root/html/TDatime.html for information on this class. Cheers, Axel. > -----Original Message----- > From: owner-roottalk@pcroot.cern.ch > [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jayoung Wu > Sent: Thursday, May 03, 2001 9:03 AM > To: Rene Brun > Cc: roottalk@pcroot.cern.ch > Subject: Re: [ROOT] add Time Stamp to a root file > > > Thanks Rene! > > The date and time information seems to be determined automatically by > system clock. How about the case I want to put any arbitrary information > to at the beginning of the file? > > --- > Jayoung > > > > > On Wed, 2 May 2001, Rene Brun wrote: > > > Hi Jayoung, > > The date and time information is already in the file header (see > > TDirectory class). However, I see that we have no getters to > retrieve this > > information. I will add the getters. > > > > Rene > > > > On Wed, 2 May 2001, Jayoung Wu wrote: > > > > > > > > Hi ROOTers, > > > > > > Is there any way I can put a time stamp, say 20010502, on > the begining > > > of my root file, say myfile.root. > > > > > > --- > > > Thanks:) > > > Jayoung > > > > > > > > > > > > > > > > > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:44 MET