Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 src1 = cms.ESSource("PoolDBESSource",
0004     loadAll = cms.bool(True),
0005     toGet = cms.VPSet(cms.PSet(
0006         record = cms.string('EcalTBWeightsRcd'),
0007         tag = cms.string('EcalTBWeightsSM')
0008     ), 
0009         cms.PSet(
0010             record = cms.string('EcalWeightXtalGroupsRcd'),
0011             tag = cms.string('EcalWeightXtalGroupsSM')
0012         )),
0013     messagelevel = cms.untracked.uint32(1),
0014     catalog = cms.untracked.string('file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2006/WEIGHTS/PoolFileCatalog_Default.xml'),
0015     timetype = cms.string('runnumber'),
0016     connect = cms.string('sqlite_file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2006/WEIGHTS/ecalwgt_Default.db'),
0017     authenticationMethod = cms.untracked.uint32(0)
0018 )
0019 
0020 src2 = cms.ESSource("EcalTrivialConditionRetriever",
0021     #       Values to get correct noise on RecHit amplitude using 3+5 weights
0022     EBpedRMSX12 = cms.untracked.double(1.26),
0023     weightsForTB = cms.untracked.bool(False),
0024     producedEcalPedestals = cms.untracked.bool(True),
0025     #       If set true reading optimized weights (3+5 weights) from file 
0026     getWeightsFromFile = cms.untracked.bool(False),
0027     producedEcalWeights = cms.untracked.bool(False),
0028     EEpedRMSX12 = cms.untracked.double(2.87),
0029     producedEcalIntercalibConstants = cms.untracked.bool(True),
0030     producedEcalGainRatios = cms.untracked.bool(True),
0031     producedEcalADCToGeVConstant = cms.untracked.bool(True)
0032 )
0033 
0034 getCond = cms.EDAnalyzer("EventSetupRecordDataGetter",
0035     toGet = cms.VPSet(cms.PSet(
0036         record = cms.string('EcalTBWeightsRcd'),
0037         data = cms.vstring('EcalTBWeights')
0038     ), 
0039         cms.PSet(
0040             record = cms.string('EcalWeightXtalGroupsRcd'),
0041             data = cms.vstring('EcalWeightXtalGroups')
0042         )),
0043     verbose = cms.untracked.bool(True)
0044 )
0045 
0046