CMS 3D CMS Logo

readCalibrations2004_v2_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 src1 = cms.ESSource("PoolDBESSource",
4  loadAll = cms.bool(True),
5  toGet = cms.VPSet(cms.PSet(
6  record = cms.string('EcalIntercalibConstantsRcd'),
7  tag = cms.string('EcalIntercalibConstants')
8  ),
9  cms.PSet(
10  record = cms.string('EcalADCToGeVConstantRcd'),
11  tag = cms.string('EcalADCToGeVConstant')
12  )),
13  messagelevel = cms.untracked.uint32(1),
14  catalog = cms.untracked.string('file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2004/v2/PoolFileCatalog.xml'),
15  timetype = cms.string('runnumber'),
16  connect = cms.string('sqlite_file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2004/v2/ecal2004condDB.db'),
17  authenticationMethod = cms.untracked.uint32(0)
18 )
19 
20 getCalibrations = cms.EDAnalyzer("EventSetupRecordDataGetter",
21  toGet = cms.VPSet(cms.PSet(
22  record = cms.string('EcalIntercalibConstantsRcd'),
23  data = cms.vstring('EcalIntercalibConstants')
24  ),
25  cms.PSet(
26  record = cms.string('EcalADCToGeVConstantRcd'),
27  data = cms.vstring('EcalADCToGeVConstant')
28  )),
29  verbose = cms.untracked.bool(True)
30 )
31 
32