Skip to content

Commit 360fe22

Browse files
katilptiborsimko
authored andcommitted
docs: add new GTs to condition data documentation
1 parent 3e14f3b commit 360fe22

File tree

1 file changed

+65
-1
lines changed

1 file changed

+65
-1
lines changed

cernopendata/modules/fixtures/data/docs/cms-guide-for-conddb/cms-guide-for-conddb.md

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,24 @@ process.GlobalTag.globaltag = 'FT_R_42_V10A::All'
2929

3030
Note that **this only works in the "CMS-OpenData-1.1.2" version** of the 2010 CMS Open Data VM.
3131

32+
---
33+
34+
**For 2010 Montecarlo data**, the global tag is START42_V17B. To access the condition database, first, set the symbolic links:
35+
36+
```shell
37+
ln -sf /cvmfs/cms-opendata-conddb.cern.ch/START42_V17B START42_V17B
38+
ln -sf /cvmfs/cms-opendata-conddb.cern.ch/START42_V17B.db START42_V17B.db
39+
```
40+
41+
Then, define the correct set of condition data by mentioning the Global Tag in the configuration file of the job.
42+
43+
```shell
44+
#globaltag for 2010 MC
45+
process.GlobalTag.connect = cms.string('sqlite_file:/cvmfs/cms-opendata-conddb.cern.ch/START42_V17B.db')
46+
process.GlobalTag.globaltag = 'START42_V17B::All'
47+
```
48+
49+
Note that **this only works in the "CMS-OpenData-1.1.2" version** of the 2010 CMS Open Data VM.
3250

3351
---
3452

@@ -113,7 +131,9 @@ Note that three sets of condition data for 2011 data are provided:
113131
* FT53_V21A_AN6 valid for the run range of 2012 RunB (public data)
114132
* FT53_V21A_AN6_RUNC valid for the run range of 2012 RunC (public data)
115133

116-
It is convenient to use FT53_V21A_AN6_FULL as instructed above, as you will not need to load RunB and RunC condition data separately. You should use the CMS Open Data VM version CMS-Open-Data-1.3.0.ova with a large enough cache area.
134+
It is convenient to use FT53_V21A_AN6_FULL as instructed above, as you will not need to load RunB and RunC condition data separately. You should use the CMS Open Data VM version CMS-Open-Data-1.3.0.ova which has a large enough cache area.
135+
136+
In addition, condition data for the Global Tag START53_V7N is provided. This was used to produce simulated data with dose-dependent detector characteristics, run-dependent pile-up and beam spot conditions for the Higgs boson discovery analysis. The simulated data produced with this Global Tag can be analysed with the other Global Tag above.
117137

118138
---
119139

@@ -138,4 +158,48 @@ process.GlobalTag.connect = cms.string('sqlite_file:/cvmfs/cms-opendata-conddb.c
138158
process.GlobalTag.globaltag = 'START53_V27::All'
139159
```
140160

161+
---
162+
163+
**For Run2 Montecarlo data**, the global tag is 80X_mcRun2_asymptotic_2016_TrancheIV_v8. To access the condition database, first, set the symbolic links:
141164

165+
```shell
166+
ln -sf /cvmfs/cms-opendata-conddb.cern.ch/80X_mcRun2_asymptotic_2016_TrancheIV_v8.db 80X_mcRun2_asymptotic_2016_TrancheIV_v8.db
167+
```
168+
Make sure the `cms-opendata-conddb.cern.ch` directory has actually expanded in your VM. One way of doing this is executing:
169+
170+
```shell
171+
ls -l
172+
ls -l /cvmfs/
173+
```
174+
175+
Then, define the correct set of condition data by mentioning the Global Tag in the configuration file of the job.
176+
177+
```shell
178+
#globaltag for Run2 MC
179+
process.GlobalTag.connect = cms.string('sqlite_file:/cvmfs/cms-opendata-conddb.cern.ch/80X_mcRun2_asymptotic_2016_TrancheIV_v8.db')
180+
process.GlobalTag.globaltag = '80X_mcRun2_asymptotic_2016_TrancheIV_v8'
181+
process.GlobalTag.snapshotTime = cms.string("9999-12-31 23:59:59.000")
182+
```
183+
184+
---
185+
186+
**For Upgrade Montecarlo data**, the global tag is 102X_upgrade2018_design_v9. To access the condition database, first, set the symbolic links:
187+
188+
```shell
189+
ln -sf /cvmfs/cms-opendata-conddb.cern.ch/102X_upgrade2018_design_v9.db 102X_upgrade2018_design_v9.db
190+
```
191+
Make sure the `cms-opendata-conddb.cern.ch` directory has actually expanded in your VM. One way of doing this is executing:
192+
193+
```shell
194+
ls -l
195+
ls -l /cvmfs/
196+
```
197+
198+
Then, define the correct set of condition data by mentioning the Global Tag in the configuration file of the job.
199+
200+
```shell
201+
#globaltag for upgrade MC
202+
process.GlobalTag.connect = cms.string('sqlite_file:/cvmfs/cms-opendata-conddb.cern.ch/102X_upgrade2018_design_v9.db')
203+
process.GlobalTag.globaltag = '102X_upgrade2018_design_v9'
204+
process.GlobalTag.snapshotTime = cms.string("9999-12-31 23:59:59.000")
205+
```

0 commit comments

Comments
 (0)