1 import FWCore.ParameterSet.Config
as cms
5 A class which contains the info about a valid combination 6 of ES record types and ES producer type for FFTJet lookup tables 10 self.
dbTag =
"FFT" + basename +
"TableDBTag" 11 self.
dbRecord =
"FFT" + basename +
"ParametersRcd" 34 "PileupRhoEtaDependence" :
ValidFFTJetLUT(
"PileupRhoEtaDependence"),
62 esProducer = fftjet_lut_types[sequenceTag].esProducer
63 config = cms.ESProducer(
67 name = cms.string(
'.*'),
68 nameIsRegex = cms.bool(
True),
69 category = cms.string(
'.*'),
70 categoryIsRegex = cms.bool(
True)
73 isArchiveCompressed = cms.bool(
False),
74 verbose = cms.untracked.bool(
False)
76 return (config, esProducer)
84 config = cms.ESSource(
87 toGet = cms.VPSet(cms.PSet(
88 record = cms.string(fftjet_lut_types[sequenceTag].dbRecord),
89 tag = cms.string(fftjet_lut_types[sequenceTag].dbTag),
92 sourceName =
"FFT" + sequenceTag +
"DBESSource" 93 setattr(process, sourceName, config)
def configure_fftjetlut_esproducer(sequenceTag)
def __init__(self, basename)
def configure_fftjetlut_pooldbessource(process, sequenceTag)