This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
database:database [2010/05/04 16:14] – created decianm | database:database [2012/05/29 20:13] (current) – [How to find the tag corresponding to a dataset] decianm | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Databases ====== | ====== Databases ====== | ||
- | ===== How to make a snapshop | + | ===== How to make a snapshot |
On lxplus, do: | On lxplus, do: | ||
Line 13: | Line 13: | ||
</ | </ | ||
where yyyy-mm-dd is the date in year-month-day which it should cover. | where yyyy-mm-dd is the date in year-month-day which it should cover. | ||
+ | |||
+ | ===== How to access the database in the options file ===== | ||
+ | Do | ||
+ | <code python> | ||
+ | from Configurables import CondDB, CondDBAccessSvc | ||
+ | CondDB(UseOracle = False) | ||
+ | connection=" | ||
+ | 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:// |