TFile reproducibility

In my understanding,
it’s impossibile to create two identical (same size and crc) TFiles,
because datetimes of object creations are stored.

Is it possible to disable this behaviour?
I’m interested in perfect reproducibility of my files.

Thanks
Yawn

Hi,

A priori the size of the file should be unaffected by the timestamp (as the meta data timestamp are not compressed) unless your own data. There is currently no way to ‘remove’ the timestamp in the meta data (short of changing your machine clock time).

Philippe.

[quote=“pcanal”]Hi,

A priori the size of the file should be unaffected by the timestamp (as the meta data timestamp are not compressed) unless your own data. There is currently no way to ‘remove’ the timestamp in the meta data (short of changing your machine clock time).

Philippe.[/quote]

Does the timestamp always live in exactly the same place in the file? Could one write a simple program to just set the timestamp to another value?

(Just curious :slight_smile: )

Cheers,
Charles

Hi Charles,

They are not always at the same place but they are ‘findeable’. You can look at the documentation at root.cern.ch/viewvc/trunk/io/doc/TFile to understand how and where to find the timestamp.

Cheers,
Philippe.