CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
fftjetlookuptableesproducer_cfi Namespace Reference

Classes

class  ValidFFTJetLUT
 

Functions

def configure_fftjetlut_esproducer
 
def configure_fftjetlut_pooldbessource
 

Variables

dictionary fftjet_lut_types
 

Function Documentation

def fftjetlookuptableesproducer_cfi.configure_fftjetlut_esproducer (   sequenceTag)

Definition at line 59 of file fftjetlookuptableesproducer_cfi.py.

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

Definition at line 83 of file fftjetlookuptableesproducer_cfi.py.

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

Variable Documentation

dictionary fftjetlookuptableesproducer_cfi.fftjet_lut_types
Initial value:
1 = {
2  "EtaFlatteningFactors" : ValidFFTJetLUT("EtaFlatteningFactors"),
3  "PileupRhoCalibration" : ValidFFTJetLUT("PileupRhoCalibration"),
4  "PileupRhoEtaDependence" : ValidFFTJetLUT("PileupRhoEtaDependence"),
5  "LUT0" : ValidFFTJetLUT("LUT0"),
6  "LUT1" : ValidFFTJetLUT("LUT1"),
7  "LUT2" : ValidFFTJetLUT("LUT2"),
8  "LUT3" : ValidFFTJetLUT("LUT3"),
9  "LUT4" : ValidFFTJetLUT("LUT4"),
10  "LUT5" : ValidFFTJetLUT("LUT5"),
11  "LUT6" : ValidFFTJetLUT("LUT6"),
12  "LUT7" : ValidFFTJetLUT("LUT7"),
13  "LUT8" : ValidFFTJetLUT("LUT8"),
14  "LUT9" : ValidFFTJetLUT("LUT9"),
15  "LUT10" : ValidFFTJetLUT("LUT10"),
16  "LUT11" : ValidFFTJetLUT("LUT11"),
17  "LUT12" : ValidFFTJetLUT("LUT12"),
18  "LUT13" : ValidFFTJetLUT("LUT13"),
19  "LUT14" : ValidFFTJetLUT("LUT14"),
20  "LUT15" : ValidFFTJetLUT("LUT15")
21 }

Definition at line 31 of file fftjetlookuptableesproducer_cfi.py.