This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
davinci:dbtags [2010/01/05 11:54] – decianm | davinci:dbtags [2012/04/26 14:48] (current) – [Find the correct tags for your data] nchiap | ||
---|---|---|---|
Line 10: | Line 10: | ||
To look up the tags log in to lxplus (you need a Grid Certificate to do this): | To look up the tags log in to lxplus (you need a Grid Certificate to do this): | ||
< | < | ||
- | SetupProject | + | SetupProject |
dirac-bookkeeping-production-informations < | dirac-bookkeeping-production-informations < | ||
</ | </ | ||
Line 50: | Line 50: | ||
Under the different steps you find the DDDb tags and the ConDDb tags, i.e. 'DDDb: MC09-20090602', | Under the different steps you find the DDDb tags and the ConDDb tags, i.e. 'DDDb: MC09-20090602', | ||
+ | |||
+ | === What if the tag returned is None? === | ||
+ | It can happen, that the info reported by '' | ||
+ | lists '' | ||
+ | < | ||
+ | Production Info: | ||
+ | Configuration Name: MC | ||
+ | Configuration Version: MC11a | ||
+ | Event type: 11144103 | ||
+ | ----------------------- | ||
+ | | ||
+ | ApplicationName | ||
+ | ApplicationVersion : v33r1 | ||
+ | OptionFiles | ||
+ | DDB : None | ||
+ | CONDDB | ||
+ | ExtraPackages | ||
+ | ----------------------- | ||
+ | </ | ||
+ | |||
+ | In this case the production information got lost while merging. | ||
+ | You can have a look at the database tags used for the merge job and hope they where correct | ||
+ | < | ||
+ | SetupGauss | ||
+ | cat $GAUSSROOT/ | ||
+ | </ | ||
===== Implement the tags in your options file ===== | ===== Implement the tags in your options file ===== | ||
When using real data, you need a DDDB tag (DDDB) and a CondDB (LHCBCOND) tag. | When using real data, you need a DDDB tag (DDDB) and a CondDB (LHCBCOND) tag. | ||
Line 69: | Line 95: | ||
CondDB(UseOracle = True) | CondDB(UseOracle = True) | ||
</ | </ | ||
+ | |||
+ | ===== Using dictionaries ===== | ||
+ | You can find a file including dictionaries of all yet known (and at least often used) tags under: "/ | ||
+ | which can be imported to be used in a python script. | ||
+ | The base file is located under "/ | ||
===== Check if the correct tags were used in your job ===== | ===== Check if the correct tags were used in your job ===== | ||
Line 81: | Line 112: | ||
===== Where to find information about global tags ===== | ===== Where to find information about global tags ===== | ||
Follow this link: http:// | Follow this link: http:// | ||
+ | |||
+ | ===== More ===== | ||
+ | [[https:// |