CMS 3D CMS Logo

Classes | Functions | Variables
fftjetlookuptableesproducer_cfi Namespace Reference

Classes

class  ValidFFTJetLUT
 

Functions

def configure_fftjetlut_esproducer (sequenceTag)
 
def configure_fftjetlut_pooldbessource (process, sequenceTag)
 

Variables

 fftjet_lut_types
 

Function Documentation

◆ configure_fftjetlut_esproducer()

def fftjetlookuptableesproducer_cfi.configure_fftjetlut_esproducer (   sequenceTag)

Definition at line 59 of file fftjetlookuptableesproducer_cfi.py.

59 def configure_fftjetlut_esproducer(sequenceTag):
60  #
61  # The ES producer name comes from the C++ plugin registration code
62  esProducer = fftjet_lut_types[sequenceTag].esProducer
63  config = cms.ESProducer(
64  esProducer,
65  tables = cms.VPSet(
66  cms.PSet(
67  name = cms.string('.*'),
68  nameIsRegex = cms.bool(True),
69  category = cms.string('.*'),
70  categoryIsRegex = cms.bool(True)
71  )
72  ),
73  isArchiveCompressed = cms.bool(False),
74  verbose = cms.untracked.bool(False)
75  )
76  return (config, esProducer)
77 
78 #
79 # Procedure for configuring the ES source which fetches
80 # the database record. "process.CondDBCommon" should be
81 # already defined before calling this procedure.
82 #

◆ configure_fftjetlut_pooldbessource()

def fftjetlookuptableesproducer_cfi.configure_fftjetlut_pooldbessource (   process,
  sequenceTag 
)

Definition at line 83 of file fftjetlookuptableesproducer_cfi.py.

83 def configure_fftjetlut_pooldbessource(process, sequenceTag):
84  config = cms.ESSource(
85  "PoolDBESSource",
86  process.CondDBCommon,
87  toGet = cms.VPSet(cms.PSet(
88  record = cms.string(fftjet_lut_types[sequenceTag].dbRecord),
89  tag = cms.string(fftjet_lut_types[sequenceTag].dbTag),
90  ))
91  )
92  sourceName = "FFT" + sequenceTag + "DBESSource"
93  setattr(process, sourceName, config)
94  return

Variable Documentation

◆ fftjet_lut_types

fftjetlookuptableesproducer_cfi.fftjet_lut_types

Definition at line 31 of file fftjetlookuptableesproducer_cfi.py.

fftjetlookuptableesproducer_cfi.configure_fftjetlut_pooldbessource
def configure_fftjetlut_pooldbessource(process, sequenceTag)
Definition: fftjetlookuptableesproducer_cfi.py:83
fftjetlookuptableesproducer_cfi.configure_fftjetlut_esproducer
def configure_fftjetlut_esproducer(sequenceTag)
Definition: fftjetlookuptableesproducer_cfi.py:59