CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hcalCalibrationsMTCC2_orcon_cfi.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # not used in reconstruction
4 
5 import FWCore.ParameterSet.Config as cms
6 
7 # for this to work need the following:
8 # setenv POOL_CATALOG relationalcatalog_oracle://orcon/CMS_COND_GENERAL
9 # setenv CORAL_AUTH_PATH /afs/cern.ch/cms/DB/conddb
10 hcal_db_producer = cms.ESProducer("HcalDbProducer")
11 
12 es_pool = cms.ESSource("PoolDBESSource",
13  timetype = cms.string('runnumber'),
14  toGet = cms.VPSet(cms.PSet(
15  record = cms.string('HcalPedestalsRcd'),
16  tag = cms.string('pedestals_mtcc2_v1')
17  ),
18  cms.PSet(
19  record = cms.string('HcalGainsRcd'),
20  tag = cms.string('hcal_gains_hardcoded_v1')
21  ),
22  cms.PSet(
23  record = cms.string('HcalQIEDataRcd'),
24  tag = cms.string('hcal_qie_hardcoded_v1')
25  ),
26  cms.PSet(
27  record = cms.string('HcalElectronicsMapRcd'),
28  tag = cms.string('emap_mtcc2_v3')
29  ),
30  cms.PSet(
31  record = cms.string('HcalPedestalWidthsRcd'),
32  tag = cms.string('hcal_pwidths_hardcoded_v1')
33  ),
34  cms.PSet(
35  record = cms.string('HcalGainWidthsRcd'),
36  tag = cms.string('hcal_gwidths_hardcoded_v1')
37  )),
38  connect = cms.string('oracle://orcon/CMS_COND_HCAL'), ##orcon/CMS_COND_HCAL"
39 
40  authenticationMethod = cms.untracked.uint32(1)
41 )
42 
43 es_hardcode = cms.ESSource("HcalHardcodeCalibrations",
44  toGet = cms.untracked.vstring('channelQuality')
45 )
46 
47