CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
readConfiguration2006_v0_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('EcalTBWeightsRcd'),
7  tag = cms.string('EcalTBWeightsSM')
8  ),
9  cms.PSet(
10  record = cms.string('EcalWeightXtalGroupsRcd'),
11  tag = cms.string('EcalWeightXtalGroupsSM')
12  )),
13  messagelevel = cms.untracked.uint32(1),
14  catalog = cms.untracked.string('file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2006/WEIGHTS/PoolFileCatalog_Default.xml'),
15  timetype = cms.string('runnumber'),
16  connect = cms.string('sqlite_file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2006/WEIGHTS/ecalwgt_Default.db'),
17  authenticationMethod = cms.untracked.uint32(0)
18 )
19 
20 src2 = cms.ESSource("EcalTrivialConditionRetriever",
21  # Values to get correct noise on RecHit amplitude using 3+5 weights
22  EBpedRMSX12 = cms.untracked.double(1.26),
23  weightsForTB = cms.untracked.bool(False),
24  producedEcalPedestals = cms.untracked.bool(True),
25  # If set true reading optimized weights (3+5 weights) from file
26  getWeightsFromFile = cms.untracked.bool(False),
27  producedEcalWeights = cms.untracked.bool(False),
28  EEpedRMSX12 = cms.untracked.double(2.87),
29  producedEcalIntercalibConstants = cms.untracked.bool(True),
30  producedEcalGainRatios = cms.untracked.bool(True),
31  producedEcalADCToGeVConstant = cms.untracked.bool(True)
32 )
33 
34 getCond = cms.EDAnalyzer("EventSetupRecordDataGetter",
35  toGet = cms.VPSet(cms.PSet(
36  record = cms.string('EcalTBWeightsRcd'),
37  data = cms.vstring('EcalTBWeights')
38  ),
39  cms.PSet(
40  record = cms.string('EcalWeightXtalGroupsRcd'),
41  data = cms.vstring('EcalWeightXtalGroups')
42  )),
43  verbose = cms.untracked.bool(True)
44 )
45 
46