This is an old revision of the document!
Data is produced or processed with different database tags. For example if the VELO was open, the database tag needs to specify that.
Look at your datafiles from the bookkeeping: the file names contain the dataset number. For the following datafile the dataset number is 5630.
DATAFILE='LFN:/lhcb/MC/MC09/DST/00005630/0000/00005630_00000001_1.dst
To look up the tags log in to lxplus (you need a Grid Certificate to do this):
SetupProject Dirac dirac-bookkeeping-production-informations <datasetNumber>
for example:
dirac-bookkeeping-production-informations 5630
This produces the output:
Production Info: Configuration Name: MC Configuration Version: MC09 Event type: 30000000 Step0:Gauss-v37r5 Option files: $APPCONFIGOPTS/Gauss/MC09-b450GeV-md100-nu1.py;$APPCONFIGOPTS/Conditions/MC09-20090602-vo-md100.py;$DECFILESROOT/options/30000000.opts;$LBPYTHIAROOT/options/Pythia.opts DDDb: MC09-20090602 ConDDb: sim-20090402-vo-md100 Step1:Boole-v19r7 Option files: $APPCONFIGOPTS/Boole/MC09-WithTruth.py;$APPCONFIGOPTS/Conditions/MC09-20090602-vo-md100.py DDDb: MC09-20090602 ConDDb: sim-20090402-vo-md100 Step2:Brunel-v35r7 Option files: $APPCONFIGOPTS/Brunel/MC09-WithTruth.py;$APPCONFIGOPTS/Conditions/MC09-20090602-vo-md100.py;$APPCONFIGOPTS/Brunel/veloOpen.py DDDb: MC09-20090602 ConDDb: sim-20090402-vo-md100 Step3:LHCb-v28r0 Option files: $STDOPTS/PoolCopy.opts DDDb: MC09-20090602 ConDDb: sim-20090402-vo-md100 Number of Steps 1 Total number of files: 2 LOG:1 DST:1 Number of events [('DST', 53453)] Path: /MC/MC09/Beam450GeV-VeloOpen-MagDown-Nu1/MC09-Brunelv35-withTruth/None /MC/MC09/Beam450GeV-VeloOpen-MagDown-Nu1/MC09-Brunelv35-withTruth/None/DST
Under the different steps you find the DDDb tags and the ConDDb tags, i.e. 'DDDb: MC09-20090602', 'ConDDb: sim-20090402-vo-md100' for the example file.
Insert the following lines to your options file:
from Configurables import CondDB CondDB(UseOracle = True)
DaVinci().CondDBtag = "sim-20090402-vo-md100" DaVinci().DDDBtag = "MC09-20090602"