Table of Contents

Information an a DST-File

First you need to extract the production ID from the LFN or file-name of your file. In the file-name, the production ID is the number in front of the first _. The file in the LFN below has production ID 22761.

LFN:/lhcb/LHCb/Collision11/CALIBRATION.DST/00022761/0000/00022761_00000037_1.calibration.dst

Once you have the production ID, you can get the related information with

SetupLHCbDirac
dirac-bookkeeping-production-informations <ProdID>

or in our example:

dirac-bookkeeping-production-informations 22761

Especially the path at the end of the print-out is very useful.

Renamed Files

If your DST-file has been renamed, you need to determine the original file-name. Root writes the original file-name into the DST file. You can print it using the following command:

head -1 <dst-file> | strings

(The 1 in -1 is a the digit one, this tells head to print the first line only)

More