CMS 3D CMS Logo

Classes | Functions | Variables

fftjetcorrectionesproducer_cfi Namespace Reference

Classes

class  ValidFFTJetCorr

Functions

def configure_fftjet_pooldbessource
def configure_L2L3_fftjet_esproducer

Variables

dictionary fftjet_corr_types

Function Documentation

def fftjetcorrectionesproducer_cfi::configure_fftjet_pooldbessource (   process,
  sequenceTag 
)

Definition at line 139 of file fftjetcorrectionesproducer_cfi.py.

00140                                                          :
00141     config = cms.ESSource(
00142         "PoolDBESSource",
00143         process.CondDBCommon,
00144         toGet = cms.VPSet(cms.PSet(
00145             record = cms.string(fftjet_corr_types[sequenceTag].dbRecord),
00146             tag = cms.string(fftjet_corr_types[sequenceTag].dbTag),
00147         ))
00148     )
00149     sourceName = "FFT" + sequenceTag + "DBESSource"
00150     setattr(process, sourceName, config)
00151     return
def fftjetcorrectionesproducer_cfi::configure_L2L3_fftjet_esproducer (   sequenceTag,
  tableName,
  tableCategory 
)

Definition at line 105 of file fftjetcorrectionesproducer_cfi.py.

00106                                                                            :
00107     #
00108     # The ES producer name comes from the C++ plugin registration code
00109     esProducer = fftjet_corr_types[sequenceTag].esProducer
00110     config = cms.ESProducer(
00111         esProducer,
00112         sequence = cms.VPSet(
00113             cms.PSet(
00114                 level = cms.uint32(2),
00115                 applyTo = cms.string("DataOrMC"),
00116                 adjuster = cms.PSet(
00117                     Class = cms.string("FFTSimpleScalingAdjuster")
00118                 ),
00119                 scalers = cms.VPSet(
00120                     cms.PSet(
00121                         Class = cms.string("auto"),
00122                         name = cms.string(tableName),
00123                         nameIsRegex = cms.bool(False),
00124                         category = cms.string(tableCategory),
00125                         categoryIsRegex = cms.bool(False)
00126                     )
00127                 )
00128             )
00129         ),
00130         isArchiveCompressed = cms.bool(False),
00131         verbose = cms.untracked.bool(False)
00132     )
00133     return (config, esProducer)
00134 
00135 #
00136 # Procedure for configuring the ES source which fetches
00137 # the database record. "process.CondDBCommon" should be
00138 # already defined before calling this procedure.
#

Variable Documentation

Definition at line 32 of file fftjetcorrectionesproducer_cfi.py.