This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| database:database [2010/05/12 18:15] – nchiap | database:database [2012/05/29 20:13] (current) – [How to find the tag corresponding to a dataset] decianm | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| ===== How to access the database in the options file ===== | ===== How to access the database in the options file ===== | ||
| Do | Do | ||
| - | < | + | < |
| from Configurables import CondDB, CondDBAccessSvc | from Configurables import CondDB, CondDBAccessSvc | ||
| CondDB(UseOracle = False) | CondDB(UseOracle = False) | ||
| Line 22: | Line 22: | ||
| CondDB().addLayer(CondDBAccessSvc(" | CondDB().addLayer(CondDBAccessSvc(" | ||
| </ | </ | ||
| + | |||
| + | ===== How to use the latest tag ===== | ||
| + | Do | ||
| + | <code python> | ||
| + | CondDB().UseLatestTags = [" | ||
| + | </ | ||
| + | if you want to use the latest tag for 2011 data. | ||
| + | For **real data** it should always be safe to use the latest tag (this is **not** the case for MC) | ||
| + | |||
| + | ===== How to find the tag corresponding to a dataset ===== | ||
| + | In the bookkeeping-browser: | ||
| + | |||
| + | ===== Where to find the description of the official tags ===== | ||
| + | Here: http:// | ||